init and openerp file odoo

Understanding __init__.py and __openerp__.py file in Odoo

Greetings Everyone, In this blog-post you will learn about the __init__.py and __openerp__.py file of an odoo module. __init__.py – This file is the initializer of the module. You might have heard about the term ‘constructor’ in java and this file acts in the same way. It contains import statements linking to folders and files in […]

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 […]