contract icon indicating copy to clipboard operation
contract copied to clipboard

search for contract.line in state "in-progress" domain

Open wpichler opened this issue 2 years ago • 0 comments

Hi all,

as far as i understand the contract.line state "in-progress" correct - this state is for all lines which are started, not canceled - or date date is not set / in the future and is_auto_renew is set or is_auto_renew is not set - and _compute_termination_notice_date is in future.

My problem here is - why is here only a check for _compute_termination_notice_date in the future - why is here no check for _compute_termination_notice_date not set ?

See: https://github.com/OCA/contract/blob/ddbcb946759e93f1650d4a98aa4e125d0481ecda/contract/models/contract_line.py#L214

wpichler avatar May 09 '22 12:05 wpichler