summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiqdad <ahmadmiqdad27@gmail.com>2025-05-17 11:06:37 +0700
committerMiqdad <ahmadmiqdad27@gmail.com>2025-05-17 11:06:37 +0700
commita9b205f38697c53410a2859aff7b2d79acc9dcd0 (patch)
tree080b5af44cde91275cd5c5c468f397bff851512a
parentb538a71e652ace658eb20553ab9f0a7a561c09ce (diff)
<miqdad> fix typo
-rwxr-xr-xindoteknik_custom/models/sale_order.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py
index 4202626f..71bbd648 100755
--- a/indoteknik_custom/models/sale_order.py
+++ b/indoteknik_custom/models/sale_order.py
@@ -1156,7 +1156,7 @@ class SaleOrder(models.Model):
return helper_ids_str.split(', ')
def write(self, values):
- if 'paymente_term_id' in values:
+ if 'payment_term_id' in values:
for record in self:
if record.payment_term_id not in ['cancel',
'draft'] and record.approval_status == 'approved':