Merge pull request #2782 from expsa/samir-aladawi-fix-purchase-requisition

[FIX] purchase_requisition_custom
This commit is contained in:
SamirLADOUI-sa 2025-04-16 13:59:13 +01:00 committed by GitHub
commit 3eee375543
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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)