diff options
| -rw-r--r-- | indoteknik_custom/models/commission_internal.py | 3 | ||||
| -rw-r--r-- | indoteknik_custom/views/commission_internal.xml | 1 |
2 files changed, 3 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') diff --git a/indoteknik_custom/views/commission_internal.xml b/indoteknik_custom/views/commission_internal.xml index 2f3db5b0..d84eb4b8 100644 --- a/indoteknik_custom/views/commission_internal.xml +++ b/indoteknik_custom/views/commission_internal.xml @@ -108,6 +108,7 @@ <field name="res_name" optional="hide"/> <field name="res_id" optional="hide"/> <field name="name"/> + <field name="customer"/> <field name="salesperson"/> <field name="totalamt"/> <field name="uang_masuk_line_id" optional="hide"/> |
