mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[FIX] call correct method _post() to post invoices
This commit is contained in:
committed by
AlexPForgeFlow
parent
3261636570
commit
8d5d448afe
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user