diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-09-13 10:30:15 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-09-13 10:30:15 +0700 |
| commit | c81f7b9f21d5ae9c77758a67bbf961fb42697dd8 (patch) | |
| tree | bf91d792a5188e54faaf577534d00e6c97946049 | |
| parent | bd29d3fb44f693e950236b67b6a9a6ce64690505 (diff) | |
validation product sementara
| -rw-r--r-- | indoteknik_custom/models/sale_order_line.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/sale_order_line.py b/indoteknik_custom/models/sale_order_line.py index a64a744c..50438dbe 100644 --- a/indoteknik_custom/models/sale_order_line.py +++ b/indoteknik_custom/models/sale_order_line.py @@ -348,7 +348,7 @@ class SaleOrderLine(models.Model): def validate_line(self): for line in self: - if line.product_id.id in [385544, 224484]: + if line.product_id.id in [385544, 224484, 417724]: raise UserError('Produk Sementara Tidak Bisa Di Confirm atau Ask Approval') if not line.product_id or line.product_id.type == 'service': continue |
