Skip to content

Conversation

@matho-odoo
Copy link

Co-authored-by: Pierre Rousseau [email protected]

Task: 5231138

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

@robodoo
Copy link
Collaborator

robodoo commented Nov 3, 2025

Pull request status dashboard

@matho-odoo matho-odoo force-pushed the master-add-functions-matho branch from b2f48f5 to 695f2c4 Compare November 6, 2025 13:57
Copy link
Collaborator

@VincentSchippefilt VincentSchippefilt left a comment

Choose a reason for hiding this comment

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

Good job for a first PR
Could you add examples of the new function in the demo data: demo/data.js

@matho-odoo matho-odoo force-pushed the master-add-functions-matho branch from aeadcab to e3820f7 Compare November 20, 2025 14:27
Copy link
Contributor

@hokolomopo hokolomopo left a comment

Choose a reason for hiding this comment

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

Did a fast scroll in the PR, seems good :) I'll green it so Francois can test

// CHOOSE
// -----------------------------------------------------------------------------
export const CHOOSE = {
description: _t("An element from a list of choices based on index."),
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably missing a word in the description. Chose an element ? Return an element ?

A1: "A1", B1: "B1",
A2: "A2", B2: "B2",
D5: "=TAKE(A1:B2,3)", E5: "",
D6: "", E6: ""
Copy link
Contributor

Choose a reason for hiding this comment

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

nitpick: defining empty cells is kinda useless here

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.

5 participants