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

[11.0][MIG] web_advanced_search_x2x #984

Closed
wants to merge 38 commits into from

Commits on Jul 8, 2018

  1. [REN] to web_advanced_search_x2x

    and replace company icon
    hbrunn authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    2d6d370 View commit details
    Browse the repository at this point in the history
  2. [FIX] js syntax

    hbrunn authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    e501e25 View commit details
    Browse the repository at this point in the history
  3. [FIX] move our patched equals operator to top of list

    hbrunn authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    88954f1 View commit details
    Browse the repository at this point in the history
  4. [ADD] support selecting domains on x2x fields

    hbrunn authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    7136ace View commit details
    Browse the repository at this point in the history
  5. [FIX] eval search view's domain

    hbrunn authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    f3ba7af View commit details
    Browse the repository at this point in the history
  6. [IMP] UI fixes

    hbrunn authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    9f5902f View commit details
    Browse the repository at this point in the history
  7. [IMP] reflect recent additions in README.rst

    hbrunn authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    1f1476c View commit details
    Browse the repository at this point in the history
  8. [FIX] typos

    hbrunn authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    6a88bca View commit details
    Browse the repository at this point in the history
  9. [ADD] translations

    hbrunn authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    6216c03 View commit details
    Browse the repository at this point in the history
  10. [FIX] correct js reference

    hbrunn authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    1a329cb View commit details
    Browse the repository at this point in the history
  11. [RFR] rebuild our domains in a different way

    this solves timing problems
    hbrunn authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    7c4f891 View commit details
    Browse the repository at this point in the history
  12. add OCA to author

    Markus Schneider authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    be66732 View commit details
    Browse the repository at this point in the history
  13. [I18N] FR translation for web_advanced_search_x2x

    I could not find the project on Transifex...
    Lionel Sausin authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    f7a0706 View commit details
    Browse the repository at this point in the history
  14. [FIX] merge user context into search popup's context

    hbrunn authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    00c372b View commit details
    Browse the repository at this point in the history
  15. [IMP] web_advanced_search_x2x spanish translation

    antespi authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    ba87c21 View commit details
    Browse the repository at this point in the history
  16. Change fitro by dominio

    antespi authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    e6a3aab View commit details
    Browse the repository at this point in the history
  17. [UPD] prefix versions with 8.0

    sbidoul authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    26a4091 View commit details
    Browse the repository at this point in the history
  18. [MIG] Make modules uninstallable

    pedrobaeza authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    44cd43e View commit details
    Browse the repository at this point in the history
  19. [MIG] Rename manifest files

    pedrobaeza authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    3cdd26f View commit details
    Browse the repository at this point in the history
  20. web_advanced_search_x2x module

    cubells authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    3dd7d03 View commit details
    Browse the repository at this point in the history
  21. Adapt to v9 API.

    - Use the new domain widget.
    - Use modules system.
    yajo authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    6869ab2 View commit details
    Browse the repository at this point in the history
  22. inhibit closing the menu when selecting from the dropdown

    hbrunn authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    207b0a1 View commit details
    Browse the repository at this point in the history
  23. Make it good-looking, update known issues, fix templates.

    yajo authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    9587f8c View commit details
    Browse the repository at this point in the history
  24. Make other operators work again

    yajo authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    1640f33 View commit details
    Browse the repository at this point in the history
  25. [MIG] web_advanced_search_x2x: Migrated to 10.0

    ralwafaie authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    c6fbdcd View commit details
    Browse the repository at this point in the history
  26. [MIG] web_advanced_search_x2x: Migrated to 10.0 FIX review Remarks

    ralwafaie authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    ad6880f View commit details
    Browse the repository at this point in the history
  27. [FIX] Compatibilize web_widget_domain_v11 with web_advanced_search_x2x

    yajo authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    03f8f7b View commit details
    Browse the repository at this point in the history
  28. [FIX][web_advanced_search_x2x] Do not hide filter when clicking in it

    Fixes OCA#703.
    yajo authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    7b4abcd View commit details
    Browse the repository at this point in the history
  29. [FIX][web_advanced_search_x2x] Fix "false" label

    When you were adding a custom filter in a x2x field using "contains", it always became "contains 'false'". Now it is fixed.
    yajo authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    7e89417 View commit details
    Browse the repository at this point in the history
  30. [FIX] web_advanced_search_x2x: Allow to combine multiple domains

    Before this patch, when a domain leaf was a string (such as `&`, `|` or `!`), it was being treated as an array. This was leading to errors such as this one:
    
    ```
    2017-10-19 11:22:01,578 1 ERROR devel odoo.http: Exception during JSON request handling.
    Traceback (most recent call last):
        File "/opt/odoo/custom/src/odoo/odoo/http.py", line 640, in _handle_exception
        return super(JsonRequest, self)._handle_exception(exception)
        File "/opt/odoo/custom/src/odoo/odoo/http.py", line 677, in dispatch
        result = self._call_function(**self.params)
        File "/opt/odoo/custom/src/odoo/odoo/http.py", line 333, in _call_function
        return checked_call(self.db, *args, **kwargs)
        File "/opt/odoo/custom/src/odoo/odoo/service/model.py", line 101, in wrapper
        return f(dbname, *args, **kwargs)
        File "/opt/odoo/custom/src/odoo/odoo/http.py", line 326, in checked_call
        result = self.endpoint(*a, **kw)
        File "/opt/odoo/custom/src/odoo/odoo/http.py", line 935, in __call__
        return self.method(*args, **kw)
        File "/opt/odoo/custom/src/odoo/odoo/http.py", line 506, in response_wrap
        response = f(*args, **kw)
        File "/opt/odoo/auto/addons/web/controllers/main.py", line 827, in search_read
        return self.do_search_read(model, fields, offset, limit, domain, sort)
        File "/opt/odoo/auto/addons/web/controllers/main.py", line 849, in do_search_read
        offset=offset or 0, limit=limit or False, order=sort or False)
        File "/opt/odoo/custom/src/odoo/odoo/models.py", line 4733, in search_read
        records = self.search(domain or [], offset=offset, limit=limit, order=order)
        File "/opt/odoo/custom/src/odoo/odoo/models.py", line 1559, in search
        res = self._search(args, offset=offset, limit=limit, order=order, count=count)
        File "/opt/odoo/custom/src/odoo/odoo/models.py", line 4275, in _search
        query = self._where_calc(args)
        File "/opt/odoo/custom/src/odoo/odoo/models.py", line 4074, in _where_calc
        e = expression.expression(domain, self)
        File "/opt/odoo/custom/src/odoo/odoo/osv/expression.py", line 640, in __init__
        self.expression = distribute_not(normalize_domain(domain))
        File "/opt/odoo/custom/src/odoo/odoo/osv/expression.py", line 289, in distribute_not
        elif token in DOMAIN_OPERATORS_NEGATION:
    TypeError: unhashable type: 'list'
    ```
    
    Now they are treated specifically and the problem is fixed.��
    yajo authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    8d29ca6 View commit details
    Browse the repository at this point in the history
  31. [FIX] Ensure that domain field can be evaluated before creating x2x f…

    …ield
    benwillig authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    ff2bd06 View commit details
    Browse the repository at this point in the history
  32. [FIX] web_advanced_search_x2x: Bump version

    [skip ci]
    pedrobaeza authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    5af4cff View commit details
    Browse the repository at this point in the history
  33. [FIX] Fixed navigation error after using x2x advanced search

    benwillig authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    4bf2705 View commit details
    Browse the repository at this point in the history
  34. OCA Transbot updated translations from Transifex

    oca-transbot authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    ca1ee6c View commit details
    Browse the repository at this point in the history
  35. remove obsolete .pot files [ci skip]

    sbidoul authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    b379ad0 View commit details
    Browse the repository at this point in the history
  36. [UPD] Update web_advanced_search_x2x.pot

    oca-travis authored and Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    f712d7a View commit details
    Browse the repository at this point in the history
  37. [MIG] web_advanced_search_x2x: Migration to 11.0

    Jose Maria Bernet committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    dc15799 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2018

  1. [FIX] StopPropagation when clicking in domain selector.

    Jose Maria Bernet committed Jul 9, 2018
    Configuration menu
    Copy the full SHA
    7eb3ecd View commit details
    Browse the repository at this point in the history