Update purchase_request.py

This commit is contained in:
zainab2097 2024-09-29 15:34:23 +03:00 committed by GitHub
parent 19b3cb00e0
commit 32fb2d2b0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ class PurchaseRequest(models.Model):
'purpose': self.purchase_purpose,
'purchase_cost': 'product_line',
'order_line': line_ids,
'res_model':"purchase.request"
'res_model':"purchase.request",
'res_id': self.id, # Reference to the current purchase order