diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2024-05-21 10:53:34 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2024-05-21 10:53:34 +0700 |
| commit | f43c3abd858b5bac2ec920e553bc6566845d2a08 (patch) | |
| tree | 4935490b8c9bd368ab2ce2d9f0be497d75061593 | |
| parent | d9978ad05ab9a709467070fc6770af077cb38848 (diff) | |
add validation while query dunning run
| -rw-r--r-- | indoteknik_custom/models/ged.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_custom/models/ged.py b/indoteknik_custom/models/ged.py index c380088b..9b949687 100644 --- a/indoteknik_custom/models/ged.py +++ b/indoteknik_custom/models/ged.py @@ -246,7 +246,8 @@ class DunningRunGed(models.Model): query = [ ('last_status_awb', '!=', 'POD Return'), ('resi_tukar_faktur', '=', False), - ('shipper_faktur_id', '=', 123) + ('shipper_faktur_id', '=', 123), + ('date_terima_tukar_faktur', '=', False) ] dunnings = self.env['dunning.run'].search(query) |
