From 72066fcf56d74ea71695f445088d8f66fa6b46ef Mon Sep 17 00:00:00 2001 From: Janik von Rotz Date: Wed, 16 Mar 2022 22:27:40 +0100 Subject: [PATCH] vault backup: 2022-03-16 22:27:40 --- Odoo Upgrade from 13.0 to 14.0.md | 106 ++++++++++++++++++++++- Odoo Upgrade from 14.0 to 15.0.md | 18 +++- Odoo Upgrade.md | 104 +--------------------- Richtlinie - Dokumentmanagementsystem.md | 2 +- Vorlage Troubleshooting.en.md | 31 +++++++ Vorlage Troubleshooting.md | 1 + 6 files changed, 156 insertions(+), 106 deletions(-) create mode 100644 Vorlage Troubleshooting.en.md diff --git a/Odoo Upgrade from 13.0 to 14.0.md b/Odoo Upgrade from 13.0 to 14.0.md index 99140db1..736a2314 100644 --- a/Odoo Upgrade from 13.0 to 14.0.md +++ b/Odoo Upgrade from 13.0 to 14.0.md @@ -1,5 +1,7 @@ # Odoo Upgrade from 13.0 to 14.0 +## Run Upgrade + ::: tip The main challenge of the upgrade process is having the filestore at the right location. ::: @@ -89,4 +91,106 @@ Execute the same steps as for *Tests* except for these changes: * Upload database to production environment In addition you must: -* Reconnect the [[Odoo Subscription]] \ No newline at end of file +* Reconnect the [[Odoo Subscription]] + +## Test after upgrade + +Check the following Odoo features: +* Accounting QR-Code +* Dashboards +* Accounting Reconciliation +* Project Invoicing + +If necessary update all modules: `docker-odoo-update -c odooN -d $DATABASE` + +Make at least sure to upgrade localization apps such as `l10n_ch`. + +## Troubleshooting + +### Assets not loaded + +After the upgrade the filestore assets are not available. + +```bash +FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/odoo/filestore/erp/93/93132f7c7b7174981e27eeea893a1b5f860df9de' +``` + +**Resolution** + +Check filestore `root@server:/mnt/server-disk2/docker/volumes/odooN/_data/filestore` + +### Modules missing + +Remove specific modules that are not supported. + +```bash +task remove-module erp_test_14.0_2021_04_27_09_02 auth_oauth_multi_token +task remove-module erp_test_14.0_2021_04_27_09_02 web_company_color +``` + +### Connection lost + +If the connection is lost during the upgrade process, the database won't be restored. + +**Resolution** + +``` +export TOKEN=PcLKAKFELD15Eel56EbhbSwEHa9DCKTjLsoTCDZeBxgrzVb1DfW8of_Jcw +odoo-upgrade status -t $TOKEN +odoo-upgrade restore -d erp -r erp-14.0 -t $TOKEN +odoo-upgrade log -t $TOKEN +``` + +### Studio customizations missing + +After the restore the console show this error: + +``` +Some dependencies may be missing: ['studio_customization'] +``` + +**Resolution** + +Manually export the customizations. + +### Prognostizierter Bestand ist nicht aktualisiert + +Der Bericht Prognostizierter Bestand ist nicht aktuell. + +**Resolution** + +Install `stock_enterprise`. + +### Filters are missing + +After an upgrade Odoo-Filters are missing. + +**Resolution** + +Check *Dev Tool > Manage Filters* and remove the *My filters* filter. See if the filter still exists. If yes, create a new filter and copy the *Domain* value. + +### Project overview error + +The profability overivew of a project cannot be opened as the following error occurs: + +``` +KeyError: 'expense_amount_untaxed_to_invoice' + +Error to render compiling AST +KeyError: 'expense_amount_untaxed_to_invoice' +Template: unknown +Path: /qweb/div/div/div/div/div[1]/div[3]/div[2]/div/table/tbody/tr[7] +Node: + + + + + To re-invoice costs + + + +``` + +**Resolution** + +Update the `sale_timesheet` module. \ No newline at end of file diff --git a/Odoo Upgrade from 14.0 to 15.0.md b/Odoo Upgrade from 14.0 to 15.0.md index 8e84fdfc..9e8f6219 100644 --- a/Odoo Upgrade from 14.0 to 15.0.md +++ b/Odoo Upgrade from 14.0 to 15.0.md @@ -54,4 +54,20 @@ task start db,native ``` * Open to access new db -* Test and remove unsupported modules \ No newline at end of file +* Test and remove unsupported modules + +## Troubleshooting + +### External ID not found in the system + +**Problem** + +The upgrade for the on-premise enterprise database failed with this error: + +> External ID not found in the system: quality_mrp.worksheet_page + +**Solution** + +Install `quality_mrp`. + +Source: \ No newline at end of file diff --git a/Odoo Upgrade.md b/Odoo Upgrade.md index 8a55eff5..b06d2f78 100644 --- a/Odoo Upgrade.md +++ b/Odoo Upgrade.md @@ -17,106 +17,4 @@ Prepare for test upgrade: ## [[Odoo Upgrade from 13.0 to 14.0]] -## [[Odoo Upgrade from 14.0 to 15.0]] - -## Test after upgrade - -Check the following Odoo features: -* Accounting QR-Code -* Dashboards -* Accounting Reconciliation -* Project Invoicing - -If necessary update all modules: `docker-odoo-update -c odooN -d $DATABASE` - -Make at least sure to upgrade localization apps such as `l10n_ch`. - -## Troubleshooting - -### Assets not loaded - -After the upgrade the filestore assets are not available. - -```bash -FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/odoo/filestore/erp/93/93132f7c7b7174981e27eeea893a1b5f860df9de' -``` - -**Resolution** - -Check filestore `root@server:/mnt/server-disk2/docker/volumes/odooN/_data/filestore` - -### Modules missing - -Remove specific modules that are not supported. - -```bash -task remove-module erp_test_14.0_2021_04_27_09_02 auth_oauth_multi_token -task remove-module erp_test_14.0_2021_04_27_09_02 web_company_color -``` - -### Connection lost - -If the connection is lost during the upgrade process, the database won't be restored. - -**Resolution** - -``` -export TOKEN=PcLKAKFELD15Eel56EbhbSwEHa9DCKTjLsoTCDZeBxgrzVb1DfW8of_Jcw -odoo-upgrade status -t $TOKEN -odoo-upgrade restore -d erp -r erp-14.0 -t $TOKEN -odoo-upgrade log -t $TOKEN -``` - -### Studio customizations missing - -After the restore the console show this error: - -``` -Some dependencies may be missing: ['studio_customization'] -``` - -**Resolution** - -Manually export the customizations. - -### Prognostizierter Bestand ist nicht aktualisiert - -Der Bericht Prognostizierter Bestand ist nicht aktuell. - -**Resolution** - -Install `stock_enterprise`. - -### Filters are missing - -After an upgrade Odoo-Filters are missing. - -**Resolution** - -Check *Dev Tool > Manage Filters* and remove the *My filters* filter. See if the filter still exists. If yes, create a new filter and copy the *Domain* value. - -### Project overview error - -The profability overivew of a project cannot be opened as the following error occurs: - -``` -KeyError: 'expense_amount_untaxed_to_invoice' - -Error to render compiling AST -KeyError: 'expense_amount_untaxed_to_invoice' -Template: unknown -Path: /qweb/div/div/div/div/div[1]/div[3]/div[2]/div/table/tbody/tr[7] -Node: - - - - - To re-invoice costs - - - -``` - -**Resolution** - -Update the `sale_timesheet` module. \ No newline at end of file +## [[Odoo Upgrade from 14.0 to 15.0]] \ No newline at end of file diff --git a/Richtlinie - Dokumentmanagementsystem.md b/Richtlinie - Dokumentmanagementsystem.md index 05d3560c..c87ec90d 100644 --- a/Richtlinie - Dokumentmanagementsystem.md +++ b/Richtlinie - Dokumentmanagementsystem.md @@ -22,7 +22,7 @@ Bestimmte Ordner erfordern die Erstellung eines Unterordners. | Gründung | Gründungsdokumente | | Infrastruktur | Dokumentation der Mint System Infrastruktur | | Lieferanten/[Name] | Lieferantenbeziehungen werden hier abgebildet | -| Kunden/[Name] | Kundenbeziehungen werden hier abgebildet | +| Kunden/[Name] | Kundenbeziehungen werden hier abgebildet | | Management Handbuch | Dokumentation zu Methoden und Vorgehensmodellen | | Marketing | Dokumente zu Marketing-Kampagnen | | Meeting | Meeting Protokolle der Mint System | diff --git a/Vorlage Troubleshooting.en.md b/Vorlage Troubleshooting.en.md new file mode 100644 index 00000000..5c7e08f2 --- /dev/null +++ b/Vorlage Troubleshooting.en.md @@ -0,0 +1,31 @@ +--- +tags: +- Vorlagen +--- + +# Template Troubleshooting +Übersetzung: [[Vorlage Troubleshooting.en]] + +## Open + +Issues with status *open*. + +### Title of issue + +Description of issue. + +**Problem** + +What is the problem? + +**Cause** + +What might cause the problem? + +**Solution** + +How can it be resolved? + +Source: + +## REsolved \ No newline at end of file diff --git a/Vorlage Troubleshooting.md b/Vorlage Troubleshooting.md index 847a2cc6..c200befb 100644 --- a/Vorlage Troubleshooting.md +++ b/Vorlage Troubleshooting.md @@ -4,6 +4,7 @@ tags: --- # Vorlage Troubleshooting +Übersetzung: [[Vorlage Troubleshooting.en]] ## Offen