Skip to content

Commit fa18e1e

Browse files
committed
[IMP] improve logging
Better use of logging so tools like sentry deduplicate the message.
1 parent e5bf088 commit fa18e1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base_delivery_carrier_label/models/stock_move_line.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def get_weight(self):
3333
# if not defined we assume it's in kg
3434
if product.uom_id.id not in allowed:
3535
_logger.warning(
36-
"Type conversion not implemented for product %s" % product.id
36+
"Type conversion not implemented for product %s", product.id
3737
)
3838
cant_calc_total = True
3939
# reserved_qty may be 0 if you don't set move line

0 commit comments

Comments
 (0)