This module extends account_invoice_section_sale_order
to allow using pickings
linked to the sale order line for the grouping invoice lines when invoicing sale
orders.
Table of contents
Known issues / Roadmap
- The selection of pickings for the section name relies on the last invoice that was created and is linked to the sale order line. In such case, there’s no guarantee the selection is correct if the quantity is reduced on prior invoice lines.
- Moreover, as Odoo considers the draft invoices for the computation of
qty_invoiced
on sales order line, we couldn’t base the selection of the last invoice on another field than thecreate_date
although it would have been cleaner to rely on adate
field, but this one is only set on the posting. Finally, defining another field for the generation of invoices wouldn’t have helped solve these issues.
Bug Tracker
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 to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
- Akim Juillerat <akim.juillerat@camptocamp.com>
Maintainers
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.
This module is part of the OCA/account-invoicing project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.