-
Notifications
You must be signed in to change notification settings - Fork 60
Master enhance pivot formula pro #6414
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
Conversation
@@ -368,7 +368,7 @@ describe("Pivot fix formula menu item", () => { | |||
test("Fixing the formula take into account the arguments of PIVOT()", () => { | |||
// prettier-ignore | |||
const grid = { | |||
A1: "Customer", B1: "Price", C1: "Date", E1: "=PIVOT(1, 1, false, false, 1)", | |||
A1: "Customer", B1: "Price", C1: "Date", E1: "=PIVOT(1, 1, false, false, 1, false)", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this change ? You change the result of the pivot function in the test (now the measure isn't shown), but the test didn't have to change ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nvm I understood, before hiding the headers also hid the measures. The change might break some spreadsheets then ? Are we fine with that ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes it might break some spreadsheets, and from what we discussed yesterday with @LucasLefevre it was fine.
Another solution is to make this new attribute false by default and did not take it into account if include_columns_title
is true to keep the current behavior, but meh...
As soon as it's not a traceback, I think I will be able to sleep tonight
effc60c
to
a7f3dea
Compare
Before this commit, the pivot formula id was displayed with the title in the pivot formula (top-left). Now, the title is only the name of the pivot. Task: 4793572
This commit prepares the ground for the introduction of a new parameter to the pivot formula to display or hide the measures row. Task: 4793572
With this commit, one can now hide the columns headers rows without hiding the measures row one, by adding a new parameter to the pivot formula. This will be useful in our Odoo dashboards. Task: 4793572
a7f3dea
to
850c6f2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
robodoo rebase-ff r+
Merge method set to rebase and fast-forward. |
Before this commit, the pivot formula id was displayed with the title in the pivot formula (top-left). Now, the title is only the name of the pivot. Task: 4793572 Part-of: #6414 Signed-off-by: Lucas Lefèvre (lul) <[email protected]>
This commit prepares the ground for the introduction of a new parameter to the pivot formula to display or hide the measures row. Task: 4793572 Part-of: #6414 Signed-off-by: Lucas Lefèvre (lul) <[email protected]>
With this commit, one can now hide the columns headers rows without hiding the measures row one, by adding a new parameter to the pivot formula. This will be useful in our Odoo dashboards. closes #6414 Task: 4793572 Signed-off-by: Lucas Lefèvre (lul) <[email protected]>
See odoo/o-spreadsheet#6414 closes #213952 Task: 4793572 Related: odoo/enterprise#87495 Signed-off-by: Pierre Rousseau (pro) <[email protected]>
Description:
description of this task, what is implemented and why it is implemented that way.
Task: TASK_ID
review checklist