[IMP] account_invoice_constraint_chronology: black, isort, prettier
This commit is contained in:
parent
b96e164adf
commit
8f231112b8
@ -5,7 +5,7 @@
|
|||||||
"name": "Account Invoice Constraint Chronology",
|
"name": "Account Invoice Constraint Chronology",
|
||||||
"version": "13.0.1.0.0",
|
"version": "13.0.1.0.0",
|
||||||
"author": "Odoo Community Association (OCA), ACSONE SA/NV, CorporateHub",
|
"author": "Odoo Community Association (OCA), ACSONE SA/NV, CorporateHub",
|
||||||
"website": "https://github.com/OCA/account-financial-tools/",
|
"website": "https://github.com/OCA/account-financial-tools",
|
||||||
"license": "AGPL-3",
|
"license": "AGPL-3",
|
||||||
"category": "Accounting",
|
"category": "Accounting",
|
||||||
"depends": ["account"],
|
"depends": ["account"],
|
||||||
|
@ -103,7 +103,8 @@ class TestAccountInvoiceConstraintChronology(common.SavepointCase):
|
|||||||
self.invoice_1.action_post()
|
self.invoice_1.action_post()
|
||||||
refund = (
|
refund = (
|
||||||
self.AccountMoveReversal.with_context(
|
self.AccountMoveReversal.with_context(
|
||||||
active_model="account.move", active_ids=self.invoice_1.ids,
|
active_model="account.move",
|
||||||
|
active_ids=self.invoice_1.ids,
|
||||||
)
|
)
|
||||||
.create(
|
.create(
|
||||||
{"date": self.today, "reason": "no reason", "refund_method": "refund"}
|
{"date": self.today, "reason": "no reason", "refund_method": "refund"}
|
||||||
@ -119,7 +120,8 @@ class TestAccountInvoiceConstraintChronology(common.SavepointCase):
|
|||||||
self.invoice_1.action_post()
|
self.invoice_1.action_post()
|
||||||
refund = (
|
refund = (
|
||||||
self.AccountMoveReversal.with_context(
|
self.AccountMoveReversal.with_context(
|
||||||
active_model="account.move", active_ids=self.invoice_1.ids,
|
active_model="account.move",
|
||||||
|
active_ids=self.invoice_1.ids,
|
||||||
)
|
)
|
||||||
.create(
|
.create(
|
||||||
{"date": self.today, "reason": "no reason", "refund_method": "refund"}
|
{"date": self.today, "reason": "no reason", "refund_method": "refund"}
|
||||||
|
Loading…
Reference in New Issue
Block a user