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
|Asked: 7/21/15, 5:19 PM|
|Seen: 502 times|
|Last updated: 7/22/15, 2:05 AM|