Odoo Help

1

why should we use res.partner,res.groups,res.users

By
R.sridevi
on 10/29/13, 8:15 AM 1,257 views

why should we inherit res.partner,res.groups,res.users

what do you mean? do you want to create another ones?

GH Mediacloud, Grover Menacho
on 10/29/13, 10:29 AM
2
Ray Carnes
On 10/29/13, 3:24 PM

Inheriting and extending OpenERP models (also known as objects, base classes) where possible, instead of creating your own, is a best practice.

1) Your new functionality can easily be added without changing existing functionality. 2) OpenERP new functionality can easily be added without requiring significant changes to your new functionality. 3) You can re-use the data structure, functions and user interfaces OpenERP has already created for the base classes. 4) You will minimize duplicate code, since you only need to write code specific to your customization. 5) You continue the flexibility of the framework in case people want to customize YOUR customization. 6) Your customization is more likely to be accepted into the product if it does not create new models.

See also

https://accounts.openerp.com/forum/Help-1/question/46

https://doc.openerp.com/trunk/server/03_module_dev_02/

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 10/29/13, 8:15 AM
Seen: 1257 times
Last updated: 3/16/15, 8:10 AM