i new odoo.
i searched many blogs. in openerp 7, has optional parameter
invisible: true/false ex: password = fields.selection([('one','one'),('two','two')], 'password', invisible=true) to hide or show field in view. whether still exists in odoo 8.
update:
also need clarify existence of domain filter in odoo 8.
for ex: ... domain="[('fiscalyear_id','=',fiscalyear)]",required=false) need clarify on this. or else anyother parameter used ?
invisible still existing in version 8. try write in xml view:
<field name="your_field" invisible="1"/> for example:
<field name="password" invisible="1"/> besides, can make field invisible depending on condition, able in version 7, attrs:
<field name="your_field" attrs="{'invisible': domain_you_want}"/> where domain_you_want example [('another_field', '=', false)].
Comments
Post a Comment