bemade_update_validity_date_when_send_so: fix action method returning void.
This commit is contained in:
parent
17fd9001bc
commit
53ac9d9112
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue