[IMP] Stock: add new field in res_config.py and put Product Variant group from Usability to Hidden in user form
bzr revid: jap@tinyerp.com-20120426091817-otqj1iwr2g752jzh
This commit is contained in:
parent
a135f20c3a
commit
a0a009beed
|
@ -11,7 +11,7 @@
|
|||
|
||||
<record id="group_product_variant" model="res.groups">
|
||||
<field name="name">Product Variant</field>
|
||||
<field name="category_id" ref="base.module_category_usability"/>
|
||||
<field name="category_id" ref="base.module_category_hidden"/>
|
||||
</record>
|
||||
|
||||
<record id="group_sale_pricelist" model="res.groups">
|
||||
|
|
|
@ -76,6 +76,9 @@ class stock_config_settings(osv.osv_memory):
|
|||
implied_group='stock.group_locations',
|
||||
help="""This allows to configure and use multiple stock locations and warehouses,
|
||||
instead of having a single default one."""),
|
||||
'group_product_variant': fields.boolean("Product Variant",
|
||||
implied_group='product.group_product_variant',
|
||||
help="""This allows to configure and use Product Variant."""),
|
||||
}
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
<field name="group_stock_inventory_valuation"/>
|
||||
<field name="group_uom"/>
|
||||
<field name="group_uos"/>
|
||||
|
||||
<field name="group_product_variant"/>
|
||||
<separator string="Partners" colspan="4"/>
|
||||
<field name="module_claim_from_delivery"/>
|
||||
</sheet>
|
||||
|
|
Loading…
Reference in New Issue