SIT - Sale line non invoiceable
Sale line with total to zero will not be considered as invoiceable
Type d'abonnement: Socle |
=========================== Sale Line Non Invoiceable ===========================
.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png :target: https://odoo-community.org/page/development-status :alt: Mature .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: ../../simplicit-core_github_badge.png :target: https://github.com/simplicit-odoo/simplicit-core/tree/15.0/accounting :alt: Simplicit-core/Accounting
|badge1| |badge2| |badge3|
Sale line with total to zero will not be considered as invoiceable.
Table of contents
.. contents:: :local:
Usage
In standard Odoo, the invoiceable status of a Sale Order Line only depends on the invoicing policy of the product and is computed equally whether the line has a subtotal > 0 or not. As a consequence, Sale Order stays in "To Invoice" status until the users creates the invoice, even though there is actually nothing to invoice and the invoice total will be 0. In some cases having all lines of the order appear in the invoices might indeed be necessary, but for some businesses this is just annoying.
In that regard, this modules changes the computation of 'Quantity To Invoice' on Sale Order Lines so that a line whose subtotal is 0 will not be considered invoiceable, regardless of invoicing policy or whether it has been delivered.
No configuration required.
Credits
Authors ~~~~~~~
- SimplicIT https://simplicit.eu
Contributors ~~~~~~~~~~~~
- Hugo BOICHAT hboichat@simplicit.pro
- Mallory MARCOT mmarcot@simplicit.pro