diff options
| author | Thibault Delavallée <tde@odoo.com> | 2017-03-29 15:51:24 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2017-04-25 14:10:54 +0200 |
| commit | bf2f6f9264e6fc056c45865b5f79c17a163c0a85 (patch) | |
| tree | edcd26192b2c772e540f97569d0e29902f4234fb /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 3c2c166fa67bf074834941e9729088e51b1269a2 (diff) | |
[IMP] models: sudo get_formview_action but add access rights uid
get_formview_action is now called as sudo to avoid access rights issues
when browsing it and trying to determine the ID of the form view to
display.
However in some cases it can be interesting to know the real user trying
to access the form view. The original uid is therefore added as parameter
of the method to have the best of two worlds.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
