Hello everyone,
I am facing an issue with Odoo Community Edition in a multi-company environment regarding unique references for quotations, purchase orders (PO), and invoices. Here are the details:
- I have multiple companies configured in Odoo.
- I created separate sequences for each company in Settings > Technical > Sequences & Identifiers > Sequences.
- Initially, each company generates unique references correctly (PO0001 for Company 1 and PO0001 for Company 2).
Problem:
After a few orders and purchases, Odoo starts throwing the following error:
"The operation cannot be completed: The reference must be unique per company!"
This happens even though I have configured separate sequences for each company.
Goal:
I want each company to consistently generate unique references for its documents without encountering this error.
Question:
How can I configure Odoo to ensure that each company uses its own sequence and avoids this error?
Thank you in advance for your help!