Skip to content

Commit

Permalink
[REF] pivot: adapt menu item to reflect odoo menu
Browse files Browse the repository at this point in the history
This menu item was duplicated and overwritten in odoo.
The overwrite has been removed from odoo and this commit changes
the menu here to reflect what was visible in odoo.

closes #5064

Task: 4242125
Signed-off-by: Pierre Rousseau (pro) <[email protected]>
  • Loading branch information
LucasLefevre committed Oct 23, 2024
1 parent 7e14e6a commit 57affea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/helpers/pivot/pivot_menu_items.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { _t } from "../../translation";
import { CellValueType } from "../../types";

export const pivotProperties: ActionSpec = {
name: _t("Edit Pivot"),
name: _t("See pivot properties"),
execute(env) {
const position = env.model.getters.getActivePosition();
const pivotId = env.model.getters.getPivotIdFromPosition(position);
Expand Down
3 changes: 1 addition & 2 deletions src/registries/menus/cell_menu_registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,5 @@ cellMenuRegistry
})
.add("pivot_properties", {
...ACTIONS_PIVOT.pivotProperties,
sequence: 160,
separator: true,
sequence: 170,
});

0 comments on commit 57affea

Please sign in to comment.