Config Promote
Compare your staging database with production, see every configuration difference field by field, and apply only the changes you pick, with a rollback button.
| Odoo | 16.0, 17.0, 18.0, 19.0, 20.0 |
| Editions | Community, Enterprise |
| Works with | Discuss and Automation Rules (both in Community) |
| Licence | OPL-1, 29 EUR |
| Tests | 6 automated, run on every version |
| Module | config_ |
The situation
You build a new automation rule, a custom field, a tweaked form view and a new email template on staging. It works, so now someone re-creates all of it by hand in production, from notes. The reminder parameter that was changed from 14 to 7 days gets forgotten, and the view refers to a field nobody created yet.
With this module, production reads the configuration of staging, lists every record that is new, changed or only in production, and shows the old and new value of each field. You untick what you don't want and click Apply Selected. Everything is written in one transaction, and Roll Back puts it back the way it was.
What it adds
Getting started
Install it in production, and in staging too if you want to export snapshot files from there. Open Apps, clear the Apps filter, search for Config Promote and click Activate. It needs Discuss and Automation Rules, both part of Odoo Community. Only Settings administrators see the menu.
Apps › config_promote › Activate
In staging, create an API key for an administrator (Preferences, then the Security or Account Security tab, New API Key). In production, open Config Promote › Sources, create a source with the staging URL, the database name and that key (plus the administrator's login on Odoo 16 to 18), and click Test Connection. Both databases must run the same Odoo version.
Config Promote › Sources
Click New Promotion on the source, keep or narrow the scopes, and click Compare. Review the list: new and changed records are ticked, removals are not. Open a line to see its diff, untick what should stay on staging, click Check Dependencies, then Apply Selected. The promotion keeps the date, the user and a chatter log of every change.
Fine print
Log
Need a scope for a model we don't cover?
Tell us the model and which fields should move from staging to production, and we'll tell you how to set up the scope.
Email odoo.expert.111@gmail.com
Also by Awins
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module