summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKuldeep Joshi (OpenERP) <kjo@tinyerp.com>2012-06-26 13:06:30 +0530
committerKuldeep Joshi (OpenERP) <kjo@tinyerp.com>2012-06-26 13:06:30 +0530
commit44f5e6bebd72438d5d6589e899bb8bca90a25bbc (patch)
treeb2a099e2a2acec71d7b05ca95a709fd7947a1fa0
parent838e7465b6878dc9ca4a805f329e595dc368e58d (diff)
[IMP]product category view change
bzr revid: kjo@tinyerp.com-20120626073630-z63hfd8s1jadp9gs
-rw-r--r--addons/account/product_view.xml4
-rw-r--r--addons/product/product_view.xml2
-rw-r--r--addons/stock/product_view.xml4
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','&lt;&gt;','view'),('type','&lt;&gt;','consolidation')]"/>
<field name="property_account_expense_categ" domain="[('type','&lt;&gt;','view'),('type','&lt;&gt;','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','&lt;&gt;','view'),('type','&lt;&gt;','consolidation')]"/>
<field name="property_stock_account_output_categ" domain="[('type','&lt;&gt;','view'),('type','&lt;&gt;','consolidation')]"/>
<field name="property_stock_valuation_account_id" domain="[('type','&lt;&gt;','view'), ('type','&lt;&gt;','consolidation')]"/>
<field name="property_stock_journal"/>
</group>
- </form>
+ </xpath>
</field>
</record>