diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-01-18 11:34:54 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-01-18 11:34:54 +0700 |
| commit | fb62bc36bf74496ecc4759b01cf95fce5000c09c (patch) | |
| tree | 7d05ffbae178956ed1b4b623e3617e2d5feb8b6f | |
| parent | 37bb5cfca00b841f8204ebbc9dd5f88bbd6cc022 (diff) | |
command bug function
| -rwxr-xr-x | indoteknik_custom/models/purchase_order.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/purchase_order.py b/indoteknik_custom/models/purchase_order.py index 92632ea3..b44ce70a 100755 --- a/indoteknik_custom/models/purchase_order.py +++ b/indoteknik_custom/models/purchase_order.py @@ -301,7 +301,7 @@ class PurchaseOrder(models.Model): if not self.sale_order_id and not self.env.user.is_purchasing_manager and not self.env.user.is_leader: raise UserError("Tidak ada link dengan SO, harus approval Manager") send_email = False - self.add_product_to_pricelist() + # self.add_product_to_pricelist() for line in self.order_line: if not line.product_id.purchase_ok: raise UserError("Terdapat barang yang tidak bisa diproses") |
