[FIX] point_of_sale: typo
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user