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] pivot: divergent collaborative duplicated pivot name #5010

Closed

Conversation

LucasLefevre
Copy link
Collaborator

@LucasLefevre LucasLefevre commented Sep 20, 2024

Description:

Currently, if two users are connected to the same spreadsheet, both have
different languages and one of them duplicates a pivot: the spreadsheet
states have diverged because _t(...) gives two different results on both
sides.

Note that the command should ideally be upgraded with a script, but it's
not possible to get the original pivot name on the upgrade platform.
Task: 4199949

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 Sep 20, 2024

Pull request status dashboard

Currently, if two users are connected to the same spreadsheet, both have
different languages and one of them duplicates a pivot: the spreadsheet
states have diverged because `_t(...)` gives two different results on both
sides.

Note that the command should ideally be upgraded with a script, but it's
not possible to get the original pivot name on the upgrade platform.

Task: 4199949
@LucasLefevre LucasLefevre force-pushed the saas-17.4-divergent-duplicated-pivot-name-lul branch from 0931f0b to c74549f Compare September 20, 2024 14:14
@rrahir
Copy link
Collaborator

rrahir commented Oct 11, 2024

@robodoo r+

robodoo pushed a commit that referenced this pull request Oct 11, 2024
Currently, if two users are connected to the same spreadsheet, both have
different languages and one of them duplicates a pivot: the spreadsheet
states have diverged because `_t(...)` gives two different results on both
sides.

Note that the command should ideally be upgraded with a script, but it's
not possible to get the original pivot name on the upgrade platform.

closes #5010

Task: 4199949
Signed-off-by: Rémi Rahir (rar) <[email protected]>
@robodoo robodoo closed this Oct 11, 2024
rrahir added a commit that referenced this pull request Oct 14, 2024
Similar issue to the one raised in #5010.
If 2 userrs with different languages (i.e. different translation
schemes), importing a sheet data without a name could result in
different outcomes for both users.

Currently, this is not an issue because the sheet data are 'fixed'
upstream by the migration mecanism but this might change/disappear in
the future.

Task: 0
robodoo pushed a commit that referenced this pull request Oct 14, 2024
Similar issue to the one raised in #5010.
If 2 userrs with different languages (i.e. different translation
schemes), importing a sheet data without a name could result in
different outcomes for both users.

Currently, this is not an issue because the sheet data are 'fixed'
upstream by the migration mecanism but this might change/disappear in
the future.

closes #5090

Task: 0
Signed-off-by: Lucas Lefèvre (lul) <[email protected]>
@fw-bot fw-bot deleted the saas-17.4-divergent-duplicated-pivot-name-lul branch October 25, 2024 09:41
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