|
@@ -0,0 +1,86 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<openerp>
|
|
|
+ <data>
|
|
|
+ <record model="ir.ui.view" id="account_invoice_view_modify">
|
|
|
+ <field name="name">account.invoice.view.modify</field>
|
|
|
+ <field name="model">account.invoice</field>
|
|
|
+ <field name="inherit_id" ref="account.invoice_form"/>
|
|
|
+ <field name="arch" type="xml">
|
|
|
+ <data>
|
|
|
+ <xpath expr="//group[@class='oe_subtotal_footer oe_right']/div" position="attributes">
|
|
|
+ <attribute name="invisible">True</attribute>
|
|
|
+ </xpath>
|
|
|
+
|
|
|
+ <xpath expr="//group[@class='oe_subtotal_footer oe_right']/field[@name='amount_tax']" position="attributes">
|
|
|
+ <attribute name="invisible">True</attribute>
|
|
|
+ </xpath>
|
|
|
+
|
|
|
+ <xpath expr="//notebook/page/field[@name='invoice_line']/tree/field[@name='invoice_line_tax_id']" position="attributes">
|
|
|
+ <attribute name="invisible">True</attribute>
|
|
|
+ </xpath>
|
|
|
+
|
|
|
+ <xpath expr="//notebook/page/field[@name='tax_line']" position="attributes">
|
|
|
+ <attribute name="invisible">True</attribute>
|
|
|
+ </xpath>
|
|
|
+ </data>
|
|
|
+ </field>
|
|
|
+ </record>
|
|
|
+
|
|
|
+ <record model="ir.ui.view" id="account_invoice_view_inherit_1">
|
|
|
+ <field name="name">account.invoice.view.inherit1</field>
|
|
|
+ <field name="model">account.voucher</field>
|
|
|
+ <field name="inherit_id" ref="account_voucher.view_sale_receipt_form"/>
|
|
|
+ <field name="arch" type="xml">
|
|
|
+ <data>
|
|
|
+ <xpath expr="//group[@class='oe_subtotal_footer oe_right']/field[@name='tax_id']" position="attributes">
|
|
|
+ <attribute name="invisible">1</attribute>
|
|
|
+ </xpath>
|
|
|
+ <xpath expr="//field[@name='tax_amount']" position="attributes">
|
|
|
+ <attribute name="invisible">1</attribute>
|
|
|
+ </xpath>
|
|
|
+ </data>
|
|
|
+ </field>
|
|
|
+ </record>
|
|
|
+
|
|
|
+ <record model="ir.ui.view" id="account_invoice_supplier">
|
|
|
+ <field name="name">account.invoice.supplier</field>
|
|
|
+ <field name="model">account.invoice</field>
|
|
|
+ <field name="inherit_id" ref="account.invoice_supplier_form"/>
|
|
|
+ <field name="arch" type="xml">
|
|
|
+ <data>
|
|
|
+ <xpath expr="//group[@class='oe_subtotal_footer oe_right']/div" position="attributes">
|
|
|
+ <attribute name="invisible">1</attribute>
|
|
|
+ </xpath>
|
|
|
+
|
|
|
+ <xpath expr="//group[@class='oe_subtotal_footer oe_right']/field[@name='amount_tax']" position="attributes">
|
|
|
+ <attribute name="invisible">1</attribute>
|
|
|
+ </xpath>
|
|
|
+
|
|
|
+ <xpath expr="//notebook/page/field[@name='invoice_line']/tree/field[@name='invoice_line_tax_id']" position="attributes">
|
|
|
+ <attribute name="invisible">1</attribute>
|
|
|
+ </xpath>
|
|
|
+
|
|
|
+ <xpath expr="//notebook/page/div/field[@name='tax_line']" position="attributes">
|
|
|
+ <attribute name="invisible">1</attribute>
|
|
|
+ </xpath>
|
|
|
+ </data>
|
|
|
+ </field>
|
|
|
+ </record>
|
|
|
+
|
|
|
+ <record model="ir.ui.view" id="account_purchase_receipt">
|
|
|
+ <field name="name">account.purchase.receipt</field>
|
|
|
+ <field name="model">account.voucher</field>
|
|
|
+ <field name="inherit_id" ref="account_voucher.view_purchase_receipt_form"/>
|
|
|
+ <field name="arch" type="xml">
|
|
|
+ <data>
|
|
|
+ <xpath expr="//group[@class='oe_subtotal_footer oe_right']/field[@name='tax_id']" position="attributes">
|
|
|
+ <attribute name="invisible">1</attribute>
|
|
|
+ </xpath>
|
|
|
+ <xpath expr="//field[@name='tax_amount']" position="attributes">
|
|
|
+ <attribute name="invisible">1</attribute>
|
|
|
+ </xpath>
|
|
|
+ </data>
|
|
|
+ </field>
|
|
|
+ </record>
|
|
|
+ </data>
|
|
|
+</openerp>
|