Add price_unit on stock move form view
This commit is contained in:
committed by
Alexis de Lattre
parent
6ec6b8ae38
commit
fa30eefc4e
@@ -50,16 +50,14 @@
|
||||
<field name="model">stock.move</field>
|
||||
<field name="inherit_id" ref="stock.view_move_form" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="company_id" position="after">
|
||||
<field name="procurement_id" groups="stock.group_stock_manager"/>
|
||||
<field name="route_ids" widget="many2many_tags"
|
||||
groups="stock.group_stock_manager"/>
|
||||
<field name="rule_id" readonly="1"
|
||||
groups="stock.group_stock_manager"/>
|
||||
<field name="push_rule_id" readonly="1"
|
||||
groups="stock.group_stock_manager"/>
|
||||
</field>
|
||||
<group name="quants_grp" position="after">
|
||||
<group name="advanced" string="Advanced Parameters" groups="stock.group_stock_manager">
|
||||
<field name="procurement_id"/>
|
||||
<field name="route_ids" widget="many2many_tags"/>
|
||||
<field name="rule_id" readonly="1"/>
|
||||
<field name="push_rule_id" readonly="1"/>
|
||||
<field name="price_unit" readonly="1"/>
|
||||
</group>
|
||||
<group name="note" string="Notes" colspan="4">
|
||||
<field name="note" nolabel="1"/>
|
||||
</group>
|
||||
@@ -72,17 +70,15 @@
|
||||
<field name="model">stock.move</field>
|
||||
<field name="inherit_id" ref="stock.view_move_picking_form" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="product_packaging" position="after">
|
||||
<field name="procurement_id" groups="stock.group_stock_manager"/>
|
||||
<field name="group_id"/>
|
||||
<field name="route_ids" widget="many2many_tags"
|
||||
groups="stock.group_stock_manager"/>
|
||||
<field name="rule_id" readonly="1"
|
||||
groups="stock.group_stock_manager"/>
|
||||
<field name="push_rule_id" readonly="1"
|
||||
groups="stock.group_stock_manager"/>
|
||||
</field>
|
||||
<group name="quants_grp" position="after">
|
||||
<group name="advanced" string="Advanced Parameters" groups="stock.group_stock_manager">
|
||||
<field name="procurement_id"/>
|
||||
<field name="group_id"/>
|
||||
<field name="route_ids" widget="many2many_tags"/>
|
||||
<field name="rule_id" readonly="1"/>
|
||||
<field name="push_rule_id" readonly="1"/>
|
||||
<field name="price_unit" readonly="1"/>
|
||||
</group>
|
||||
<group name="note" string="Notes" colspan="4">
|
||||
<field name="note" nolabel="1"/>
|
||||
</group>
|
||||
|
||||
Reference in New Issue
Block a user