Can i have a package configuration like a regular python module in OpenERP?
Something like this.
main_module/ __init__.py __openerp__.py module.py sub/ __init__.py sub_module.py sub_module2.py
I understand that in python this would allow me to call from module.submodule import * or via import module.sub_module right? What would be the configuration of the __init__.py files to achieve this? Thanks in advance.
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: 9/11/13, 6:52 PM|
|Seen: 1528 times|
|Last updated: 3/16/15, 8:10 AM|