diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-06-19 16:09:33 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-06-19 16:09:33 +0700 |
| commit | 63bc8cf104e4c8b0908df8f573d137fcf38c1b5c (patch) | |
| tree | 526b692218d68874b8152e4f6e881f7e9a32a54f | |
| parent | 9187e2c22d9a537196c05c092762814fe362f8c0 (diff) | |
| parent | 3e1b0f5e05edebcdc6b78befc3c13cec2490799f (diff) | |
Merge branch 'release' of bitbucket.org:altafixco/indoteknik-addons into release
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py index 52b959db..5293b0fb 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -358,7 +358,7 @@ class SaleOrder(models.Model): # must add product can sell validation if not line.product_id.product_tmpl_id.sale_ok: raise UserError('Product %s belum bisa dijual, harap hubungi finance' % line.product_id.display_name) - if line.product_id.id == 232383: + if line.product_id.id == 224484: raise UserError(_('Tidak bisa Confirm menggunakan Produk Sementara')) if not line.vendor_id or not line.purchase_price or not line.purchase_tax_id: raise UserError(_('Isi Vendor, Harga Beli, dan Tax sebelum Request Approval')) |
