summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/purchasing_job_multi_update.py
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2024-04-23 10:41:48 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2024-04-23 10:41:48 +0700
commit2fc3d45984feaf591fbd74f0ba04b692486311ed (patch)
tree87a8ff2d2bd0fef2fe5cbb1f4e1a12b2b0eb3f4c /indoteknik_custom/models/purchasing_job_multi_update.py
parent5dc329c18c278d8eaed23cfb0ea060ac7685cea2 (diff)
parent391d7a3b93eff3eabee371b35ec5287e1f0afdd2 (diff)
Merge branch 'production' into feature/request-by-abl
Diffstat (limited to 'indoteknik_custom/models/purchasing_job_multi_update.py')
-rw-r--r--indoteknik_custom/models/purchasing_job_multi_update.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/purchasing_job_multi_update.py b/indoteknik_custom/models/purchasing_job_multi_update.py
index f3d07597..65feba71 100644
--- a/indoteknik_custom/models/purchasing_job_multi_update.py
+++ b/indoteknik_custom/models/purchasing_job_multi_update.py
@@ -20,7 +20,7 @@ class PurchasingJobMultiUpdate(models.TransientModel):
'status_apo': 'apo',
})
- apo = products.generate_request_po()
+ apo = self.env['automatic.purchase'].generate_regular_purchase(products)
return {
'name': _('Automatic Purchase'),
'view_mode': 'tree,form',