12345678910111213141516171819202122232425262728 |
- <?xml version="1.0"?>
- <openerp>
- <data>
- <record id="account_analytic_account_form_inherit" model="ir.ui.view">
- <field name="name">account.analytic.account.form.inherit</field>
- <field name="model">stock.location</field>
- <field name="inherit_id" ref="stock.view_location_form"/>
- <field name="arch" type="xml">
- <field name="partner_id" position="after">
- <field name="account_analytic_account_id" domain="[('partner_id','=',partner_id)]"/>
- </field>
- </field>
- </record>
- <record id="account_analytic_account_invoice_form_inherit" model="ir.ui.view">
- <field name="name">account.analytic.account.invoice.form.inherit</field>
- <field name="model">account.invoice</field>
- <field name="inherit_id" ref="account.invoice_supplier_form"/>
- <field name="arch" type="xml">
- <field name="period_id" position="after">
- <field name="account_analytic_account_id" domain="[('partner_id','=',partner_id)]"/>
- </field>
- </field>
- </record>
- </data>
- </openerp>
|