-
- Downloads
[FIX] point_of_sale: use sudo instead of with_user(SUPERUSER_ID).
Since https://github.com/odoo/odoo/pull/34297 , sudo() allows to keep current user information when creating/modifying records. There is no need anymore to use with_user(SUPERUSER_ID) to have sudo rights. This commit ensures the user information is kept when creating pos sessions, instead of having OdooBot as create_user. closes odoo/odoo#38062 Signed-off-by:pimodoo <pimodoo@users.noreply.github.com>
Please register or sign in to comment