Skip to content

[fork-CI] [19.0][MIG] web_widget_x2many_2d_matrix: Migration to 19.0 (supersedes OCA#3438)#3

Open
dnplkndll wants to merge 123 commits into
19.0from
19.0-mig-web_widget_x2many_2d_matrix
Open

[fork-CI] [19.0][MIG] web_widget_x2many_2d_matrix: Migration to 19.0 (supersedes OCA#3438)#3
dnplkndll wants to merge 123 commits into
19.0from
19.0-mig-web_widget_x2many_2d_matrix

Conversation

@dnplkndll

Copy link
Copy Markdown

Rebuild of OCA/web#3438 addressing the maintainer review + the stale-baseline gap:

Unblocks our 19.0 ports of ddmrp_adjustment_matrix + stock_demand_estimate_matrix. Upstream handoff TBD by user (supersede vs. hand patches to ferran-S73).

hbrunn and others added 30 commits October 8, 2025 16:22
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.
tarteo and others added 29 commits June 22, 2026 14:34
[FIX] web_widget_x2many_2d_matrix: many2one domain issue
Currently translated at 100.0% (1 of 1 strings)

Translation: web-16.0/web-16.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_widget_x2many_2d_matrix/es/
Currently translated at 100.0% (1 of 1 strings)

Translation: web-16.0/web-16.0-web_widget_x2many_2d_matrix
Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_widget_x2many_2d_matrix/it/
… EE dark mode.

The background color was needed in previous versions, however now the color is inherited by parent elements. Also removing shadow from totals.
Chris is no longer active, Jasmin was already maintainer in v17 and David
has been proposing fixes and taking care already that everything is properly
working and mainteined across versions.
<=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
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
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/
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)
@dnplkndll dnplkndll force-pushed the 19.0-mig-web_widget_x2many_2d_matrix branch from aafb6d6 to eac3983 Compare June 22, 2026 18:35
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.