| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 95 |
| Technical Name |
product_variant_account |
| License | LGPL-3 |
| Website | https://nath.uk |
Product Variant Income & Expense Accounts
Post different variants of the same product to different accounts
Odoo lets you set an income and expense account on the product template and the product category — but every variant of a template is forced to share those same accounts. This module adds a per-variant income/expense account override.
What it does
- Adds an Income Account and Expense Account to every product variant.
- Editable straight from the product's Accounting tab, as a per-variant list.
- Applied on customer invoices, vendor bills and Point of Sale.
- Fiscal-position account mapping is preserved.
Safe fallback
Leave a variant's override empty and Odoo falls back to the usual template / category account. Nothing changes on an existing database until you opt in, variant by variant.
Requirement: real product variants
The per-variant accounts apply to products that have actual variant records. A product only has separate variants when its attribute's Variants Creation mode is set to Instantly (Inventory → Configuration → Attributes).
If an attribute is set to Never (option) the product stays a single variant, so there is nothing per-variant to configure and the Variant-specific Accounts list does not appear — the standard template/category account is used instead.
How to use
- Open a product with more than one variant.
- Go to the Accounting tab.
- In Variant-specific Accounts, set the account(s) for the variants that need them.
Please log in to comment on this module