summaryrefslogtreecommitdiff
path: root/jasper_reports/models/report_xml.py
diff options
context:
space:
mode:
Diffstat (limited to 'jasper_reports/models/report_xml.py')
-rwxr-xr-xjasper_reports/models/report_xml.py2
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')