Skip to content
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

[FIX] web_widget_x2many_2d_matrix: support One2many field as value field #13

Open
wants to merge 2 commits into
base: 16-mig-matrix-widget
Choose a base branch
from

Conversation

PieterPaulussen
Copy link

The upstream migration PR you created here does not completely work and needs to be expanded. For instance, the use of Many2one fields as values is currently not supported. My PR applies some additional fixes in order to add support for that.

tarteo and others added 2 commits March 22, 2023 15:32
[MIG] web_widget_x2_many_2d_matrix: Migration to 16.0 (WIP, columns)

[MIG] web_widget_x2_many_2d_matrix: Migration to 16.0 (WIP, rows)

[MIG] web_widget_x2_many_2d_matrix: Migration to 16.0 (WIP, add value component)

Aggregated values

[MIG] web_widget_x2many_2d_matrix: Fix commitChanges of matrix.

[FIX] Fix commitChanges

[FIX] setDirty

[FIX] Aggregated values

[IMP] readonly working

[FIX] Update matrix on changing props

[FIX] Remove old files

[IMP] Run precommit stuff

[FIX] Remove deprecated readme sections

[MIG] Migrate show_row_totals and show_column_totals attributes

[MIG] sticky headers

Fixup

Fixup

Fixup
@Saran440
Copy link

Saran440 commented May 5, 2023

Hi, I tested with this PR it show sum column and row is not correct


This version of OCA#2463
Selection_010

This PR version. I add show_row_totals="1" in field but it still not show sum row
Selection_009

@PieterPaulussen
Copy link
Author

@tarteo thanks for checking! As I said, my PR is only a partly fix for the issue. I believe a validation on the “summability” of the aggregated column should be done in the frontend. Since you have a working setup, perhaps you can address the issue?

@tarteo tarteo force-pushed the 16-mig-matrix-widget branch 3 times, most recently from b9d3f0e to feee650 Compare May 11, 2023 12:58
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.

3 participants