Skip to content
Snippets Groups Projects
Commit de1e2cf0 authored by Andrea Grazioso (agr-odoo)'s avatar Andrea Grazioso (agr-odoo) Committed by fw-bot
Browse files

[FIX] point_of_sale: User associated with non-existing Employee

* Install pos_hr
* Create new user [DEMO] (change password and save the user id)
* In POS session settings, uncheck "Login with Employees"
* Log in with [DEMO]
* Start a new POS session
* From the Employee page delete the record matching [DEMO] user id
* Process a transaction from the POS

Several error message will popup. This is due to
https://github.com/odoo/odoo/commit/26274dbb9720743461be2a70de02bf4c1ea377f4


which introduced a faulty matching between the id of user who start the pos
and an employee with the same id.
Assigning the single properties as before the change fix the issue

opw-2087591

closes odoo/odoo#39052

X-original-commit: c51e91cd
Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
parent 53febfa2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment