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.
I am writting a custom module which extends functionality to sale.order.line model, specifically, it will add a field.
Which dependence package should be included in __openerp__.py and how should I look for it in the source code?
Basically you need to define the module where the sale.order.line model resides and that would be sale module. You need to add sale module as dependencies.
You need to add depends when Odoo modules which must be loaded before this one, either because this module uses features they create or because it alters resources they define.
When a module is installed, all of its dependencies are installed before it. Likewise dependencies are loaded before a module is loaded. For more manifest file
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: 7/21/15, 5:19 PM|
|Seen: 533 times|
|Last updated: 7/22/15, 2:05 AM|