summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorLucas Lefevre <lul@odoo.com>2019-01-09 12:32:57 +0000
committerMartin Trigaux <mat@odoo.com>2019-03-15 13:28:12 +0000
commit4b8e0d82bb2463e9d5e3492f7014c89cdc41b5e7 (patch)
treea68a91d9d3193bfcd24175408995217ff0e76515 /addons/web/static/src/xml
parent7a7dbf97c661ec5ac19de72a55feb28093d78482 (diff)
[FIX] web: backport of 70c6d3b04c to 12.0
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. closes odoo/odoo#31858 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com> Co-authored-by: Ildar Nasyrov <iledarn@gmail.com>
Diffstat (limited to 'addons/web/static/src/xml')
0 files changed, 0 insertions, 0 deletions