Set Default Value in OpenERP

In OpenERP, you can set default value of any field in any window for all or just you, based on condition of value in other field. Here is the step to do,


  • Enter Developer Mode
  • Go to any Form, i.e., Sale Order
  • On developer menu, click on Set Default option to save default.
  • The new default value will be found in menu Settings > Technical > Actions > User-defined Defaults
  • You can also add condition, i.e., when partner_id=22
  • Please note that, only fields (in .py) that has change_default=True will be allowed as condition.