Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
255 Widoki

I have a database with the standard subscription, it has already some modules installed and user for almost a year, Accounting, Inventory, Purchases, Sales, etc.

I wanted to activate Takeaway Restaurant industry which include several modules like POS, Website, etc. when I do this I get the following error I don't know how to solve:

"Invalid Operation

Error while importing module 'takeaway_restaurant'. while parsing /tmp/tmp_sto4lex/takeaway_restaurant/data/res_config_settings.xml:3 Cannot change Price Tax computation method on a company that has already started invoicing. View error context: '-no context-'"

I have Odoo v18.4 as context I have just upgraded from v18 I am trying to install this in the test instance that was created for the migration.

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,


The error appears because in Odoo v18 you cannot change the Price Tax computation method once a company has started invoicing. The Takeaway Restaurant industry bundle includes predefined settings in its configuration files, and one of these attempts to change the tax computation method. Since your company already has accounting data, Odoo blocks the change to preserve consistency.


This means the installation isn’t failing because of POS, Website, or other modules, but because the industry template tries to enforce a tax setting that conflicts with your existing data. The workaround is to avoid installing the industry bundle directly and instead install the required modules individually, such as POS, Website, and Restaurant.


Alternatively, if you have access to the source, you could remove or adjust the tax-setting line in the industry module before installation. Another option is to create a new company without invoices, where the industry bundle can be applied cleanly. For your migration test, the simplest approach is to skip the industry template and install the apps you need manually.


Hope it helps

Awatar
Odrzuć
Autor Najlepsza odpowiedź

Thank you, that way it worked

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
wrz 25
1877