diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-10-31 13:58:41 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-10-31 13:58:41 +0700 |
| commit | c6483e28695653497b9576ab01877e6d71a4103f (patch) | |
| tree | 920b4084bd71ac244c113c2c89993d401de29401 /indoteknik_custom/models/crm_lead.py | |
| parent | d8c12d085edbd81d974555780b16421c7b155f7f (diff) | |
| parent | 57f30e319a3f3c6c6c87418ffb12e44ac6846fe2 (diff) | |
Merge branch 'production' into iman/pengajuan-tempo
Diffstat (limited to 'indoteknik_custom/models/crm_lead.py')
| -rwxr-xr-x | indoteknik_custom/models/crm_lead.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_custom/models/crm_lead.py b/indoteknik_custom/models/crm_lead.py index de2bdb12..078d9810 100755 --- a/indoteknik_custom/models/crm_lead.py +++ b/indoteknik_custom/models/crm_lead.py @@ -31,6 +31,8 @@ class CrmLead(models.Model): if rec.email_from == 'api.noreply@altama.co.id' and rec.name.startswith('INDOTEKNIK|ODOO|'): rec.user_id = 20 # User ID: Nabila Rahmawati + if not rec.user_id: + rec.user_id = 2 # User ID: Sales return rec @api.onchange('user_id') |
