Skip to content

11 mig web widget x2many 2d matrix #1

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

Open
wants to merge 456 commits into
base: 11-mig-web_widget_x2many_2d_matrix
Choose a base branch
from
Open

11 mig web widget x2many 2d matrix #1

wants to merge 456 commits into from

Conversation

vincent-hatakeyama
Copy link

Makes example module instalable

@simahawk simahawk force-pushed the 11-mig-web_widget_x2many_2d_matrix branch 2 times, most recently from ef5937c to 0628b00 Compare March 28, 2018 10:47
@codecov-io
Copy link

codecov-io commented Mar 28, 2018

Codecov Report

Merging #1 into 11-mig-web_widget_x2many_2d_matrix will increase coverage by 7.65%.
The diff coverage is 86.3%.

Impacted file tree graph

@@                          Coverage Diff                           @@
##           11-mig-web_widget_x2many_2d_matrix       #1      +/-   ##
======================================================================
+ Coverage                               75.67%   83.33%   +7.65%     
======================================================================
  Files                                       3       10       +7     
  Lines                                      37      114      +77     
======================================================================
+ Hits                                       28       95      +67     
- Misses                                      9       19      +10
Impacted Files Coverage Δ
web_notify/models/res_users.py 100% <100%> (ø)
web_dialog_size/models/ir_config_parameter.py 100% <100%> (ø)
...nt_ribbon/models/web_environment_ribbon_backend.py 50% <100%> (ø) ⬆️
web_responsive/models/inherited_res_users.py 100% <100%> (ø)
web_m2x_options/models/ir_config_parameter.py 100% <100%> (ø)
web_disable_export_group/models/ir_http.py 55.55% <55.55%> (ø)
web_export_view/controllers/controllers.py 60% <60%> (ø)
web_timeline/models/ir_view.py 100% <0%> (ø)
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0628b00...065e80e. Read the comment docs.

oca-travis and others added 27 commits June 24, 2018 10:28
Currently translated at 66.7% (6 of 9 strings)

Translation: web-11.0/web-11.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-11-0/web-11-0-web_responsive/pt_BR/
[IMP][11.0][web_responsive] Sticky Statusbar & List View Header-Footer
[FIX][11.0][web_responsive] Views without sheet
* Fixes issue OCA#987
* Follow new readme structure
* Use Less
* Hide expand/collapse buttons if select a view type that isn't a 'list'
oca-travis and others added 30 commits January 9, 2019 08:33
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
…ix_x2many

[FIX] web_advanced_search: Ignore field domain
When user was replacing some specific sections or being too fast, the module wasn't behaving fine. Also, it was always displaying the original `.` slightly before doing the replacement.
The method `_onOpenColorPicker` is defined on `FormFieldMany2ManyTags`, not in `FieldMany2ManyTags`, so it can only be called on its descendants.

Otherwise, clicking on a `many2many_tags` tag when found in a tree view produces an error such as:

    TypeError: self._onOpenColorPicker is not a function

    http://localhost/web_m2x_options/static/src/js/form.js:354
    Rastreo de error:
    _onOpenBadge@http://localhost/web_m2x_options/static/src/js/form.js:354:17
    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
…t-fix_race

[FIX] web_decimal_numpad_dot: Fix inconsistent behavior
…2m_tags_list_view

[FIX] web_m2x_options: Fix error in tree views with many2many_tags
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
When OCA#1154 switched to using `keydown` as the event to trigger the numpad dot replacement, it was actually [disabling upstream's `_onKeyDown()`][1], which in turn disabled the keyboard navigation.

To fix this situation, I replaced the method that is being used to directly override `_onKeyDown`.

[1]: https://github.com/odoo/odoo/blob/19558129f0e2d5c9940f6fa95534840f8f025547/addons/web/static/src/js/fields/abstract_field.js#L41
…t-fix_keyboard_navigation

[FIX] web_decimal_numpad_dot: Restore keyboard navigation
…ecurity

[11.0] web_export_view: add security group
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
[FIX] Initial resizing
[11.0][ADD] web_tree_resize_column: Resize columns in tree views
…_editor_dialog

[ADD] web_widget_domain_editor_dialog: New module
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-11.0/web-11.0-web_widget_domain_editor_dialog
Translate-URL: https://translation.odoo-community.org/projects/web-11-0/web-11-0-web_widget_domain_editor_dialog/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.