How do I reflect changes made to some model (adding a field, deleting a model, etc.) into database? I wonder if Odoo provides some facility to handle database schema migrations or how to do that.
Any help greatly appreciated.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Financeiro
- Inventário
- PoS
- Project
- MRP
Esta pergunta foi sinalizada
4322
Visualizações
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
database migration
Resolvido
|
|
1
mar. 23
|
2182 | |
|
1
abr. 17
|
3454 | ||
|
1
jan. 25
|
5945 | ||
Databse schema
Resolvido
|
|
2
mar. 15
|
9468 | |
|
0
dez. 22
|
1904 |
Changes to the model schema can be made via the User Interface or via modules using Python. Which method are you using? You also mention migration. Are you migrating between versions? Perhaps some lower level detail about what you are doing and what's not working would help get your question answered?
Hi Ray, the question was not well posed because I didn't yet read enough docs to formulate it appropriately. In the meantime I read some docs, and understand I can prototype models and use them as templates for new models, which partially answers my question. But, what should I do if I want to modify an existing model, already in postgres and with table containing data? Hope now it makes sense. Thanks.