mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] contract: black, isort, prettier
This commit is contained in:
committed by
Jean-Charles Drubay
parent
9ecf2bb3f5
commit
0853330308
@@ -43,7 +43,9 @@ class ContractRecurrencyBasicMixin(models.AbstractModel):
|
||||
),
|
||||
)
|
||||
recurring_interval = fields.Integer(
|
||||
default=1, string="Invoice Every", help="Invoice every (Days/Week/Month/Year)",
|
||||
default=1,
|
||||
string="Invoice Every",
|
||||
help="Invoice every (Days/Week/Month/Year)",
|
||||
)
|
||||
date_start = fields.Date(string="Date Start")
|
||||
recurring_next_date = fields.Date(string="Date of Next Invoice")
|
||||
@@ -80,10 +82,12 @@ class ContractRecurrencyMixin(models.AbstractModel):
|
||||
)
|
||||
date_end = fields.Date(string="Date End", index=True)
|
||||
next_period_date_start = fields.Date(
|
||||
string="Next Period Start", compute="_compute_next_period_date_start",
|
||||
string="Next Period Start",
|
||||
compute="_compute_next_period_date_start",
|
||||
)
|
||||
next_period_date_end = fields.Date(
|
||||
string="Next Period End", compute="_compute_next_period_date_end",
|
||||
string="Next Period End",
|
||||
compute="_compute_next_period_date_end",
|
||||
)
|
||||
last_date_invoiced = fields.Date(
|
||||
string="Last Date Invoiced", readonly=True, copy=False
|
||||
|
||||
Reference in New Issue
Block a user