mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[IMP] account_move_reconcile_forbid_cancel: black, isort, prettier
This commit is contained in:
@@ -106,7 +106,8 @@ class TestAccountMoveReconcileForbidCancel(SavepointCase):
|
||||
# Create payment from invoice
|
||||
payment_register_form = Form(
|
||||
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()
|
||||
@@ -125,7 +126,8 @@ class TestAccountMoveReconcileForbidCancel(SavepointCase):
|
||||
# Create payment from invoice
|
||||
payment_register_form = Form(
|
||||
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()
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
../../../../account_move_reconcile_forbid_cancel
|
||||
6
setup/account_move_reconcile_forbid_cancel/setup.py
Normal file
6
setup/account_move_reconcile_forbid_cancel/setup.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import setuptools
|
||||
|
||||
setuptools.setup(
|
||||
setup_requires=['setuptools-odoo'],
|
||||
odoo_addon=True,
|
||||
)
|
||||
Reference in New Issue
Block a user