[FIX] purchase_requisition_custom

This commit is contained in:
Samir Ladoui 2025-04-16 13:58:26 +01:00
parent 72367c108e
commit ad2d5032f5
1 changed files with 2 additions and 2 deletions

View File

@ -443,8 +443,8 @@ class PurchaseOrderCustom(models.Model):
def action_rfq_send(self):
res = super(PurchaseOrderCustom, self).action_rfq_send()
if self.state == 'wait':
self.state = 'sent'
# if self.state == 'wait':
# self.state = 'sent'
return res
@api.returns('mail.message', lambda value: value.id)