[FIX] product, stock: set active field in default product view, instead of inherited view of stock module
The active field was placed in the Delays section, which does not make sense Besides, we should be able to disable products by default, not when stock is installed. bzr revid: dle@openerp.com-20140408180920-jpl50ups6ro1z4qp
This commit is contained in:
@@ -118,6 +118,7 @@
|
||||
</div>
|
||||
<field name="company_id" groups="base.group_multi_company" widget="selection"
|
||||
attrs="{'invisible': [('is_only_child', '=', False)]}"/>
|
||||
<field name="active" />
|
||||
</group>
|
||||
</group>
|
||||
<field name="description" placeholder="describe the product characteristics..."
|
||||
|
||||
@@ -82,7 +82,6 @@
|
||||
<div attrs="{'invisible':[('type','=','service')]}">
|
||||
<field name="produce_delay" class="oe_inline"/> days
|
||||
</div>
|
||||
<field name="active"/>
|
||||
</group>
|
||||
</group>
|
||||
<xpath expr="//group[@string='Sale Conditions']" position="inside">
|
||||
|
||||
Reference in New Issue
Block a user