diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-04-22 11:58:55 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-04-22 11:58:55 +0700 |
| commit | 3034e80a690de301d738687e94456304cac6110a (patch) | |
| tree | 241b785fb119c14d8a10af04456045cad640d1aa /jasper_reports | |
| parent | 707f4e157504db80d771cb43829407ac04584252 (diff) | |
push
Diffstat (limited to 'jasper_reports')
| -rwxr-xr-x | jasper_reports/models/report_xml.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jasper_reports/models/report_xml.py b/jasper_reports/models/report_xml.py index d65ee9d..9773cd7 100755 --- a/jasper_reports/models/report_xml.py +++ b/jasper_reports/models/report_xml.py @@ -197,7 +197,7 @@ class ReportXml(models.Model): if not picking.state == 'done' and picking.create_date < threshold_datetime: raise UserError('DO Harus complete terlebih dahulu, baru bisa di print') - if picking.picking_type_code == 'outgoing' and 'BU/OUT/' in picking.name and picking.total_mapping_koli == 0 and picking.create_date > threshold_datetime: + if picking.picking_type_code == 'outgoing' and 'BU/OUT/' in picking.name and picking.total_mapping_koli == 0 and picking.create_date > threshold_datetime and picking.so_lama == False: raise UserError('DO Harus isi Mapping Koli terlebih dahulu, baru bisa di print') |
