FIX stock_usability: stk.move name_get

This commit is contained in:
David Beal
2019-02-19 17:34:22 +01:00
parent 905437e026
commit f07d416034

View File

@@ -84,7 +84,7 @@ class StockMove(models.Model):
if line.partner_id: if line.partner_id:
name = line.partner_id.name + ' ' + name name = line.partner_id.name + ' ' + name
if line.date_expected: if line.date_expected:
name = name + ' ' + line.date_expected name = '%s %s' % (name, line.date_expected)
res.append((line.id, name)) res.append((line.id, name))
return res return res
@@ -105,7 +105,6 @@ class StockMove(models.Model):
# ops.unlink() # ops.unlink()
class ProcurementGroup(models.Model): class ProcurementGroup(models.Model):
_inherit = 'procurement.group' _inherit = 'procurement.group'