From 71a3d1e9c253c995a6f7cca564fd171254e9a0e6 Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Thu, 18 Apr 2024 11:36:39 +0700 Subject: margin po --- indoteknik_custom/models/purchasing_job_multi_update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indoteknik_custom/models/purchasing_job_multi_update.py') 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', -- cgit v1.2.3