Hello hda,

Thanks a lot for helping me.
I created 4 groups, in first group, there is 

selection drop down list, if i select one selection type, all others will 
disable except selected one, as per ur query, its working fine.

I have another clarification, i.e. for example,
As per my requirement, i selected second group in the selection dropdown list 
and only that group is enabled, in this second group there is another selection 
dropdown list, if i select 'no' in list, other fields in that group should 
disable.

I modified the xml as follows, but not working:
 
<group colspan="4" col="6">
                    <group colspan="4" col="2">
                        <separator string="Open Well" colspan="4"/>
                                <field name="openwell" select="0" 

attrs="{'readonly':[('sourcesel','in',['river','stream','canal','rains','pond','borewell'])]}"/>
                                <field name="dept" select="0" 

attrs="{'readonly':[('sourcesel','openwell','in',['river','stream','canal','rains','pond','borewell'

,'unlined'])]}"/>
                                <field name="mu" select="0" 

attrs="{'readonly':[('sourcesel','openwell','in',['river','stream','canal','rains','pond','borewell'

,'unlined'])]}"/>
        </group>
        </group> 

Note: In the above script, i added 'openwell' and 'unlined' in "dept" and "mu" 
field name.

Can u please provide the syntax.

Thank you




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=40841#40841

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to