odoo/o-spreadsheet#6073

Created by Fun Subscription - Sign - Cal, Florian Damhaut (flda)
Merged at fd0f5bcd07a8cd83e0530a84a1d598bfbee1402f

Statuses:

label
odoo:16.0-spreadsheet-translated-name-duplicate-flda
head
8054cb0033b8099207d5affddd5fba2f34429632
merged
9 months ago by BI, Rémi Rahir (rar)
odoo/o-spreadsheet
16.0 #6073
17.0 #6260
saas-17.4 #6319
18.0 #6320
saas-18.1 #6321
saas-18.2 #6322
saas-18.3 #6326
saas-18.4
19.0
saas-19.1
master #6332

[FIX] spreadsheet: add name to DUPLICATE_SHEET

When duplicating sheet, the name was based on the
translation of "Copy of", which would lead to divergent sheet name if multiple users had different locale.

task-4640070

Description:

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

Task: 4640070

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