[IMP] Add explicit @for to concerned labels

bzr revid: fme@openerp.com-20120423135830-evj4ix4e5bqkq7jy
This commit is contained in:
Fabien Meghazi
2012-04-23 15:58:30 +02:00
parent d8d66845f1
commit 58b48cc109
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -53,7 +53,7 @@
<form string="Invoice Line">
<field name="product_id" on_change="product_id_change(product_id, uos_id, quantity, name, parent.type, parent.partner_id, parent.fiscal_position, price_unit, parent.currency_id, context, parent.company_id)"/>
<field colspan="2" name="name"/>
<label string="Quantity :" align="1.0"/>
<label string="Quantity" for="quantity" align="1.0"/>
<group colspan="1" col="2">
<field name="quantity" nolabel="1"/>
<field name="uos_id" on_change="uos_id_change(product_id, uos_id, quantity, name, parent.type, parent.partner_id, parent.fiscal_position, price_unit, parent.currency_id, context, parent.company_id)" nolabel="1"/>
+1 -1
View File
@@ -415,7 +415,7 @@
<sheet layout="auto">
<group colspan="4" col="7">
<field name="name" required="1" string="Opportunity"/>
<label string="Stage:" align="1.0"/>
<label string="Stage" for="stage_id" align="1.0"/>
<group colspan="1" col="4">
<field name="stage_id" nolabel="1"
on_change="onchange_stage_id(stage_id)"
+1 -1
View File
@@ -61,7 +61,7 @@
<field name="inherit_id" ref="product.product_normal_form_view"/>
<field name="arch" type="xml">
<field name="standard_price" position="replace">
<label string="Cost Price :" align="1.0"/>
<label string="Cost Price" for="standard_price" align="1.0"/>
<group col="2" colspan="1">
<field name="standard_price" attrs="{'readonly':[('cost_method','=','average')]}" nolabel="1"/>
<button name="%(action_view_change_standard_price)d" string="Update"