123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <record model="ir.ui.view" id="dikasa_invoice_form">
- <field name="name">dikasa_invoice_form</field>
- <field name="model">account.invoice</field>
- <field name="inherit_id" ref="account.invoice_form"/>
- <field name="arch" type="xml">
- <field name="partner_id" position="replace">
- <field name="partner_id" domain="[('customer','=',True)]" options='{"always_reload": True}'/>
- </field>
- <field name="partner_id" position="after">
- <field name="street"/>
- <field name="state_id"/>
- <field name="country_id"/>
- <field name="email"/>
- <field name="phone"/>
- <field name="mobile"/>
- <field name="credit_limit"/>
- </field>
- <field name="user_id" position="attributes">
- <attribute name="string">Vendedor</attribute>
- </field>
- <field name="user_id" position="after">
- <field name="create_uid" readonly="1"/>
- </field>
- </field>
- </record>
- <record model="ir.ui.view" id="dikasa_invoice_supplier_form">
- <field name="name">dikasa_invoice_supplier_form</field>
- <field name="model">account.invoice</field>
- <field name="inherit_id" ref="account.invoice_supplier_form"/>
- <field name="arch" type="xml">
- <field name="partner_id" position="replace">
- <field name="partner_id" domain="[('supplier','=',True)]" options='{"always_reload": True}'/>
- </field>
- <field name="partner_id" position="after">
- <field name="street"/>
- <field name="state_id"/>
- <field name="country_id"/>
- <field name="email"/>
- <field name="phone"/>
- <field name="mobile"/>
- </field>
- <field name="user_id" position="attributes">
- <attribute name="string">Vendedor</attribute>
- </field>
- <field name="user_id" position="after">
- <field name="create_uid" readonly="1"/>
- </field>
- </field>
- </record>
- </data>
- </openerp>
|