Nehal Panchal (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.1-opw-575212-nep into 
lp:openobject-addons/6.1.

Requested reviews:
  Naresh(OpenERP) (nch-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-575212-nep/+merge/107717

Hello,

With sale_layout installed, in a sale order line when set a non-product type of 
line, the fields "Quantity (UoS)" and "product_uos"(hidden label) are still 
displayed, unlike other fields which are made invisible accordingly.

This fixes the issue.

Thanks
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-575212-nep/+merge/107717
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.1-opw-575212-nep.
=== modified file 'sale_layout/sale_layout_view.xml'
--- sale_layout/sale_layout_view.xml	2011-12-21 13:10:28 +0000
+++ sale_layout/sale_layout_view.xml	2012-05-29 06:45:27 +0000
@@ -43,8 +43,8 @@
                                         <field name="price_unit"
                                             attrs="{'invisible':[('layout_type','!=','article')],'required':[('layout_type','not in',['title','text','subtotal','line','break'])]}"/>
 
-                                        <field groups="product.group_uos" name="product_uos_qty" on_change="uos_change(product_uos, product_uos_qty, product_id)"/>
-                                        <field groups="product.group_uos" name="product_uos" nolabel="1"/>
+                                        <field groups="product.group_uos" name="product_uos_qty" on_change="uos_change(product_uos, product_uos_qty, product_id)" attrs="{'invisible':[('layout_type','!=','article')]}"/>
+                                        <field groups="product.group_uos" name="product_uos" nolabel="1" attrs="{'invisible':[('layout_type','!=','article')]}"/>
                                         <newline/>
 
                                         <field

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to