diff options
| author | Kuldeep Joshi (OpenERP) <kjo@tinyerp.com> | 2012-06-26 13:06:30 +0530 |
|---|---|---|
| committer | Kuldeep Joshi (OpenERP) <kjo@tinyerp.com> | 2012-06-26 13:06:30 +0530 |
| commit | 44f5e6bebd72438d5d6589e899bb8bca90a25bbc (patch) | |
| tree | b2a099e2a2acec71d7b05ca95a709fd7947a1fa0 | |
| parent | 838e7465b6878dc9ca4a805f329e595dc368e58d (diff) | |
[IMP]product category view change
bzr revid: kjo@tinyerp.com-20120626073630-z63hfd8s1jadp9gs
| -rw-r--r-- | addons/account/product_view.xml | 4 | ||||
| -rw-r--r-- | addons/product/product_view.xml | 2 | ||||
| -rw-r--r-- | addons/stock/product_view.xml | 4 |
3 files changed, 6 insertions, 4 deletions
diff --git a/addons/account/product_view.xml b/addons/account/product_view.xml index 73bf64893ba..d9da9445f26 100644 --- a/addons/account/product_view.xml +++ b/addons/account/product_view.xml @@ -51,12 +51,12 @@ <field name="type">form</field> <field name="inherit_id" ref="product.product_category_form_view"/> <field name="arch" type="xml"> - <form position="inside"> + <xpath expr="//group[@name='Accounting']" position="inside"> <group string="Accounting Properties"> <field name="property_account_income_categ" domain="[('type','<>','view'),('type','<>','consolidation')]"/> <field name="property_account_expense_categ" domain="[('type','<>','view'),('type','<>','consolidation')]"/> </group> - </form> + </xpath> </field> </record> diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index 2c3ae1e38da..62a0c5eaca2 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -316,6 +316,8 @@ <field name="sequence" invisible="1"/> <field name="type"/> </group> + <group name="Accounting"> + </group> </form> </field> </record> diff --git a/addons/stock/product_view.xml b/addons/stock/product_view.xml index 09fa784e56a..c1fd8001bde 100644 --- a/addons/stock/product_view.xml +++ b/addons/stock/product_view.xml @@ -21,14 +21,14 @@ <field name="type">form</field> <field name="inherit_id" ref="product.product_category_form_view"/> <field name="arch" type="xml"> - <form position="inside" version="7.0"> + <xpath expr="//group[@name='Accounting']" position="inside"> <group string="Accounting Stock Properties"> <field name="property_stock_account_input_categ" domain="[('type','<>','view'),('type','<>','consolidation')]"/> <field name="property_stock_account_output_categ" domain="[('type','<>','view'),('type','<>','consolidation')]"/> <field name="property_stock_valuation_account_id" domain="[('type','<>','view'), ('type','<>','consolidation')]"/> <field name="property_stock_journal"/> </group> - </form> + </xpath> </field> </record> |
