Hello everyone,
I am working on migrating a database from Odoo 15 to Odoo 17, and I am facing several issues related to the accounting module.
In Odoo 15, the accounting localization for the country was implemented through a custom module, because the official localization was not yet available. Starting from Odoo 17, the localization is officially supported, but the module name is different.
I tried to adapt the custom module so it matches the official module’s name for migration purposes, but this led to many errors.
I also attempted another approach:
I tried uninstalling the Accounting (Invoicing) module in v15 to avoid conflicts during migration.
However, Odoo forces the uninstallation of Sales and Purchase, which I need to keep.
Then, I tried migrating only the database containing the Stock module, and exporting all Sales and Purchase Orders from v15 to import them into v17.
The import works, but all orders are imported in Draft state, and I need them to be aligned with their corresponding stock moves (Delivered / Received quantities, statuses, etc.).
So my questions are:
Is it possible to uninstall the Invoicing module in Odoo 15 without removing Sales and Purchase?
If not, is there a reliable way to re-link imported Sales/Purchase orders with existing Stock Moves in Odoo 17?
Any recommended approach for handling this migration scenario where a custom localization module is replaced by an official one?
Any help or suggestions would be greatly appreciated.
Thank you!