2
0

[FIX] call correct method _post() to post invoices

This commit is contained in:
Miquel Raïch 2021-12-16 14:55:32 +01:00 committed by AlexPForgeFlow
parent 3261636570
commit 8d5d448afe

View File

@ -203,7 +203,7 @@ class TestAccountMoveLineSaleInfo(common.TransactionCase):
)
payment.create_invoices()
invoice = sale.invoice_ids[0]
invoice.post()
invoice._post()
for aml in invoice.line_ids:
if aml.product_id == so_line.product_id and aml.move_id: