vault backup: 2022-03-16 22:27:40

This commit is contained in:
Janik von Rotz committed 2022-03-16 22:27:40 +01:00
1 parent 78dfeb5062
commit 72066fcf56
6 files changed
+156 -106

No files matched your search

+105 -1
View File
@@ -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]]
* 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: <tr t-if="display_cost &amp; (dashboard['profit']['expense_amount_untaxed_to_invoice'] != 0)">
<td class="o_timesheet_plan_dashboard_cell">
<t t-esc="dashboard['profit']['expense_amount_untaxed_to_invoice']" t-options="{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: currency}"/>
</td>
<td title="Costs from expenses that still need to be reinvoiced to your customer (provided that the Analytic Account of the Project was set on the Expense).">
To re-invoice costs
</td>
</tr>
```
**Resolution**
Update the `sale_timesheet` module.
+17 -1
View File
@@ -54,4 +54,20 @@ task start db,native
```
* Open <http://localhost:8069/web/database/manager> to access new db
* Test and remove unsupported modules
* 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: <https://www.odoo.com/de_DE/my/task/2794306?access_token=7b35c536-e265-497c-8114-4a9e9c8589ea>
+1 -103
View File
@@ -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: <tr t-if="display_cost &amp; (dashboard['profit']['expense_amount_untaxed_to_invoice'] != 0)">
<td class="o_timesheet_plan_dashboard_cell">
<t t-esc="dashboard['profit']['expense_amount_untaxed_to_invoice']" t-options="{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: currency}"/>
</td>
<td title="Costs from expenses that still need to be reinvoiced to your customer (provided that the Analytic Account of the Project was set on the Expense).">
To re-invoice costs
</td>
</tr>
```
**Resolution**
Update the `sale_timesheet` module.
## [[Odoo Upgrade from 14.0 to 15.0]]
+1 -1
View File
@@ -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 |
+31
View File
@@ -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: <http://example.com>
## REsolved
+1
View File
@@ -4,6 +4,7 @@ tags:
---
# Vorlage Troubleshooting
Übersetzung: [[Vorlage Troubleshooting.en]]
## Offen