[REF] stock: replace <div> in view by nolabel
authorRichard Mathot <rim@openerp.com>
Wed, 26 Nov 2014 14:32:51 +0000 (15:32 +0100)
committerRichard Mathot <rim@openerp.com>
Wed, 26 Nov 2014 14:32:51 +0000 (15:32 +0100)
This patch does not change the look of the view; it is only intended to
use the standard feature "nolabel" instead of hacking the HTML with a
<div> tag.

addons/stock/stock_view.xml

index 6a90351..5863200 100644 (file)
                             <field name="move_dest_id" groups="base.group_no_one" readonly="1"/>
                         </group>
                         <group name="quants_grp" string="Reserved Quants" colspan="4" groups="base.group_no_one">
-                            <div>
-                                <field name="reserved_quant_ids"/>
-                            </div>
+                            <field name="reserved_quant_ids" nolabel="1"/>
                         </group>
                     </group>
                 </sheet>