Skip to content

Commit

Permalink
[16.0][FIX] ddmrp, bom structure report variable lead time should be …
Browse files Browse the repository at this point in the history
…a boolean in case of empty
  • Loading branch information
ChrisOForgeFlow committed Oct 19, 2023
1 parent 1e74d64 commit a644af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddmrp/report/mrp_report_bom_structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def _get_component_data(
or 0.0
)
res["is_buffered"] = bom_line.is_buffered
res["lead_time"] = lead_time or ""
res["lead_time"] = lead_time or False

Check warning on line 78 in ddmrp/report/mrp_report_bom_structure.py

View check run for this annotation

Codecov / codecov/patch

ddmrp/report/mrp_report_bom_structure.py#L78

Added line #L78 was not covered by tests
res["dlt"] = bom_line.dlt
return res

Expand Down

0 comments on commit a644af9

Please sign in to comment.