In website quote module, we have copy method. Below given code
@api.multi
def copy(self, default=None):
if self.template_id and self.template_id.number_of_days > 0:
default = dict(default or {})
default['validity_date'] = fields.Date.to_string(datetime.now() + timedelta(self.template_id.number_of_days))
return super(SaleOrder, self).copy(default=default)
I don't want to call this method while duplicating quotation. This can be achieved without commenting code at core module? (Website_quote)