I want to install sale_margin module made by me when the "Display margins on sales orders" is check(settings->configuration-->sales) is checked
Instead of install the default sale_margin module I want to install my modle
How can I do that?
Thanks for the answer zbik but I sove my problem. :)
1-I create a new module like my_sale_margin
2-I copy the res_config.py and res_config_view.xml of the sale module into my_module_sale
3-Change the name of the module name into the res_config.py and es_config_view.xml to my_sale_margin
Its working, so if anyone see this pls accept the answer and vote positive
You install your module not by "Display margins on sales orders" but by:
- Go to - Settings/Update Module List and ... update
- Select menu - Settings/Local modules
- Switch to view "List view"
- Remove "Apps" from head search
- Serach your module
- Click on "Install"
or you define custom settings, see description class res_config_settings().
This link can also be helpful: http://ludwiktrammer.github.io/odoo/custom-settings-odoo.html
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: 12/10/14, 10:37 AM|
|Seen: 808 times|
|Last updated: 3/16/15, 8:10 AM|