o-spreadsheet icon indicating copy to clipboard operation
o-spreadsheet copied to clipboard

[FIX] autofill: smaller revisions

Open LucasLefevre opened this issue 9 months ago • 1 comments

When auto-filling cell, the UPDATE_CELL commands always contains all 3 properties: content, style and format.

They could be useless though. Typically, when you autofill on blank cells, it useless to have style: null and format: "" in the command.

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

LucasLefevre avatar Apr 02 '25 14:04 LucasLefevre

Pull request status dashboard

robodoo avatar Apr 02 '25 14:04 robodoo

nope: https://github.com/odoo/o-spreadsheet/pull/6128

LucasLefevre avatar Apr 17 '25 12:04 LucasLefevre