mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[FIX] - filter by termination_notice for contract line to renew
This commit is contained in:
@@ -1256,7 +1256,10 @@ class TestContract(TestContractBase):
|
||||
{'date_end': fields.Date.today() - relativedelta(months=2)}
|
||||
)
|
||||
self.acct_line.copy(
|
||||
{'date_end': fields.Date.today() + relativedelta(months=2)}
|
||||
{
|
||||
'date_end': fields.Date.today() + relativedelta(months=2),
|
||||
'is_auto_renew': False,
|
||||
}
|
||||
)
|
||||
to_renew = self.acct_line.search(
|
||||
self.acct_line._contract_line_to_renew_domain()
|
||||
|
||||
Reference in New Issue
Block a user