diff --git a/Design Decisions.md b/Design Decisions.md index c30b3591..d73902de 100644 --- a/Design Decisions.md +++ b/Design Decisions.md @@ -30,7 +30,7 @@ Note: Odoo.sh allows you to impersonate as any user on the database. Fragestellung: Wie soll der Odoo Enterprise Modul-Code installiert und verwaltet werden? -Auf dem [GitHub-Repo](github.com/odoo/enterprise) von Odoo Enterprise ist der gesamte Module-Code der Enterprise Apps verfügbar. Dieser Code muss zur Verwendung der Enterprise-Funktionen auf der Odoo-Instanz vorhanden sein. Da der Code umfangreich ist, sich stetig verändert und viele Abhängigkeiten besitzt, stellt sich die Frage, wie dieser am besten bereitgestellt wird. +Auf dem [GitHub-Repo](https://github.com/odoo/enterprise) von Odoo Enterprise ist der gesamte Module-Code der Enterprise Apps verfügbar. Dieser Code muss zur Verwendung der Enterprise-Funktionen auf der Odoo-Instanz vorhanden sein. Da der Code umfangreich ist, sich stetig verändert und viele Abhängigkeiten besitzt, stellt sich die Frage, wie dieser am besten bereitgestellt wird. **Entscheid:** [[#Lösungsvorschlag 1 Zip-Pakete]]. diff --git a/Odoo 14.4.md b/Odoo 14.4.md index 14902057..9791be26 100644 --- a/Odoo 14.4.md +++ b/Odoo 14.4.md @@ -4,3 +4,20 @@ * Forecasted report for products cannot be opened. +On upgrade: + +``` +Fehler: + + +Zurückverfolgung +Error: scope.device is undefined +anonymous@https://erp.trimada.ch/web/content/1120-959706b/web.assets_common.js line 971 > Function:20:5 +fn@https://erp.trimada.ch/web/content/1120-959706b/web.assets_common.js:953:173 +render@https://erp.trimada.ch/web/content/1120-959706b/web.assets_common.js:960:20 +useModel/__owl__.renderFn@https://erp.trimada.ch/web/content/1121-115a3fa/web.assets_backend.js:1330:147 +__render@https://erp.trimada.ch/web/content/1120-959706b/web.assets_common.js:1277:33 +__prepareAndRender@https://erp.trimada.ch/web/content/1120-959706b/web.assets_common.js:1275:29 +``` + +Workaround: Rollback \ No newline at end of file diff --git a/Odoo Revisions.md b/Odoo Revisions.md index 911ef81c..92baa560 100644 --- a/Odoo Revisions.md +++ b/Odoo Revisions.md @@ -4,6 +4,7 @@ Odoo Revsions sind Snapshots der Entwicklungshistory zu einem bestimmten Zeitpun ## Odoo 13.0 +State: Outdated\ Version: 13.0 Revision: 13.0.2020.0629 @@ -13,12 +14,14 @@ cd enterprise && git checkout b2bef9525f # Create tag on the enterprise repo git tag -a 13.0 -m "13.0" +.. # Checkout odoo repo cd odoo && git checkout bd2d4a55136 # Create tag on the odoo repo git tag -a 13.0 -m "13.0" +.. # Pull docker image docker pull odoo@sha256:27098953285743cdf4152b0c6f3678d573327b7d9acb61a2dffeb3224bcaa852 @@ -29,6 +32,7 @@ docker tag b073a2f2d68c odoo:b073a2f2d68c ## Odoo 13.1 +State: Outdated\ Version: 13.0 Revision: 13.0.2020.1123 @@ -38,12 +42,14 @@ cd enterprise && git checkout 98c1c323b4 # Create tag on the enterprise repo git tag -a 13.1 -m "13.1" +.. # Checkout odoo repo cd odoo && git checkout 10dd2f0ae14 # Create tag on the odoo repo git tag -a 13.1 -m "13.1" +.. # Pull docker image docker pull odoo@sha256:bfc01dbb6a49576ac88aca664bf59fe2afc0a1bba94743699c49a11acf0a4cd8 @@ -54,6 +60,7 @@ docker tag f20ab9613812 odoo:f20ab9613812 ## Odoo 13.2 +State: Active\ Version: 13.0 Revision: 13.0.2021.0412 @@ -63,12 +70,14 @@ cd enterprise && git checkout 71aa7b935a983d2904b6586aebaadb66987d4f0e # Create tag on the enterprise repo git tag -a 13.2 -m "13.2" +.. # Checkout odoo repo cd odoo && git checkout acaca80f0ce544d1c9a738a5aac992a8ac9c75b2 # Create tag on the odoo repo git tag -a 13.2 -m "13.2" +.. # Pull docker image docker pull odoo@sha256:578a20a0b50c5f146fc395d53ab9d205ade1f2dadfe675648e09700798ad6734 @@ -79,8 +88,9 @@ docker tag e13c9ce400b0 odoo:e13c9ce400b0 ## Odoo 14.0 +State: Outdated\ Version: 14.0 -Revision: 14.0.20201019 +Revision: 14.0.2020.1019 ```bash # Checkout enterprise repo @@ -88,12 +98,14 @@ cd enterprise && git checkout 264e7bb9e1420fc9384352eb9c1f210c1c4ac8e7 # Create tag on the enterprise repo git tag -a 14.0 -m "14.0" +.. # Checkout odoo repo cd odoo && git checkout 86423e2da90e1d023bd616cbc719c80f087a4206 # Create tag on the odoo repo git tag -a 14.0 -m "14.0" +.. # Pull docker image docker pull odoo@sha256:ed98410e34aa509a9ac15e0b3b70e72f20af71cddcf9da8b72aa27771bc3410a @@ -104,15 +116,18 @@ docker tag 6640ab6622b9 odoo:6640ab6622b9 ## Odoo 14.1 +State: Outdated\ Version: 14.0 Revision: 14.0.2020.1026 ```bash # Checkout enterprise repo cd enterprise && git checkout 307b2a78ccd8fb3d4350327b0352152694029976 +.. # Checkout odoo repo cd odoo && git checkout 2d31892081a48c521357cef974ea23fc9228a39e +.. # Pull docker image docker pull odoo@sha256:335d31e83074a79e1ad8be65587558d24a1ea90c0d2b3b7e65cc91b9f170a97f @@ -123,6 +138,7 @@ docker tag 70de954aa8a5 odoo:70de954aa8a5 ## Odoo 14.2 +State: Outdated\ Version: 14.0 Revision: 14.0.2020.1123 @@ -132,12 +148,14 @@ cd enterprise && git checkout ad68b67e525341807c416e95ea2db2dda75da9d2 # Create tag on the enterprise repo git tag -a 14.2 -m "14.2" +.. # Checkout odoo repo cd odoo && git checkout 87ea687169c9a0047b41b11ab143544142c82aae # Create tag on the odoo repo git tag -a 14.2 -m "14.2" +.. # Pull docker image docker pull odoo@sha256:ac884a5f7166600a3cecf7fd95aa6ffbacd989e98a0483ff59f0e542c6a84f76 @@ -148,6 +166,7 @@ docker tag 8363e01420b1 odoo:8363e01420b1 ## Odoo 14.3 +State: Upgrade\ Version: 14.0 Revision: 14.0.2021.0111 @@ -157,12 +176,14 @@ cd enterprise && git checkout 2bf86b6e66635abb957ba471700f9d3ea271ff05 # Create tag on the enterprise repo git tag -a 14.3 -m "14.3" +.. # Checkout odoo repo cd odoo && git checkout e6ccdb397792db62c3b08d96435b3c1667c1aa9d # Create tag on the odoo repo git tag -a 14.3 -m "14.3" +.. # Pull docker image docker pull odoo@sha256:23ccd7deac2664336b94543e3f2653631f0c8e2a562ffa15812805c7ef899827 @@ -173,6 +194,7 @@ docker tag 3863e3e905e5 odoo:3863e3e905e5 ## [[Odoo 14.4]] +State: Active\ Version: 14.0 Revision: 14.0.2021.0510 @@ -181,13 +203,15 @@ Revision: 14.0.2021.0510 cd enterprise && git checkout 4df76691f8bb742caae39298f19e808581beae07 # Create tag on the enterprise repo -git tag -a 14.5 -m "14.5" +git tag -a 14.4 -m "14.4" +.. # Checkout odoo repo cd odoo && git checkout 811f429707c75b84d7f1da9611dac3c355e828f1 # Create tag on the odoo repo -git tag -a 14.5 -m "14.5" +git tag -a 14.4 -m "14.4" +.. # Pull docker image docker pull odoo@sha256:26479e1c9294862e5efc226b116cccab437da0b895c94a84b0165f7a6c892a55 @@ -198,6 +222,7 @@ docker tag c4370cddec27 odoo:c4370cddec27 ## [[Odoo 14.5]] +State: Active\ Version: 14.0 Revision: 14.0.2021.0524 @@ -207,12 +232,14 @@ cd enterprise && git checkout 8e14e2a401ff4aef6855fa6fff2cee569f8b1fdd # Create tag on the enterprise repo git tag -a 14.5 -m "14.5" +.. # Checkout odoo repo cd odoo && git checkout c49bcce249b9ffcbc98dded17b6dbe71a1c22552 # Create tag on the odoo repo git tag -a 14.5 -m "14.5" +.. # Pull docker image docker pull odoo@sha256:542e36dfc7ad121ea51813e8f6526b5417983cbf490c6702512d5ffcfa7efb8e diff --git a/Odoo Shell Scripts.md b/Odoo Shell Scripts.md index 2211c184..422e3da4 100644 --- a/Odoo Shell Scripts.md +++ b/Odoo Shell Scripts.md @@ -20,7 +20,10 @@ List all products ## Commands Log into Docker Container. -`docker exec -it odoo01 bin/bash` +``` +CONTAINER=odoo04 +docker exec -it $CONTAINER bin/bash +``` Start Odoo Shell. ```bash diff --git a/Odoo Update.md b/Odoo Update.md new file mode 100644 index 00000000..c3d62bac --- /dev/null +++ b/Odoo Update.md @@ -0,0 +1,11 @@ +# Odoo Update + +Notizen zum Update von Odoo. + +## Vorgang + +Im Grunde ist die Aktualisierung von Odoo in den Minor Versions einfach. Einfach Docker Image oder Git Repository aktualisieren. + +## Clear Assets + +Meinstens gibt es nach einem Upgrade Probleme mit der Assets Table. Odoo Cached CSS/JS in der Assets Table. Diese wird nach einem Update nicht zurückgesetzt. Das muss jeweils manuell gemacht werden. Siehe dazu [[Odoo Shell Scripts]]. diff --git a/Odoo.md b/Odoo.md index 80cd4a6a..7662186b 100644 --- a/Odoo.md +++ b/Odoo.md @@ -47,6 +47,7 @@ Mint System GmbH bietet ein [[Odoo Hosting]] und ein [[Odoo Handbuch]]. * [[Odoo Datenmanagement]] * [[Odoo Upgrade]] +* [[Odoo Update]] * [[Odoo Entwicklung]] * [[Odoo Maintenance]] diff --git a/github.com/odoo/enterprise.md b/github.com/odoo/enterprise.md new file mode 100644 index 00000000..e69de29b