We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d047712 commit 38dd352Copy full SHA for 38dd352
1 file changed
stock_ux/models/stock_picking.py
@@ -71,10 +71,9 @@ def copy(self, default=None):
71
if not default and picking.picking_type_id.block_additional_quantity:
72
raise UserError(
73
_(
74
- 'You can not duplicate a Picking because "Block'
75
- ' Additional Quantity" is enabled on the picking type "%s"'
+ 'You can not duplicate a Picking because "Block Additional Quantity" is enabled on the picking type "%(name)s"'
76
)
77
- % (picking.picking_type_id.name)
+ % {"name": picking.picking_type_id.name}
78
79
return super().copy(default=default)
80
0 commit comments