Freezing Odoo on commit level #403
|
Hi Doodba community, Just wanted to know how you deal with the ever-changing Odoo core code? Do you think it is safe to keep odoo remote on the branch level in repos.yaml? Or it would be better to freeze odoo core at the commit level and use the same code base throughout your project lifecycle with manual upgrades? |
Replies: 2 comments 9 replies
|
A freeze is not generally needed, and less even on Odoo core, as Odoo's stability policy avoids any breaking change (https://github.com/odoo/odoo/wiki/Contributing#what-does-stable-mean). For OCA, you have also guaranteed a "migration path" to latest version. You just need to upgrade your modules in the DB. Anyway, if you want to make a freeze, just define a specific commit in repos.yaml file and there will be. |
|
Dear @pedrobaeza On my server, I run odoo using doodba-copier template for production (prod.yaml) could you suggest in case I just want to update the latest code from OCA which is declared in repos.yaml Best regards |
A freeze is not generally needed, and less even on Odoo core, as Odoo's stability policy avoids any breaking change (https://github.com/odoo/odoo/wiki/Contributing#what-does-stable-mean). For OCA, you have also guaranteed a "migration path" to latest version. You just need to upgrade your modules in the DB.
Anyway, if you want to make a freeze, just define a specific commit in repos.yaml file and there will be.