diff options
| -rwxr-xr-x | indoteknik_custom/models/purchase_order.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/indoteknik_custom/models/purchase_order.py b/indoteknik_custom/models/purchase_order.py index ca106a68..acc737e8 100755 --- a/indoteknik_custom/models/purchase_order.py +++ b/indoteknik_custom/models/purchase_order.py @@ -96,8 +96,6 @@ class PurchaseOrder(models.Model): raise UserError("Beda tax amount dengan Sales, harus Approval Manager") elif est_purchase_price < real_purchase_price and self.env.user.id != 6 and self.env.user.id != 7: raise UserError("Beda Price dengan Sales, harus Approval Manager") - # elif line.product_id.type == 'service' and self.env.user_id != 6: - # raise UserError("Ada tambahan Ongkos kirim, harus Approval Manager") self.approval_status = 'approved' return res |
