summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/purchase_order.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-07-01 09:36:21 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-07-01 11:48:19 +0700
commit498b7f73857189d1b22204c3f71f35d03ec4afb7 (patch)
tree51be9fded0803b821934c2ade4ab2944271db91c /indoteknik_custom/models/purchase_order.py
parent8767ca7aed495a70114fdbaaa61b0772c497b4d0 (diff)
add sale order on po bom and add bom on po bom
Diffstat (limited to 'indoteknik_custom/models/purchase_order.py')
-rwxr-xr-xindoteknik_custom/models/purchase_order.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/purchase_order.py b/indoteknik_custom/models/purchase_order.py
index 1a7e50f8..a3941b3b 100755
--- a/indoteknik_custom/models/purchase_order.py
+++ b/indoteknik_custom/models/purchase_order.py
@@ -97,6 +97,7 @@ class PurchaseOrder(models.Model):
string="BU Related Count",
compute='_compute_bu_related_count'
)
+ manufacturing_id = fields.Many2one('mrp.production', string='Manufacturing Orders')
@api.depends('name')
def _compute_bu_related_count(self):