diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-04-21 16:04:12 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-04-21 16:04:12 +0700 |
| commit | 707f4e157504db80d771cb43829407ac04584252 (patch) | |
| tree | acdd31468ec27866e97b34a2888a1258229cc6dc /jasper_reports/models | |
| parent | 1e7d2399f9c228d2fc07a97c0923f31ad2725418 (diff) | |
push
Diffstat (limited to 'jasper_reports/models')
| -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 1bc099c..d65ee9d 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: raise UserError('DO Harus isi Mapping Koli terlebih dahulu, baru bisa di print') |
