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

16.0 fix export formula vsc #3364

Closed
wants to merge 3 commits into from

Conversation

VincentSchippefilt
Copy link
Collaborator

@VincentSchippefilt VincentSchippefilt commented Dec 21, 2023

Description:

description of this task, what is implemented and why it is implemented that way.

Task: : 3618912

review checklist

  • feature is organized in plugin, or UI components
  • support of duplicate sheet (deep copy)
  • in model/core: ranges are Range object, and can be adapted (adaptRanges)
  • in model/UI: ranges are strings (to show the user)
  • undo-able commands (uses this.history.update)
  • multiuser-able commands (has inverse commands and transformations where needed)
  • new/updated/removed commands are documented
  • exportable in excel
  • translations (_t("qmsdf %s", abc))
  • unit tested
  • clean commented code
  • track breaking changes
  • doc is rebuild (npm run doc)
  • status is correct in Odoo

@robodoo
Copy link
Collaborator

robodoo commented Dec 21, 2023

@VincentSchippefilt VincentSchippefilt force-pushed the 16.0--fix-export-formula-vsc branch from d69117d to a168455 Compare December 22, 2023 15:46
@VincentSchippefilt VincentSchippefilt marked this pull request as ready for review December 22, 2023 15:46
@VincentSchippefilt
Copy link
Collaborator Author

@robodoo rebase-ff

@robodoo
Copy link
Collaborator

robodoo commented Dec 22, 2023

I'm sorry, @VincentSchippefilt: you can't method=rebase-ff.

@VincentSchippefilt
Copy link
Collaborator Author

@fw-bot up to saas-16.4

@fw-bot
Copy link
Collaborator

fw-bot commented Dec 22, 2023

Forward-porting to 'saas-16.4'.

@VincentSchippefilt VincentSchippefilt force-pushed the 16.0--fix-export-formula-vsc branch 2 times, most recently from 4f7fb11 to b46b7eb Compare January 2, 2024 16:19
@VincentSchippefilt VincentSchippefilt force-pushed the 16.0--fix-export-formula-vsc branch from b46b7eb to a7dd7ef Compare January 18, 2024 10:26
Before this fix the test "Can instantiate a spreadsheet with a given client id-name"
failed frequently on my machine.

Using jest's fake timers for those tests (timers are used in the debounce) fixed the issue

Task: 3618912
before this commit, the exported formulas contained line returns. It woudn't show properly in google sheet.

after this commit, the line returns have been removedd

Task: 3618912
@VincentSchippefilt VincentSchippefilt force-pushed the 16.0--fix-export-formula-vsc branch from 35e3f0b to cc06c59 Compare January 22, 2024 12:51
Excel does not support unbound references like A3:3 or C3:C.
This commit transforms them to A3:XX3 and C3:CXX where XX is the
last column or row of the sheet.

Task: 3618912
Copy link
Collaborator

@LucasLefevre LucasLefevre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

robodoo r+ rebase -ff

@robodoo
Copy link
Collaborator

robodoo commented Jan 25, 2024

@VincentSchippefilt @LucasLefevre because this PR has multiple commits, I need to know how to merge it:

  • merge to merge directly, using the PR as merge commit message
  • rebase-merge to rebase and merge, using the PR as merge commit message
  • rebase-ff to rebase and fast-forward

@LucasLefevre
Copy link
Collaborator

robodoo rebase-ff

@robodoo
Copy link
Collaborator

robodoo commented Jan 25, 2024

Merge method set to rebase and fast-forward.

robodoo pushed a commit that referenced this pull request Jan 25, 2024
Before this fix the test "Can instantiate a spreadsheet with a given client id-name"
failed frequently on my machine.

Using jest's fake timers for those tests (timers are used in the debounce) fixed the issue

Task: 3618912
Part-of: #3364
robodoo pushed a commit that referenced this pull request Jan 25, 2024
before this commit, the exported formulas contained line returns. It woudn't show properly in google sheet.

after this commit, the line returns have been removedd

Task: 3618912
Part-of: #3364
robodoo pushed a commit that referenced this pull request Jan 25, 2024
Excel does not support unbound references like A3:3 or C3:C.
This commit transforms them to A3:XX3 and C3:CXX where XX is the
last column or row of the sheet.

closes #3364

Task: 3618912
Signed-off-by: Lucas Lefèvre (lul) <[email protected]>
@fw-bot fw-bot mentioned this pull request Jan 25, 2024
14 tasks
@robodoo robodoo closed this Jan 25, 2024
@fw-bot
Copy link
Collaborator

fw-bot commented Jan 29, 2024

@VincentSchippefilt @LucasLefevre this pull request has forward-port PRs awaiting action (not merged or closed):

@fw-bot fw-bot mentioned this pull request Jan 29, 2024
14 tasks
@fw-bot
Copy link
Collaborator

fw-bot commented Jan 30, 2024

@VincentSchippefilt @LucasLefevre this pull request has forward-port PRs awaiting action (not merged or closed):

@fw-bot fw-bot mentioned this pull request Jan 30, 2024
14 tasks
VincentSchippefilt added a commit that referenced this pull request Feb 6, 2024
In the PR #3364 I try to
fix the export to excel of unbound zones by fixing them. However I have
not taken into account the normal expor in spreadsheet that is done when
generating snapshot.

This fix keeps the unbound zones in snapshots, while convert them into
bound zones in excel export.
robodoo pushed a commit that referenced this pull request Feb 6, 2024
In the PR #3364 I try to
fix the export to excel of unbound zones by fixing them. However I have
not taken into account the normal expor in spreadsheet that is done when
generating snapshot.

This fix keeps the unbound zones in snapshots, while convert them into
bound zones in excel export.

closes #3616

Signed-off-by: Rémi Rahir (rar) <[email protected]>
Signed-off-by: Vincent Schippefilt (vsc) <[email protected]>
fw-bot pushed a commit that referenced this pull request Feb 6, 2024
In the PR #3364 I try to
fix the export to excel of unbound zones by fixing them. However I have
not taken into account the normal expor in spreadsheet that is done when
generating snapshot.

This fix keeps the unbound zones in snapshots, while convert them into
bound zones in excel export.

X-original-commit: 0ed2720
VincentSchippefilt added a commit that referenced this pull request Feb 6, 2024
In the PR #3364 I try to
fix the export to excel of unbound zones by fixing them. However I have
not taken into account the normal expor in spreadsheet that is done when
generating snapshot.

This fix keeps the unbound zones in snapshots, while convert them into
bound zones in excel export.

X-original-commit: 0ed2720
robodoo pushed a commit that referenced this pull request Feb 6, 2024
In the PR #3364 I try to
fix the export to excel of unbound zones by fixing them. However I have
not taken into account the normal expor in spreadsheet that is done when
generating snapshot.

This fix keeps the unbound zones in snapshots, while convert them into
bound zones in excel export.

closes #3621

X-original-commit: 0ed2720
Signed-off-by: Rémi Rahir (rar) <[email protected]>
Signed-off-by: Vincent Schippefilt (vsc) <[email protected]>
robodoo pushed a commit that referenced this pull request Feb 6, 2024
In the PR #3364 I try to
fix the export to excel of unbound zones by fixing them. However I have
not taken into account the normal expor in spreadsheet that is done when
generating snapshot.

This fix keeps the unbound zones in snapshots, while convert them into
bound zones in excel export.

closes #3620

X-original-commit: 0ed2720
Signed-off-by: Rémi Rahir (rar) <[email protected]>
Signed-off-by: Vincent Schippefilt (vsc) <[email protected]>
VincentSchippefilt added a commit that referenced this pull request Feb 6, 2024
In the PR #3364 I try to
fix the export to excel of unbound zones by fixing them. However I have
not taken into account the normal expor in spreadsheet that is done when
generating snapshot.

This fix keeps the unbound zones in snapshots, while convert them into
bound zones in excel export.

X-original-commit: 0ed2720
robodoo pushed a commit that referenced this pull request Feb 6, 2024
In the PR #3364 I try to
fix the export to excel of unbound zones by fixing them. However I have
not taken into account the normal expor in spreadsheet that is done when
generating snapshot.

This fix keeps the unbound zones in snapshots, while convert them into
bound zones in excel export.

closes #3622

X-original-commit: 0ed2720
Signed-off-by: Rémi Rahir (rar) <[email protected]>
Signed-off-by: Vincent Schippefilt (vsc) <[email protected]>
VincentSchippefilt added a commit that referenced this pull request Feb 6, 2024
In the PR #3364 I try to
fix the export to excel of unbound zones by fixing them. However I have
not taken into account the normal expor in spreadsheet that is done when
generating snapshot.

This fix keeps the unbound zones in snapshots, while convert them into
bound zones in excel export.

X-original-commit: 0ed2720
robodoo pushed a commit that referenced this pull request Feb 6, 2024
In the PR #3364 I try to
fix the export to excel of unbound zones by fixing them. However I have
not taken into account the normal expor in spreadsheet that is done when
generating snapshot.

This fix keeps the unbound zones in snapshots, while convert them into
bound zones in excel export.

closes #3623

X-original-commit: 0ed2720
Signed-off-by: Rémi Rahir (rar) <[email protected]>
Signed-off-by: Vincent Schippefilt (vsc) <[email protected]>
VincentSchippefilt added a commit that referenced this pull request Feb 6, 2024
In the PR #3364 I try to
fix the export to excel of unbound zones by fixing them. However I have
not taken into account the normal expor in spreadsheet that is done when
generating snapshot.

This fix keeps the unbound zones in snapshots, while convert them into
bound zones in excel export.

X-original-commit: 201aea7
robodoo pushed a commit that referenced this pull request Feb 6, 2024
In the PR #3364 I try to
fix the export to excel of unbound zones by fixing them. However I have
not taken into account the normal expor in spreadsheet that is done when
generating snapshot.

This fix keeps the unbound zones in snapshots, while convert them into
bound zones in excel export.

closes #3625

X-original-commit: 201aea7
Signed-off-by: Rémi Rahir (rar) <[email protected]>
Signed-off-by: Vincent Schippefilt (vsc) <[email protected]>
VincentSchippefilt added a commit that referenced this pull request Feb 7, 2024
In the PR #3364 I try to
fix the export to excel of unbound zones by fixing them. However I have
not taken into account the normal expor in spreadsheet that is done when
generating snapshot.

This fix keeps the unbound zones in snapshots, while convert them into
bound zones in excel export.

X-original-commit: aed5b96
robodoo pushed a commit that referenced this pull request Feb 7, 2024
In the PR #3364 I try to
fix the export to excel of unbound zones by fixing them. However I have
not taken into account the normal expor in spreadsheet that is done when
generating snapshot.

This fix keeps the unbound zones in snapshots, while convert them into
bound zones in excel export.

closes #3626

X-original-commit: aed5b96
Signed-off-by: Rémi Rahir (rar) <[email protected]>
Signed-off-by: Vincent Schippefilt (vsc) <[email protected]>
@fw-bot fw-bot deleted the 16.0--fix-export-formula-vsc branch February 8, 2024 12:46
Topdev97 added a commit to Topdev97/o-spreadsheet that referenced this pull request Nov 18, 2024
In the PR odoo/o-spreadsheet#3364 I try to
fix the export to excel of unbound zones by fixing them. However I have
not taken into account the normal expor in spreadsheet that is done when
generating snapshot.

This fix keeps the unbound zones in snapshots, while convert them into
bound zones in excel export.

closes odoo/o-spreadsheet#3616

Signed-off-by: Rémi Rahir (rar) <[email protected]>
Signed-off-by: Vincent Schippefilt (vsc) <[email protected]>
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.

4 participants