Odoo Help


change the sale_margin module installation

Francisco Castro
on 12/10/14, 10:37 AM 1,252 views

Hey guys

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?


Francisco Castro
On 12/11/14, 10:10 AM

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






| 6 5 7
Lodz, Poland

On 12/10/14, 3:33 PM

You install your module not by "Display margins on sales orders" but by:

  1. Go to - Settings/Update Module List and ... update
  2. Select menu - Settings/Local modules
  3. Switch to view "List view"
  4. Remove "Apps" from head search
  5. Serach your module
  6. 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



YEs but my question is about how to install a module using the option "Display margins on sales orders" (Settings->configuration-->sales). I want to display a margin made by me only if the client want because there are clients who don't want that option

Francisco Castro
on 12/11/14, 4:46 AM

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 12/10/14, 10:37 AM
Seen: 1252 times
Last updated: 3/16/15, 8:10 AM