summaryrefslogtreecommitdiff
path: root/fixco_custom/models/purchase_order.py
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2026-01-08 04:39:33 +0000
committerIT Fixcomart <it@fixcomart.co.id>2026-01-08 04:39:33 +0000
commitf5e9a57a021902317297eba2441a00b8968ba38c (patch)
tree1cc9916cab45f7afb00971fcb4c3dfde7e03dc14 /fixco_custom/models/purchase_order.py
parent6659dcfa24fb1a1923f47be4e0b697489dd0a3bf (diff)
parent5c332365e81cda9a7bdb233a31880c3bec1d1e0e (diff)
Merged main into print_picking_list
Diffstat (limited to 'fixco_custom/models/purchase_order.py')
-rw-r--r--fixco_custom/models/purchase_order.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/fixco_custom/models/purchase_order.py b/fixco_custom/models/purchase_order.py
index ef80112..746ee89 100644
--- a/fixco_custom/models/purchase_order.py
+++ b/fixco_custom/models/purchase_order.py
@@ -73,6 +73,7 @@ class PurchaseOrder(models.Model):
'ref': self.partner_ref or '',
'move_type': move_type,
'invoice_date': datetime.utcnow(),
+ 'purchase_order_id': self.id,
'narration': self.notes,
'currency_id': self.currency_id.id,
'invoice_user_id': self.user_id and self.user_id.id or self.env.user.id,