Skip to content

Commit

Permalink
[MIG] mrp_lot_number_propagation: Backport from 15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TDu committed Nov 14, 2024
1 parent afef4f3 commit f9ac866
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 536 deletions.
90 changes: 0 additions & 90 deletions mrp_lot_number_propagation/README.rst

This file was deleted.

2 changes: 1 addition & 1 deletion mrp_lot_number_propagation/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
{
"name": "MRP Serial Number Propagation",
"version": "15.0.0.3.0",
"version": "14.0.1.0.0",
"development_status": "Beta",
"license": "AGPL-3",
"author": "Camptocamp, Odoo Community Association (OCA)",
Expand Down
2 changes: 1 addition & 1 deletion mrp_lot_number_propagation/models/mrp_bom.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ def _has_tracked_product_to_propagate(self):
for line in self.bom_line_ids:
if (
line.product_id.tracking == "serial"
and line.product_uom_id == uom_unit
and tools.float_compare(
line.product_qty, 1, precision_rounding=line.product_uom_id.rounding
)
== 0
and line.product_uom_id == uom_unit
):
return True
return False

Check warning on line 70 in mrp_lot_number_propagation/models/mrp_bom.py

View check run for this annotation

Codecov / codecov/patch

mrp_lot_number_propagation/models/mrp_bom.py#L70

Added line #L70 was not covered by tests
Expand Down
Binary file not shown.
Loading

0 comments on commit f9ac866

Please sign in to comment.