3
0
Fork 0
Odoo web client UI related addons
 
 
 
 
 
Go to file
Jairo Llopis 26d641f207
[FIX] web_advanced_search: Ignore field domain
If we honor the domain value, the user may not be getting all available
records when selecting from an x2many dropdown, or even worse, if the
domain references another field in the view, the user may be getting
an error when opening the field dropdown, like this:

    Error: NameError: name 'company_id' is not defined

    http://localhost/web/static/lib/py.js/lib/py.js:370
    Rastreo de error:
    PY_ensurepy@http://localhost/web/static/lib/py.js/lib/py.js:370:19
    py.evaluate@http://localhost/web/static/lib/py.js/lib/py.js:1340:20
    py.evaluate@http://localhost/web/static/lib/py.js/lib/py.js:1397:35
    py.evaluate@http://localhost/web/static/lib/py.js/lib/py.js:1409:34
    py.eval@http://localhost/web/static/lib/py.js/lib/py.js:1453:16
    eval_domains/<@http://localhost/web/static/src/js/core/pyeval.js:886:39
    _.forEach@http://localhost/web/static/lib/underscore/underscore.js:145:9
    _.mixin/</_.prototype[name]@http://localhost/web/static/lib/underscore/underscore.js:1484:29
    eval_domains@http://localhost/web/static/src/js/core/pyeval.js:877:16
    pyeval@http://localhost/web/static/src/js/core/pyeval.js:988:16
    stringToArray@http://localhost/web/static/src/js/core/domain.js:243:16
    _getDomain@http://localhost/web/static/src/js/views/basic/basic_model.js:3004:24
    _search@http://localhost/web_m2x_options/static/src/js/form.js:139:26
    source@http://localhost/web/static/src/js/fields/relational_fields.js:198:17
    _search@http://localhost/web/static/lib/jquery.ui/jquery-ui.js:6823:3
    $.widget/</proxiedPrototype[prop]</<@http://localhost/web/static/lib/jquery.ui/jquery-ui.js:415:19
    search@http://localhost/web/static/lib/jquery.ui/jquery-ui.js:6815:10
    $.widget/</proxiedPrototype[prop]</<@http://localhost/web/static/lib/jquery.ui/jquery-ui.js:415:19
    $.widget.bridge/$.fn[name]/<@http://localhost/web/static/lib/jquery.ui/jquery-ui.js:508:19
    each@http://localhost/web/static/lib/jquery/jquery.js:383:49
    each@http://localhost/web/static/lib/jquery/jquery.js:136:24
    $.widget.bridge/$.fn[name]@http://localhost/web/static/lib/jquery.ui/jquery-ui.js:494:4
    _onInputClick@http://localhost/web/static/src/js/fields/relational_fields.js:565:13
    proxy/<@http://localhost/web/static/src/js/core/mixins.js:279:20
    dispatch@http://localhost/web/static/lib/jquery/jquery.js:4640:50
    add/elemData.handle@http://localhost/web/static/lib/jquery/jquery.js:4309:41
2022-02-21 17:40:46 -03:00
.github/workflows [IMP] update dotfiles [ci skip] 2021-11-10 22:54:50 +01:00
setup [ADD] setup.py 2022-02-18 09:12:05 +00:00
web_advanced_search [FIX] web_advanced_search: Ignore field domain 2022-02-21 17:40:46 -03:00
web_company_color [UPD] README.rst 2021-12-29 07:19:03 +00:00
web_environment_ribbon [15.0][MIG] web_widget_bokeh_chart 2021-12-17 10:41:40 -05:00
web_ir_actions_act_multi [UPD] README.rst 2022-01-21 08:52:11 +00:00
web_m2x_options [15.0][MIG] web_widget_bokeh_chart 2021-12-17 10:41:40 -05:00
web_m2x_options_manager [UPD] README.rst 2021-11-16 23:25:59 +00:00
web_refresher [UPD] README.rst 2021-12-01 19:09:15 +00:00
web_responsive [IMP] web_responsive: Indicate incompatibility 2022-02-18 15:40:27 +01:00
web_widget_bokeh_chart [UPD] README.rst 2022-01-12 15:41:37 +00:00
web_widget_domain_editor_dialog [UPD] Update web_widget_domain_editor_dialog.pot 2022-02-04 07:56:27 +00:00
web_widget_x2many_2d_matrix web_widget_x2many_2d_matrix 15.0.1.0.1 2022-02-21 10:49:07 +00:00
.copier-answers.yml [IMP] update dotfiles [ci skip] 2021-11-10 22:54:50 +01:00
.editorconfig Initialize 15.0 branch 2021-10-17 17:13:06 +02:00
.eslintrc.yml [IMP] update dotfiles [ci skip] 2021-11-10 22:54:50 +01:00
.flake8 Initialize 15.0 branch 2021-10-17 17:13:06 +02:00
.gitignore Initialize 15.0 branch 2021-10-17 17:13:06 +02:00
.isort.cfg Initialize 15.0 branch 2021-10-17 17:13:06 +02:00
.pre-commit-config.yaml [IMP] update dotfiles [ci skip] 2021-10-18 22:12:37 +02:00
.prettierrc.yml Initialize 15.0 branch 2021-10-17 17:13:06 +02:00
.pylintrc Initialize 15.0 branch 2021-10-17 17:13:06 +02:00
.pylintrc-mandatory Initialize 15.0 branch 2021-10-17 17:13:06 +02:00
.t2d.yml Initialize 15.0 branch 2021-10-17 17:13:06 +02:00
LICENSE Initialize 15.0 branch 2021-10-17 17:13:06 +02:00
README.md [UPD] addons table in README.md 2022-02-21 10:49:13 +00:00
requirements.txt [15.0][MIG] web_widget_bokeh_chart 2021-12-17 10:41:40 -05:00

README.md

Runbot Status Build Status codecov Translation Status

web

TODO: add repo description.

Available addons

addon version maintainers summary
web_company_color 15.0.1.0.0 Web Company Color
web_environment_ribbon 15.0.1.0.0 Web Environment Ribbon
web_ir_actions_act_multi 15.0.1.0.0 Enables triggering of more than one action on ActionManager
web_m2x_options 15.0.1.0.0 web_m2x_options
web_m2x_options_manager 15.0.1.0.0 Adds an interface to manage the "Create" and "Create and Edit" options for specific models and fields.
web_refresher 15.0.1.0.0 Web Refresher
web_responsive 15.0.1.0.0 Yajo Tardo SplashS Responsive web client, community-supported
web_widget_bokeh_chart 15.0.1.0.0 LoisRForgeFlow ChrisOForgeFlow This widget allows to display charts using Bokeh library.
web_widget_domain_editor_dialog 15.0.1.0.0 Recovers the Domain Editor Dialog functionality
web_widget_x2many_2d_matrix 15.0.1.0.1 ChrisOForgeFlow Show list fields as a matrix

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to OCA policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.