diff --git a/addons/stock/i18n/stock.pot b/addons/stock/i18n/stock.pot index 7ca74675b3b..f0a1e5669fb 100644 --- a/addons/stock/i18n/stock.pot +++ b/addons/stock/i18n/stock.pot @@ -3087,6 +3087,13 @@ msgstr "" msgid "If set, the operations are packed into this package" msgstr "" +#. module: stock +#: model:ir.model.fields,help:stock.field_lot_label_layout__label_quantity +msgid "" +"If the UoM of a lot is not 'units', the lot will be considered as a unit and" +" only one label will be printed for this lot." +msgstr "" + #. module: stock #: model:ir.model.fields,help:stock.field_stock_warehouse_orderpoint__active msgid "" diff --git a/addons/stock/wizard/stock_lot_label_layout.py b/addons/stock/wizard/stock_lot_label_layout.py index 505d4411530..f8505106486 100644 --- a/addons/stock/wizard/stock_lot_label_layout.py +++ b/addons/stock/wizard/stock_lot_label_layout.py @@ -12,7 +12,7 @@ class ProductLabelLayout(models.TransientModel): picking_ids = fields.Many2many('stock.picking') label_quantity = fields.Selection([ ('lots', 'One per lot/SN'), - ('units', 'One per unit')], string="Quantity to print", required=True, default='lots') + ('units', 'One per unit')], string="Quantity to print", required=True, default='lots', help="If the UoM of a lot is not 'units', the lot will be considered as a unit and only one label will be printed for this lot.") print_format = fields.Selection([ ('4x12', '4 x 12'), ('zpl', 'ZPL Labels')], string="Format", default='4x12', required=True)