minor fix
This commit is contained in:
parent
02b92e038a
commit
dd70a08fa1
|
@ -987,8 +987,9 @@ class CreateInvoicesFromContract(Wizard):
|
|||
return True
|
||||
else:
|
||||
False
|
||||
if product.start_date and not product.end_date and self.same_month(product.start_date, period.start_date):
|
||||
return True
|
||||
if product.start_date and not product.end_date:
|
||||
if product.start_date < period.end_date:
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
|
|
Loading…
Reference in New Issue