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>
|
2014-05-27 07:42:52 +00:00
|
|
|
<record id="product_template_form_view" model="ir.ui.view">
|
|
|
|
<field name="name">product.template.form.inherit</field>
|
|
|
|
<field name="model">product.template</field>
|
2012-11-27 17:31:27 +00:00
|
|
|
<field name="priority">5</field>
|
2014-05-27 07:42:52 +00:00
|
|
|
<field name="inherit_id" ref="product.product_template_form_view"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
<field name="arch" type="xml">
|
2014-05-27 07:42:52 +00:00
|
|
|
<page string="Sales" position="after">
|
2012-11-23 11:34:10 +00:00
|
|
|
<page string="Accounting" groups="account.group_account_invoice">
|
2014-05-27 07:42:52 +00:00
|
|
|
<group>
|
|
|
|
<label for="categ_id" string="Internal Category"/>
|
|
|
|
<div><field name="categ_id" colspan="3" nolabel="1"/></div>
|
|
|
|
</group>
|
2012-06-13 09:06:57 +00:00
|
|
|
<group name="properties">
|
|
|
|
<group>
|
2014-01-22 09:58:26 +00:00
|
|
|
<field name="property_account_income" domain="[('type','=','other')]" groups="account.group_account_user"
|
2014-05-27 07:42:52 +00:00
|
|
|
attrs="{'readonly': [('is_product_variant', '=', True)]}"/>
|
2014-01-22 09:58:26 +00:00
|
|
|
<field name="taxes_id" colspan="2" widget="many2many_tags"
|
2014-07-23 13:37:15 +00:00
|
|
|
attrs="{'readonly':[('sale_ok','=',0)]}"/>
|
2012-06-13 09:06:57 +00:00
|
|
|
</group>
|
|
|
|
<group>
|
2014-01-22 09:58:26 +00:00
|
|
|
<field name="property_account_expense" domain="[('type','=','other')]" groups="account.group_account_user"
|
2014-05-27 07:42:52 +00:00
|
|
|
attrs="{'readonly': [('is_product_variant', '=', True)]}"/>
|
2014-01-22 09:58:26 +00:00
|
|
|
<field name="supplier_taxes_id" colspan="2" widget="many2many_tags"
|
2014-05-27 07:42:52 +00:00
|
|
|
attrs="{'readonly': [('is_product_variant', '=', True)]}"/>
|
2012-06-13 09:06:57 +00:00
|
|
|
</group>
|
|
|
|
</group>
|
2008-08-24 23:23:45 +00:00
|
|
|
</page>
|
2014-05-27 07:42:52 +00:00
|
|
|
</page>
|
2008-06-29 08:26:07 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
2008-08-19 19:26:29 +00:00
|
|
|
|
2014-05-27 07:42:52 +00:00
|
|
|
<record id="product_template_search_view" model="ir.ui.view">
|
|
|
|
<field name="name">product.template.search</field>
|
2008-06-29 08:26:07 +00:00
|
|
|
<field name="model">product.template</field>
|
2014-05-27 07:42:52 +00:00
|
|
|
<field name="mode">primary</field>
|
|
|
|
<field name="inherit_id" ref="product.product_template_search_view"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
<field name="arch" type="xml">
|
2014-05-27 07:42:52 +00:00
|
|
|
<field name="product_variant_ids" position="after">
|
|
|
|
<field name="categ_id"/>
|
|
|
|
</field>
|
|
|
|
<xpath expr="//group[@string='Group by...']" position="inside">
|
|
|
|
<filter string='Category' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'categ_id'}"/>
|
|
|
|
</xpath>
|
|
|
|
</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="inherit_id" ref="product.product_category_form_view"/>
|
|
|
|
<field name="arch" type="xml">
|
2012-06-22 05:55:24 +00:00
|
|
|
<data>
|
2012-10-18 07:24:56 +00:00
|
|
|
<xpath expr="//group[@name='parent']" position="inside">
|
|
|
|
<group name="account_property" string="Account Properties" colspan="2">
|
|
|
|
<field name="property_account_income_categ" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
|
|
|
|
<field name="property_account_expense_categ" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
|
|
|
|
</group>
|
2012-06-22 05:55:24 +00:00
|
|
|
</xpath>
|
|
|
|
</data>
|
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>
|