diff --git a/stock_reserve_sale/wizard/sale_stock_reserve.py b/stock_reserve_sale/wizard/sale_stock_reserve.py index bd51daad4..af8130f1b 100644 --- a/stock_reserve_sale/wizard/sale_stock_reserve.py +++ b/stock_reserve_sale/wizard/sale_stock_reserve.py @@ -59,7 +59,7 @@ class SaleStockReserve(models.TransientModel): 'product_uom': line.product_uom.id, 'product_uom_qty': line.product_uom_qty, 'date_validity': self.date_validity, - 'name': "{} ({})".format(line.order_id.name, line.name), + 'name': "%s (%s)" % (line.order_id.name, line.name), 'location_id': self.location_id.id, 'location_dest_id': self.location_dest_id.id, 'note': self.note,