[19.0][MIG] web_widget_x2many_2d_matrix: Migration to 19.0#3578
Open
dnplkndll wants to merge 157 commits into
Open
[19.0][MIG] web_widget_x2many_2d_matrix: Migration to 19.0#3578dnplkndll wants to merge 157 commits into
dnplkndll wants to merge 157 commits into
Conversation
of one of the axes is a many2one field
[ADD] show grand total [IMP] classify floats as floats
[IMP] write formatted value to back to input
[RFR] and being on it, make reacting to changes in overrides simple
this is necessary for correct operation after creating new records
* README update to newest OCA template * Example in README * Massive performance boost for big matrices, specially on Firefox * Assign id on row in order to find it back in all cases * Fix OCA#321, choked on cached writes
Declare as many options prefixed with this string as you need for binding a field value with an HTML node attribute (disabled, class, style...) called as the `<name>` passed in the option. NOTE: This doesn't prevent to require to fill the full matrix with all the combination records.
…s_clickable attrs XML attributes for the widget that allows to configure if the axis will be clickable or not in case the source field is a many2one field.
<=v15 used to pass the list view field node to the rendering widget, enabling full configurability of the value field
…ckable) it was possible to make the axis fields links to the record if they were many2one fields
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: web-18.0/web-18.0-web_widget_x2many_2d_matrix Translate-URL: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_widget_x2many_2d_matrix/
Currently translated at 100.0% (7 of 7 strings) Translation: web-18.0/web-18.0-web_widget_x2many_2d_matrix Translate-URL: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_widget_x2many_2d_matrix/it/
use components to render axes and aggregates, allowing custom widgets there
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: web-18.0/web-18.0-web_widget_x2many_2d_matrix Translate-URL: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_widget_x2many_2d_matrix/
Currently translated at 100.0% (8 of 8 strings) Translation: web-18.0/web-18.0-web_widget_x2many_2d_matrix Translate-URL: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_widget_x2many_2d_matrix/it/
…rlap (cherry picked from commit cd5816e)
Totals were not consistently refreshing immediately on cell edits. - Replace 'onWillUpdateProps' for 'onWillRender'. This ensures totals update immediately when a cell value changes. - Expand the JS test with a case verifying totals after multiple consecutive edits. - Refine JS test filtering in Python HttpCase to target only this module. (cherry picked from commit e04f2b6)
(cherry picked from commit 5a05aef)
(cherry picked from commit 12fb61f)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Continuation of #3438 (which superseded #3310) — same replayed history and migration commit, plus the pieces that stalled it:
onWillRenderreactivity and the "matrix totals are updated correctly after several edits" test is restored — both arrive by forward-porting [18.0][FIX] web_widget_x2many_2d_matrix: fix total updates #3413, which is exactly that fix.cherry-pick -x): [18.0][FIX] web_widget_x2many_2d_matrix: fix sticky header/column overlap #3404 (sticky header/column overlap), [18.0][FIX] web_widget_x2many_2d_matrix: fix total updates #3413 (total updates / onWillRender), [18.0][FIX] web_widget_x2many_2d_matrix: monetary field display #3432 (monetary field display, 2 commits).Validated on a 19.0 stack: module installs into a fresh DB, full test suite passes (7 hoot tests including the restored totals test).
All credit for the migration itself to @bizzappdev (#3310) and @ferran-S73 (#3438) — happy to close this in favour of #3438 if @ferran-S73 prefers to pull these commits into his PR instead.