Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hai Friends ,
First I thank everyone , who give such support for newbie . When I started learning about creating custom module . Some Question raised in my mind .
In __init__.py , what are the module (or) sub-module to be imported ?
If my module _inherit another module , should i import the _inherit module in __init__.py ?
What is purpose of declaring the module in __init__.py ?
Please clarify my doubt & once again thanks for everyone .
Thanks & Regards OMPRAKASH.A
n __init__.py file the modules which u going to import are ...the business logic files, having extension .py , for sales.py .
There is no need of _inheriting the module in __init__.py file.
__init__.py is used to initialize your module and its mandatory in each and every module u create
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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
|Asked: 5/20/13, 12:03 PM|
|Seen: 5655 times|
|Last updated: 4/11/16, 3:51 AM|