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
Andrea Stirpe
parent
7ae0739e33
commit
a484858560
@@ -197,7 +197,7 @@ class TestAccountMoveLinePurchaseInfo(common.TransactionCase):
|
||||
f.partner_id = purchase.partner_id
|
||||
f.purchase_id = purchase
|
||||
invoice = f.save()
|
||||
invoice.action_post()
|
||||
invoice._post()
|
||||
purchase.flush()
|
||||
|
||||
for aml in invoice.invoice_line_ids:
|
||||
|
||||
Reference in New Issue
Block a user