summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/purchasing_job_multi_update.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-04-18 11:36:39 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-04-18 11:36:39 +0700
commit71a3d1e9c253c995a6f7cca564fd171254e9a0e6 (patch)
treec4093a52ea79541ab368c4837e9d6cad60cc2cb8 /indoteknik_custom/models/purchasing_job_multi_update.py
parentfa1f56ebf9a00221477ec782e68db5009ba60f82 (diff)
margin po
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',