Overriding default_get method

Learn – Overriding default_get method in Odoo 8 with Example

Greetings Everyone, in this blog-post you will learn how to override default_get method in Odoo 8. The syntax of default_get is: default_get(fields) → default_values Return default values for the fields in fields_list. Default values are determined by the context, user defaults, and the model itself. Parameters: fields_list – a list of field names Returns: a […]