diff options
| author | Victor Feyens <vfe@odoo.com> | 2019-10-08 08:53:03 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-10-10 19:00:54 +0000 |
| commit | 1ef89f0928dafad25a0820cf08734fdd000a4bb0 (patch) | |
| tree | d3d83aa5b021831dba963939e44213b68b6e3256 /doc/reference/javascript_reference.rst | |
| parent | 75f2d8444e8f4b31fec96f2ddea7fc91220d3cc9 (diff) | |
[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#38441
X-original-commit: aff1dc1ea68c345fb2632f9666dc298f685b8748
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
