[FIX] account_move_line_sale_info: tests: post -> _post

This commit is contained in:
AaronHForgeFlow
2023-10-10 12:37:41 +02:00
parent aa1e1860f1
commit 7e76e38ba1

View File

@@ -264,7 +264,7 @@ class TestAccountMoveLineSaleInfo(common.TransactionCase):
picking.button_validate()
sale._create_invoices()
invoice = sale.invoice_ids[0]
invoice.post()
invoice._post()
reversal_wizard = self.move_reversal_wiz(invoice)
credit_note = self.env["account.move"].browse(
reversal_wizard.reverse_moves()["res_id"]