diff --git a/bemade_update_validity_date_when_send_so/models/sale_order.py b/bemade_update_validity_date_when_send_so/models/sale_order.py index 1637dd2..9919597 100644 --- a/bemade_update_validity_date_when_send_so/models/sale_order.py +++ b/bemade_update_validity_date_when_send_so/models/sale_order.py @@ -25,4 +25,4 @@ class SaleOrder(models.Model): # Updates the validity date to 30 days from now self.validity_date = datetime.now() + timedelta(days=30) # Calls the original 'action_quotation_send' method from 'sale.order' - super(SaleOrder, self).action_quotation_send() + return super(SaleOrder, self).action_quotation_send()