[FIX] stock : layout issue between 'weight' and 'tracking' field
This commit is contained in:
@@ -126,7 +126,7 @@
|
||||
</group>
|
||||
<group name="group_lots_and_weight">
|
||||
<label for="weight"/>
|
||||
<div class="o_row">
|
||||
<div class="o_row" name="weight">
|
||||
<field digits="(14, 3)" name="weight" string="Weight"
|
||||
attrs="{'invisible':[('type', 'not in', ['product', 'consu'])]}"/>
|
||||
<span>kg</span>
|
||||
|
||||
@@ -99,9 +99,9 @@
|
||||
<field name="model">product.template</field>
|
||||
<field name="inherit_id" ref="product.product_template_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="weight" position="after">
|
||||
<div name="weight" position="after">
|
||||
<field name="tracking" on_change="onchange_tracking(tracking)" widget="radio" attrs="{'invisible':[('type', 'in', ['service', 'digital'])]}" groups="stock.group_production_lot"/>
|
||||
</field>
|
||||
</div>
|
||||
<field name="company_id" position="after">
|
||||
<field name="route_ids" widget="many2many_checkboxes" attrs="{'invisible':[('type', 'in', ['service', 'digital'])]}"/>
|
||||
<field name="route_from_categ_ids" widget="many2many_tags" readonly="1" attrs="{'invisible':[('route_from_categ_ids', '=', [])]}"/>
|
||||
|
||||
Reference in New Issue
Block a user