summaryrefslogtreecommitdiff
path: root/addons/product/security
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2015-06-22 11:46:12 +0200
committerYannick Tivisse <yti@odoo.com>2015-07-17 16:22:27 +0200
commit3befe66f432d02178512ba52c6d9fdfc314e9ff9 (patch)
tree059909344ea1e49ecfce296bd3b5e62047f3cb34 /addons/product/security
parente9ad290221c6e9445fddebfade0e8ca9bc528aec (diff)
[IMP] product : Improve variant usability
- Add an option in the General Settings : Use product variant. - If this option is disabled : don't show any reference to variants - When going on the product template view, and clinking on the stat button under the tab Variants, the form view should display only the information related to the variant - Fields moves from product_template to product_product : weight, volume, cost price, - DO NOT display these fields on the product_template if there are more than 1 variants. - In product variant view, set some fields readonly and add a link to edit it from Template.
Diffstat (limited to 'addons/product/security')
-rw-r--r--addons/product/security/product_security.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/product/security/product_security.xml b/addons/product/security/product_security.xml
index 9b002e90558..5f9fd770aa3 100644
--- a/addons/product/security/product_security.xml
+++ b/addons/product/security/product_security.xml
@@ -32,6 +32,11 @@
<field name="category_id" ref="base.module_category_hidden"/>
</record>
+ <record id="group_product_variant" model="res.groups">
+ <field name="name">Manage Product Variants</field>
+ <field name="category_id" ref="base.module_category_hidden"/>
+ </record>
+
</data>
<data noupdate="1">