mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
6c9e59d6d50c4eafa7484112cf6a2d15f387bb3f
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
web
TODO: add repo description.
Available addons
| addon | version | summary |
|---|---|---|
| web_copy_confirm | 14.0.1.0.0 | Show confirmation dialogue before copying records |
| web_dialog_size | 14.0.1.0.0 | A module that lets the user expand a dialog box to the full screen width. |
| web_domain_field | 14.0.1.0.0 | Use computed field as domain |
| web_drop_target | 14.0.1.0.0 | Allows to drag files into Odoo |
| web_environment_ribbon | 14.0.1.0.0 | Web Environment Ribbon |
| web_m2x_options | 14.0.1.0.0 | web_m2x_options |
| web_notify | 14.0.1.0.0 | Send notification messages to user |
| web_responsive | 14.0.1.0.1 | Responsive web client, community-supported |
| web_sheet_full_width | 14.0.1.0.1 | Use the whole available screen width when displaying sheets |
| web_timeline | 14.0.1.0.0 | Interactive visualization chart to show events in time |
| web_tree_dynamic_colored_field | 14.0.1.0.0 | Allows you to dynamically color fields on tree views |
| web_tree_image_tooltip | 14.0.1.0.0 | Show images in tree views via tooltip |
| web_tree_many2one_clickable | 14.0.1.0.0 | Open the linked resource when clicking on their name |
| web_widget_bokeh_chart | 14.0.1.0.0 | This widget allows to display charts using Bokeh library. |
| web_widget_x2many_2d_matrix | 14.0.1.0.0 | 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.
Description
Languages
JavaScript
69.3%
HTML
24.2%
Python
3.9%
SCSS
1.8%
CSS
0.8%