[IMP] account_move_reconcile_forbid_cancel: black, isort, prettier
parent
d0b6d703c2
commit
6101ff7edc
|
@ -106,7 +106,8 @@ class TestAccountMoveReconcileForbidCancel(SavepointCase):
|
||||||
# Create payment from invoice
|
# Create payment from invoice
|
||||||
payment_register_form = Form(
|
payment_register_form = Form(
|
||||||
cls.env["account.payment"].with_context(
|
cls.env["account.payment"].with_context(
|
||||||
active_model="account.move", active_ids=cls.purchase_invoice.ids,
|
active_model="account.move",
|
||||||
|
active_ids=cls.purchase_invoice.ids,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
payment = payment_register_form.save()
|
payment = payment_register_form.save()
|
||||||
|
@ -125,7 +126,8 @@ class TestAccountMoveReconcileForbidCancel(SavepointCase):
|
||||||
# Create payment from invoice
|
# Create payment from invoice
|
||||||
payment_register_form = Form(
|
payment_register_form = Form(
|
||||||
cls.env["account.payment"].with_context(
|
cls.env["account.payment"].with_context(
|
||||||
active_model="account.move", active_ids=cls.sale_invoice.ids,
|
active_model="account.move",
|
||||||
|
active_ids=cls.sale_invoice.ids,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
payment = payment_register_form.save()
|
payment = payment_register_form.save()
|
||||||
|
|
Loading…
Reference in New Issue