Please sign in to comment.
[FIX] web: backport of 70c6d3b 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 #31858 Signed-off-by: Martin Trigaux (mat) <email@example.com> Co-authored-by: Ildar Nasyrov <firstname.lastname@example.org>
- Loading branch information...
Showing with 3 additions and 1 deletion.