How can I add 42 days to an date-field?
I need help with that, I want to add 42days to the invouce_payed field and put it on a new date.field like:
pay_date_two
@api.onchange('invoice_payed')
def _check_change(self):
self.pay_date_two
# = self.invoice_payed
self.pay_date_two = self.pay_date_two + datetime.timedelta(days=42)