diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2024-05-21 11:00:22 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2024-05-21 11:00:22 +0700 |
| commit | 3c43dad74ebb3feef42ddb871a794ea1763e7008 (patch) | |
| tree | 1d5eee0e6de2a6a638ac675813a824ff6b1f8234 | |
| parent | f43c3abd858b5bac2ec920e553bc6566845d2a08 (diff) | |
fix wrong status in dunning run
| -rw-r--r-- | indoteknik_custom/models/ged.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/ged.py b/indoteknik_custom/models/ged.py index 9b949687..5de47a6e 100644 --- a/indoteknik_custom/models/ged.py +++ b/indoteknik_custom/models/ged.py @@ -169,7 +169,7 @@ class GedApi(models.Model): last_location = last_status['location'] last_description = last_status['description'] last_status_detail = last_status['status_detail'] - # header_last_status = last_status = last_status['status'] + header_last_status = last_status['status'] param_header = { 'status': status, @@ -202,7 +202,7 @@ class GedApi(models.Model): 'last_location': last_location, 'last_description': last_description, 'last_status_detail': last_status_detail, - 'last_status': last_status + 'last_status': header_last_status } ged_tracking = self.env['ged.tracking'].create(param_header) |
