Kirti Savalia(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-838743-ksa into 
lp:openobject-addons.

Requested reviews:
  Rucha (Open ERP) (rpa-openerp)
Related bugs:
  Bug #838743 in OpenERP Addons: "product - inventory valuation for services - 
naming issue"
  https://bugs.launchpad.net/openobject-addons/+bug/838743

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-838743-ksa/+merge/74205

Invisible inventory valuation for product type='service'.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-838743-ksa/+merge/74205
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-838743-ksa.
=== modified file 'stock/product_view.xml'
--- stock/product_view.xml	2011-07-08 08:52:03 +0000
+++ stock/product_view.xml	2011-09-06 12:21:25 +0000
@@ -82,7 +82,7 @@
                     <group groups="base.group_extended">
                         <separator string="Inventory Valuation" colspan="4"/>
                         <group colspan="2" col="2">
-                            <field name="valuation"/>
+                            <field name="valuation" attrs="{'invisible':[('type', '=', 'service')]}"/>
                         </group>
                         <group colspan="2" col="2">
                             <field name="property_stock_account_input" attrs="{'readonly':[('valuation', '!=', 'real_time')]}"

_______________________________________________
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