diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2026-01-08 10:23:29 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2026-01-08 10:23:29 +0700 |
| commit | 5c332365e81cda9a7bdb233a31880c3bec1d1e0e (patch) | |
| tree | 99209950c78011d98a24007a85452b2ae4554091 /fixco_custom/models/purchase_order.py | |
| parent | 23b2c540774c064a69c77ed3de29d9f99ffae904 (diff) | |
push
Diffstat (limited to 'fixco_custom/models/purchase_order.py')
| -rw-r--r-- | fixco_custom/models/purchase_order.py | 1 |
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, |
