Overriding name_get method odoo 8

Learn – Overriding name_get method in Odoo 8 with Example

Greetings Everyone, in this blog-post you will learn how to override name_get method in Odoo 8. The syntax of name_get is: name_get(self) —> [(id, name), …] Returns a textual representation for the records in self. By default this is the value of the display_name field. Returns: list of pairs (id, text_repr) for each records Return Type: list(tuple) […]

override write method odoo 8

Learn: Overriding Write Method in Odoo 8

Greetings everyone, in this blog-post, you will learn how to override write method in Odoo 8. The write method for a particular model  can be called by clicking the ‘Edit’ & followed by ‘Save’ button in the view of that model. Here i have overridden the write method of res.users model. You can override the write method […]

override create method odoo 8

Learn: Overriding Create Method in Odoo 8 with Example

Greetings everyone, In this blog-post, you will learn how to override create method in Odoo v8. The create method for a particular model  can be called by clicking the ‘Create’ button in the view of that model. Here I have overridden the create method of res.users model. You can override the create method of any model in similar […]