[FIX] stock : layout issue between 'weight' and 'tracking' field

This commit is contained in:
Yannick Tivisse
2015-09-08 15:40:38 +02:00
parent 49bc61e5ee
commit c11323148a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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>
+2 -2
View File
@@ -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', '=', [])]}"/>