[FIX] point_of_sale: typo

This commit is contained in:
Martin Trigaux
2017-07-14 16:29:24 +02:00
parent d92685f99e
commit 19113a461d
+1 -1
View File
@@ -296,7 +296,7 @@ class PosSession(models.Model):
if not self.ids:
return {}
for session in self.filtered(lambda s: s.user_id.id != self.env.uid):
raise UserError(_("You cannot use the session of another users. This session is owned by %s. "
raise UserError(_("You cannot use the session of another user. This session is owned by %s. "
"Please first close this one to use this point of sale.") % session.user_id.name)
return {
'type': 'ir.actions.act_url',