From 1d0be5d6fe6d3e59c76132c9e06ba870013b4306 Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Fri, 19 Jul 2024 10:49:54 +0700 Subject: fix error --- indoteknik_custom/models/report_stock_forecasted.py | 1 - 1 file changed, 1 deletion(-) diff --git a/indoteknik_custom/models/report_stock_forecasted.py b/indoteknik_custom/models/report_stock_forecasted.py index e767a5b8..5f9427f8 100644 --- a/indoteknik_custom/models/report_stock_forecasted.py +++ b/indoteknik_custom/models/report_stock_forecasted.py @@ -10,7 +10,6 @@ class ReplenishmentReport(models.AbstractModel): for line in lines: document_out = line.get('document_out') - model_name = document_out._name if document_out and "SO/" in document_out.name: order_id = document_out.id -- cgit v1.2.3