diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2025-12-18 09:28:59 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2025-12-18 09:28:59 +0700 |
| commit | 48e81bf679958286b15812ed5c8982b25e4e3843 (patch) | |
| tree | 81485d3a9c447ef204a1ba372c5f533cf16452aa /indoteknik_custom/models | |
| parent | a8de47d71da75c9351da76ac87ba6046d5b152c3 (diff) | |
add customer name in commission internal line
Diffstat (limited to 'indoteknik_custom/models')
| -rw-r--r-- | indoteknik_custom/models/commission_internal.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_custom/models/commission_internal.py b/indoteknik_custom/models/commission_internal.py index cd6da380..4de5c723 100644 --- a/indoteknik_custom/models/commission_internal.py +++ b/indoteknik_custom/models/commission_internal.py @@ -259,6 +259,7 @@ class CommissionInternal(models.Model): 'res_name': data['res_name'], 'res_id': data['res_id'], 'name': data['name'], + 'customer': data['customer'], 'salesperson': data['salesperson'], 'totalamt': data['amount_total'], 'uang_masuk_line_id': data['uang_masuk_line_id'], @@ -271,7 +272,6 @@ class CommissionInternal(models.Model): 'helper1': data['helper1'], 'helper2': data['helper2'] }]) - print(1) # this button / method works for train data in July 2025 def calculate_commission_internal_from_keyword(self): @@ -390,3 +390,4 @@ class CommissionInternalResult(models.Model): helper3 = fields.Char(string='Helper3') helper4 = fields.Char(string='Helper4') helper5 = fields.Char(string='Helper5') + customer = fields.Char(string='Customer') |
