[IMP] stock_landed_costs : If we create a product from Cost Lines, Can constitute a landed cost should be True.
bzr revid: mdi@tinyerp.com-20140421093157-x2b1vhip6mjslfij
This commit is contained in:
parent
a741e8df8e
commit
567103bb92
|
@ -36,7 +36,7 @@
|
|||
<group>
|
||||
<group>
|
||||
<field name="product_id"
|
||||
on_change="onchange_product_id(product_id)" domain="[('landed_cost_ok', '=', True)]"/>
|
||||
on_change="onchange_product_id(product_id)" domain="[('landed_cost_ok', '=', True)]" context="{'default_landed_cost_ok': True}"/>
|
||||
<field name="price_unit"/>
|
||||
</group>
|
||||
<group>
|
||||
|
@ -48,7 +48,7 @@
|
|||
<field name="name"/>
|
||||
</form>
|
||||
<tree string="Cost Lines" editable="bottom">
|
||||
<field name="product_id" on_change="onchange_product_id(product_id)" domain="[('landed_cost_ok', '=', True)]"/>
|
||||
<field name="product_id" on_change="onchange_product_id(product_id)" domain="[('landed_cost_ok', '=', True)]" context="{'default_landed_cost_ok': True}"/>
|
||||
<field name="name"/>
|
||||
<field name="account_id"/>
|
||||
<field name="split_method"/>
|
||||
|
|
Loading…
Reference in New Issue