summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorVictor Feyens <vfe@odoo.com>2019-10-08 08:53:03 +0000
committerfw-bot <otis@odoo.com>2019-10-10 19:00:54 +0000
commit1ef89f0928dafad25a0820cf08734fdd000a4bb0 (patch)
treed3d83aa5b021831dba963939e44213b68b6e3256 /doc/reference/javascript_reference.rst
parent75f2d8444e8f4b31fec96f2ddea7fc91220d3cc9 (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