8000 [18.0][FIX] web_widget_x2many_2d_matrix: restore pre-v16 functionality by hbrunn · Pull Request #3203 · OCA/web · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[18.0][FIX] web_widget_x2many_2d_matrix: restore pre-v16 functionality #3203

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 3 commits into
base: 18.0
Choose a base branch
from

Conversation

hbrunn
Copy link
Member
@hbrunn hbrunn commented Jun 20, 2025

#3124 shouldn't have been merged. Besides breaking most use cases, it only fixed some symptom of the underlying issue that the migration dropped the ability to configure the value field like you'd do it everywhere else. And on top of that didn't describe the non-standard functionality in the readme.

So this PR restores the ability to say

   <field widget="x2many_2d_matrix" ... field_value="value_field">
       <list>
           ...
           <field name="value_field" options="{}" domain="[]" etc/>
       </list>
   </field>

While being on it, I also restored the functionality for clickable x/y axes when they are many2one fields, and added myself as maintainer.

All of this with tests to be sure subsequent changes don't mess with existing functionality.

hbrunn added 3 commits June 20, 2025 13:47
<=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
@OCA-git-bot
Copy link
Contributor

Hi @DavidJForgeFlow, @JasminSForgeFlow,
some modules you are maintaining are being modified, check this out!

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.

2 participants
0