odoo/o-spreadsheet#4533

Created by fw-bot
Merged at ef733da354399c91102d09dec94b39b149443762

Statuses:

label
odoo:saas-17.2-17.0-fix-sheet-name-interaction-rar-1lda-fw
head
2373c447d3303b7196ada82fa39ea86d409183d1
merged
4 months ago by BI, Rémi Rahir (rar)
odoo/o-spreadsheet
17.0 #4523
saas-17.1 #4532
saas-17.2 #4533
saas-17.3 #4535
master #4536

[FW][FIX] BottomBarSheet: Prevent drag of sheet while editing its name

While editing the name of a spreadsheet in the bottom bar, it was impossible to simply select a part of the text because by clicking down, you would trigger the drag-and-drop of the sheet position.

task-4010842

Description:

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

Task: : TASK_ID

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

Forward-Port-Of: #4523


  1. python/cpython@ca7b504a4d4c3a5fde1ee4607b9501c2bab6e743 ↩↩↩

  2. https://github.com/odoo/odoo/blob/b3b9b2b49ef90d30bcce1e27a4ba0b24f888170c/odoo/netsvc.py#L198 ↩↩

  3. https://docs.python.org/3/library/logging.handlers.html#logging.StreamHandler ↩