change_default attribute

In OpenERP V6 new attribute is introduced with good functionality and usability that is called change_default.

'zip': fields.char('Zip', change_default=True, size=24),

By default value of change_default is False, If change_default=True then while setting default value on any field we can make that field dependent on value of the other field of the same object which has change_default=True.

Here is the video to explain the functionality.


xrg said…
With one important remark: in 6.0 (and I think , in 6.1), ir.values limit the functionality of change_default. Only one can be chosen at a time (which turns to be an important limitation). + the configuration dialog is non-intuitive.

Popular posts from this blog

OpenERP Installation Guide