diff options
| -rw-r--r-- | indoteknik_custom/models/report_stock_forecasted.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/report_stock_forecasted.py b/indoteknik_custom/models/report_stock_forecasted.py index 6058b7e5..e767a5b8 100644 --- a/indoteknik_custom/models/report_stock_forecasted.py +++ b/indoteknik_custom/models/report_stock_forecasted.py @@ -12,7 +12,7 @@ class ReplenishmentReport(models.AbstractModel): document_out = line.get('document_out') model_name = document_out._name - if document_out and model_name == 'sale.order': + if document_out and "SO/" in document_out.name: order_id = document_out.id if document_out == False: continue |
