diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-09-28 11:17:02 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-09-28 11:17:02 +0700 |
| commit | 009be5919cb5835f98f5882f69b3a7652e8ec658 (patch) | |
| tree | 6260d9a1da11b83f8e38db256c3a234fd68cb362 | |
| parent | 7e27706cca01443b8476afeaa856fa2cc3c12deb (diff) | |
Update purchase_order.py
| -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 |
