123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <?xml version="1.0"?>
- <openerp>
- <data>
- <record id="account_invoice_form_view" model="ir.ui.view">
- <field name="name">fields_security.account.invoice.form</field>
- <field name="model">account.invoice</field>
- <field name="inherit_id" ref="account.invoice_form"/>
- <field name="groups_id" eval="[(6, 0, [ref('group_restrict_fields')])]"/>
- <field name="arch" type="xml">
- <button name="action_invoice_sent" position="attributes">
- <attribute name="invisible">1</attribute>
- </button>
- <field name="fiscal_position" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- <field name="account_id" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- <field name="partner_bank_id" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- <field name="move_id" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- <field name="period_id" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- <field name="tax_line" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- </field>
- </record>
- <record id="account_invoice_supplier_form_view" model="ir.ui.view">
- <field name="name">fields_security.account.invoice.supplier.form</field>
- <field name="model">account.invoice</field>
- <field name="inherit_id" ref="account.invoice_supplier_form"/>
- <field name="groups_id" eval="[(6, 0, [ref('group_restrict_fields')])]"/>
- <field name="arch" type="xml">
- <field name="fiscal_position" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- <field name="reference_type" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- <field name="date_due" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- <field name="account_id" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- <field name="partner_bank_id" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- <field name="move_id" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- <field name="period_id" position="attributes">
- <attribute name="invisible">1</attribute>
- </field>
- </field>
- </record>
- </data>
- </openerp>
|