summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorLucas Lefèvre <lucas.lefevre@hotmail.com>2019-01-09 13:32:57 +0100
committerYannick Tivisse <yti@odoo.com>2019-01-18 13:55:34 +0100
commit70c6d3b04c43a36446052c4ab8976c3d50ed4666 (patch)
tree3bb9ccc7698b7919f09765ff606eed70ac1a36b0 /addons/web/static/src/js/views/basic/basic_controller.js
parentd2b3c9a04b4236c915541cc708a79500ec0c97c0 (diff)
[Fix] web: make sidebar filter generic
Adding `res_model` and `res_fields` attributes on a field of a calendar view adds a filter in the sidebar. It saves the result as the defined model and should save it in the defined field. However `partner_id` has been hardcoded in the rpc call that creates the record. This breaks genericity, it cannot be used with another field than `partner_id`. This commit makes this generic by correctly setting the field name in the rpc call.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions