vault backup: 2024-06-18 10:46:19
This commit is contained in:
5 files changed
+137
-14
No files matched your search
@@ -7,14 +7,12 @@ tags:
|
||||
|
||||
Description of the [[Odoo Enterprise Edition]] upgrade process.
|
||||
|
||||
With every major upgrade a new documentation is created:
|
||||
## [[Odoo Upgrade from 13.0 to 14.0]]
|
||||
For new upgrades use this script: [[Odoo Upgrade from XX.0 to XX.0]]
|
||||
|
||||
## [[Odoo Upgrade from 14.0 to 15.0]]
|
||||
These were the old upgrade strategies:
|
||||
|
||||
## [[Odoo Upgrade from 14.0 to 16.0]]
|
||||
## [[Odoo Upgrade from 13.0 to 16.0]]
|
||||
|
||||
## [[Odoo Upgrade from 15.0 to 16.0]]
|
||||
|
||||
## [[Odoo Upgrade from 16.0 to 17.0]]
|
||||
* [[Odoo Upgrade from 13.0 to 14.0]]
|
||||
* [[Odoo Upgrade from 14.0 to 15.0]]
|
||||
* [[Odoo Upgrade from 13.0 to 16.0]]
|
||||
* [[Odoo Upgrade from 15.0 to 16.0]]
|
||||
* [[Odoo Upgrade from 16.0 to 17.0]]
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
tags:
|
||||
- HowTo
|
||||
---
|
||||
# Odoo Upgrade from 14.0 to 16.0
|
||||
@@ -0,0 +1,123 @@
|
||||
---
|
||||
lang: en
|
||||
tags:
|
||||
- templates
|
||||
---
|
||||
# Odoo Upgrade from XX.0 to XX.0
|
||||
|
||||
## Prepare
|
||||
|
||||
Set env vars.
|
||||
|
||||
```bash
|
||||
export ODOO_CURRENT_VERSION=XX.0
|
||||
export ODOO_TARGET_VERSION=XX.0
|
||||
export MODE=test # Options: test, production
|
||||
export PGHOST=localhost
|
||||
export PGUSER=odoo
|
||||
export PGPASSWORD=odoo
|
||||
export DATABASE=erp
|
||||
export NEW_DATABASE=${DATABASE}_${ODOO_TARGET_VERSION}
|
||||
export COMPANY=mint-system
|
||||
alias odoo-upgrade="python <(curl -s https://upgrade.odoo.com/upgrade)"
|
||||
```
|
||||
|
||||
Download the database.
|
||||
|
||||
```bash
|
||||
odoo-backup -d $DATABASE -o tmp/$COMPANY/$DATABASE.zip ...
|
||||
```
|
||||
|
||||
Checkout current Odoo environment.
|
||||
|
||||
```bash
|
||||
task checkout $ODOO_CURRENT_VERSION
|
||||
```
|
||||
|
||||
Start local development environment.
|
||||
|
||||
```bash
|
||||
task start db,native
|
||||
```
|
||||
|
||||
## Restore
|
||||
|
||||
Clear filestore and restore database.
|
||||
|
||||
```bash
|
||||
task drop-db $DATABASE
|
||||
task clear-filestore $DATABASE
|
||||
odoo-restore -f tmp/$COMPANY/$DATABASE.zip
|
||||
```
|
||||
|
||||
Remove or replace [[Unsupported Modules]].
|
||||
|
||||
```bash
|
||||
task remove-module $DATABASE ...
|
||||
task install-module $DATABASE ...
|
||||
```
|
||||
|
||||
Login and check the Odoo log.
|
||||
## Upgrade
|
||||
|
||||
Run the upgrade scripts.
|
||||
|
||||
```bash
|
||||
task clear-filestore $NEW_DATABASE
|
||||
task drop-db $NEW_DATABASE
|
||||
odoo-upgrade $MODE -d $DATABASE -t $ODOO_TARGET_VERSION -r $NEW_DATABASE
|
||||
```
|
||||
|
||||
Checkout target Odoo environment.
|
||||
|
||||
```bash
|
||||
task checkout $ODOO_TARGET_VERSION
|
||||
```
|
||||
|
||||
Upgrade all modules.
|
||||
|
||||
```bash
|
||||
task update-module $NEW_DATABASE base
|
||||
```
|
||||
|
||||
Clear the browser cache and Odoo assets, then start the server.
|
||||
|
||||
```bash
|
||||
task clear-assets $NEW_DATABASE
|
||||
task start native
|
||||
```
|
||||
|
||||
Login and check the Upgrade report.
|
||||
## Configure
|
||||
|
||||
Install new modules.
|
||||
|
||||
```bash
|
||||
task install-module $NEW_DATABASE ...
|
||||
```
|
||||
|
||||
Make new Odoo configurations.
|
||||
|
||||
Update the language packages.
|
||||
|
||||
Update or remove selected snippets.
|
||||
## Verify
|
||||
|
||||
Test the upgraded system.
|
||||
|
||||
Run the test cases.
|
||||
|
||||
Note any regressions.
|
||||
|
||||
## Deploy
|
||||
|
||||
Export the new database.
|
||||
|
||||
```bash
|
||||
odoo-backup -d $NEW_DATABASE -o tmp/$COMPANY/$NEW_DATABASE.zip
|
||||
```
|
||||
|
||||
Deploy the upgraded database.
|
||||
|
||||
Restore the upgraded database.
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
---
|
||||
lang: en
|
||||
tags:
|
||||
- Templates
|
||||
---
|
||||
|
||||
# Template Report on Odoo Customization
|
||||
Author: [[Janik von Rotz]]\
|
||||
Date: YYYY-MM-DD
|
||||
|
||||
@@ -30,3 +30,4 @@ tags:
|
||||
| [[Vorlage Troubleshooting]] |
|
||||
| [[Vorlage Use Cases]] |
|
||||
| [[Vorlage Worklog]] |
|
||||
| [[Odoo Upgrade from XX.0 to XX.0]] |
|
||||
Reference in new issue
Block a user