Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] calendar view write_model + write_field mechanism doesn't w… #31858

Closed

Commits on Mar 15, 2019

  1. [CLA] signature for Iledarn

    iledarn authored and mart-e committed Mar 15, 2019
    Copy the full SHA
    7bf3ab0 View commit details
    Browse the repository at this point in the history
  2. [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.
    
    Co-authored-by: Ildar Nasyrov <iledarn@gmail.com>
    2 people authored and mart-e committed Mar 15, 2019
    Copy the full SHA
    5724a09 View commit details
    Browse the repository at this point in the history