[FIX] purchase_requisition_custom
This commit is contained in:
parent
72367c108e
commit
ad2d5032f5
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue