This module is a glue module between the modules product_analytic and sale.
The module product_analytic inherits the create() method of account.move.line to add the Analytic Account depending on the Product. But it is not enough in some specific scenarios: for exemple, if you have Analytic Policy set to Required on Revenue accounts and you have a sale tax configured with a revenue account and with the option Include in Analytic Cost enabled, then Odoo will not allow to create the invoice from a sale order. This module solves this issue by inheriting the method _prepare_invoice_line() of the sale order line.
Table of contents
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
- Akretion
- Alexis de Lattre <[email protected]>
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Current maintainer:
This module is part of the OCA/account-analytic project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.