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

[IMP] plugins: remove unused getters #3892

Closed
wants to merge 1 commit into from
Closed

Conversation

rrahir
Copy link
Collaborator

@rrahir rrahir commented Mar 24, 2024

As the library evolved, some getters that were created for specific purpose became completely obsolete (sometimes the features evolved and theyr were replaces by better alternatives, sometimes, due to a conceptual evolution, like a finer split between plugins responsibilities). Some of those getters were not removed at the time and can be safely removed.

Task: 3825311

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

As the library evolved, some getters that were created for specific
purpose became completely obsolete (sometimes the features evolved and
theyr were replaces by better alternatives, sometimes, due to a
conceptual evolution, like a finer split between plugins
responsibilities). Some of those getters were not removed at the time
and can be safely removed.

Task: 3825311
@rrahir rrahir changed the title [IMP] *: remove unused getters [IMP] plugins: remove unused getters Mar 24, 2024
@robodoo
Copy link
Collaborator

robodoo commented Mar 24, 2024

Copy link
Collaborator

@LucasLefevre LucasLefevre left a comment

Choose a reason for hiding this comment

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

robodoo r+

robodoo pushed a commit that referenced this pull request Mar 25, 2024
As the library evolved, some getters that were created for specific
purpose became completely obsolete (sometimes the features evolved and
theyr were replaces by better alternatives, sometimes, due to a
conceptual evolution, like a finer split between plugins
responsibilities). Some of those getters were not removed at the time
and can be safely removed.

closes #3892

Task: 3825311
Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
@robodoo robodoo closed this Mar 25, 2024
@robodoo robodoo added the 17.3 label Mar 25, 2024
@fw-bot fw-bot deleted the master-purge-unued-rar branch April 8, 2024 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants