summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/mrp_production.py
diff options
context:
space:
mode:
authorIndoteknik . <it@fixcomart.co.id>2025-07-15 11:52:57 +0700
committerIndoteknik . <it@fixcomart.co.id>2025-07-15 11:52:57 +0700
commit847579fd0b1a846e89646ad270a920d124abaa5a (patch)
tree2fc21c055860fb1caab35eaf3979ad048b1107fb /indoteknik_custom/models/mrp_production.py
parent0198b0a0683cc7db1241ec9b7184c2cb608ba049 (diff)
parent4dd6ef58e2c60df7cb25b65ae6ad23d3bee2ebc1 (diff)
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into odoo-backup
Diffstat (limited to 'indoteknik_custom/models/mrp_production.py')
-rw-r--r--indoteknik_custom/models/mrp_production.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_custom/models/mrp_production.py b/indoteknik_custom/models/mrp_production.py
index 85b8405f..7977bdf7 100644
--- a/indoteknik_custom/models/mrp_production.py
+++ b/indoteknik_custom/models/mrp_production.py
@@ -156,6 +156,8 @@ class MrpProduction(models.Model):
'order_id': new_po.id
}])
+ new_po.button_confirm()
+
self.is_po = True
return po_ids