2008-07-01 15:58:58 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2008-09-10 17:56:00 +00:00
|
|
|
<openerp>
|
2008-06-29 08:26:07 +00:00
|
|
|
<data>
|
2008-07-01 15:58:58 +00:00
|
|
|
<record id="product_normal_form_view" model="ir.ui.view">
|
2008-06-29 08:26:07 +00:00
|
|
|
<field name="name">product.normal.form.inherit</field>
|
|
|
|
<field name="model">product.product</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="inherit_id" ref="product.product_normal_form_view"/>
|
|
|
|
<field name="arch" type="xml">
|
2008-08-24 23:23:45 +00:00
|
|
|
<notebook position="inside">
|
|
|
|
<page string="Accounting">
|
2012-04-25 13:40:18 +00:00
|
|
|
<group name="properties">
|
2010-04-15 08:59:04 +00:00
|
|
|
<separator string="Sales Properties" colspan="2"/>
|
|
|
|
<separator string="Purchase Properties" colspan="2"/>
|
2012-04-25 13:40:18 +00:00
|
|
|
<field name="property_account_income" domain="[('type','<>','view'),('type','<>','consolidation')]" attrs="{'readonly':[('sale_ok','=',0)]}"/>
|
|
|
|
<field name="property_account_expense" domain="[('type','<>','view'),('type','<>','consolidation')]" attrs="{'readonly':[('purchase_ok','=',0)]}"/>
|
2012-06-04 21:41:18 +00:00
|
|
|
</group>
|
|
|
|
<newline/>
|
|
|
|
<group colspan="2">
|
2008-08-24 23:23:45 +00:00
|
|
|
<separator string="Sale Taxes" colspan="2"/>
|
|
|
|
<separator string="Purchase Taxes" colspan="2"/>
|
2009-01-13 08:41:54 +00:00
|
|
|
<field name="taxes_id" nolabel="1" colspan="2" attrs="{'readonly':[('sale_ok','=',0)]}"/>
|
|
|
|
<field name="supplier_taxes_id" nolabel="1" colspan="2" attrs="{'readonly':[('purchase_ok','=',0)]}"/>
|
2010-08-30 10:51:18 +00:00
|
|
|
</group>
|
2008-08-24 23:23:45 +00:00
|
|
|
</page>
|
|
|
|
</notebook>
|
2008-06-29 08:26:07 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
2008-08-19 19:26:29 +00:00
|
|
|
|
2008-07-01 15:58:58 +00:00
|
|
|
<record id="product_template_form_view" model="ir.ui.view">
|
2008-06-29 08:26:07 +00:00
|
|
|
<field name="name">product.template.product.form.inherit</field>
|
|
|
|
<field name="model">product.template</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="inherit_id" ref="product.product_template_form_view"/>
|
|
|
|
<field name="arch" type="xml">
|
2008-08-24 23:23:45 +00:00
|
|
|
<notebook position="inside">
|
|
|
|
<page string="Accounting">
|
2008-09-16 10:37:53 +00:00
|
|
|
<separator string="Sales Properties" colspan="2"/>
|
2009-01-27 11:15:46 +00:00
|
|
|
<separator string="Purchase Properties" colspan="2"/>
|
2009-02-26 07:53:04 +00:00
|
|
|
<field name="property_account_income" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
|
|
|
|
<field name="property_account_expense" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
|
2008-08-24 23:23:45 +00:00
|
|
|
<field name="taxes_id"/>
|
2010-06-22 07:26:35 +00:00
|
|
|
<field name="supplier_taxes_id"/>
|
2008-08-24 23:23:45 +00:00
|
|
|
</page>
|
|
|
|
</notebook>
|
|
|
|
</field>
|
2008-06-29 08:26:07 +00:00
|
|
|
</record>
|
2008-08-19 19:26:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<record id="view_category_property_form" model="ir.ui.view">
|
|
|
|
<field name="name">product.category.property.form.inherit</field>
|
|
|
|
<field name="model">product.category</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="inherit_id" ref="product.product_category_form_view"/>
|
|
|
|
<field name="arch" type="xml">
|
2008-08-25 22:20:48 +00:00
|
|
|
<form position="inside">
|
2012-06-04 21:41:18 +00:00
|
|
|
<group string="Accounting Properties">
|
2009-02-26 07:53:04 +00:00
|
|
|
<field name="property_account_income_categ" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
|
|
|
|
<field name="property_account_expense_categ" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
|
2008-08-25 22:20:48 +00:00
|
|
|
</group>
|
|
|
|
</form>
|
2008-08-19 19:26:29 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2008-06-29 08:26:07 +00:00
|
|
|
</data>
|
2008-09-10 17:56:00 +00:00
|
|
|
</openerp>
|