Valencia Rodrigues (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.0-opw-6178-vro into 
lp:openobject-addons/6.0.

Requested reviews:
  Jay Vora (OpenERP) (jvo-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-6178-vro/+merge/64008

Hello,

In "Locations" form, the field 'Chained Location If Fixed' should be visible 
only if 'Chained Location Type' is of type 'Fixed Location'.

This fixes the issue. It also improves usability by renaming 'Chained Location 
If Fixed'=>'Chained Location'.

Thanks
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-6178-vro/+merge/64008
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.0-opw-6178-vro.
=== modified file 'stock/stock_view.xml'
--- stock/stock_view.xml	2011-04-04 10:05:21 +0000
+++ stock/stock_view.xml	2011-06-09 13:01:26 +0000
@@ -523,7 +523,7 @@
                     <group col="2" colspan="2" groups="base.group_extended">
                         <separator string="Chained Locations" colspan="2"/>
                         <field name="chained_location_type"/>
-                        <field name="chained_location_id"  attrs="{'required':[('chained_location_type','=','fixed')]}"/>
+                        <field name="chained_location_id"  attrs="{'required':[('chained_location_type','=','fixed')], 'invisible':[('chained_location_type','!=','fixed')]}" string="Chained Location"/>
                         <field name="chained_auto_packing"/>
                         <field name="chained_delay"/>
                         <field name="chained_journal_id"/>

_______________________________________________
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