diff options
| author | Anh Thao Pham (pta) <pta@odoo.com> | 2021-04-19 13:45:49 +0000 |
|---|---|---|
| committer | Anh Thao Pham (pta) <pta@odoo.com> | 2021-04-21 12:27:51 +0000 |
| commit | b41cf0077c9a6d1d74cc0c7987c0edcc58e368d1 (patch) | |
| tree | 563efae2961faf4cb75f4fd78f5ecb98e4bb4482 /doc/python3.rst | |
| parent | 33a690a6a554e5f2addc7c00a3a37bdf3b691984 (diff) | |
[FIX] sale: avoid re-invoicing invoiced SO lines
- Create a product:
* Invoicing Policy: Delivered quantities
* Re-invoice Expenses: At cost
- Create a SO with the created product in Order Lines
- Make sure the subtotal of the SO line is equal to 0, by setting an Unit Price to 0
or by applying a 100% discount
- Confirm SO and create an invoice (Regular invoice)
- Post the invoice
A new line with the same product and the same delivered quantity is added to the SO.
It is not possible to invoice a SO line with a product having an expense policy and
a subtotal equal to 0, without having it reinvoiced to the SO.
This fix will prevent account move lines linked to a SO line from being reinvoiced.
opw-2479560
closes odoo/odoo#69603
X-original-commit: 1aeb8c955fdddf044bf5f54122c4e73a26e21939
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Signed-off-by: Anh Thao PHAM <kitan191@users.noreply.github.com>
Diffstat (limited to 'doc/python3.rst')
0 files changed, 0 insertions, 0 deletions
