Hello all
I have done some customization in my odoo environment (some additional fields and modifications to the screens), how can I copy those to a new environment?
Thanks a lot
Hello all
I have done some customization in my odoo environment (some additional fields and modifications to the screens), how can I copy those to a new environment?
Thanks a lot
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Have you made these in a separate module? If this is the case you can simply copy the module to your other environment. If you haven't it means you went in against all Odoo rules and modified the existing code, which is a real NO GO. If you did this you should follow a tutorial about how to create your own module. (for example: https://www.odoo.com/documentation/9.0/howtos/backend.html)
Hello
Thanks a lot for your fast response.
I created new fields in the modles (all x_ prefixed), and I am afraid that I modified the original views to include those fields.
I can start from scratch, so I will re-phrase my question:
1. How can I add new fields to models and copy the definition to a new DB?
2. I didn't write any py code, I only used the UI to make the changes to the View, how can I move those changes?
Thanks a lot for your help
I'm afraid that doing things from the front-end is quite a lot different then doing it from the back-end. You should walk through the tutorial (https://www.odoo.com/documentation/9.0/howtos/backend.html) to learn these concepts. The idea is to create your models and/or fields in Python and to modify views you will need to inherit them with XML and add your custom fields with xpath expressions. There is really no short answer to explain and learn you this so I'm afraid you'll need to do some hands on here!