Skip to content
Snippets Groups Projects
Commit 933ef22e authored by Achraf (abz)'s avatar Achraf (abz)
Browse files

[FIX] board: Custom name not shown


Issue

    - Install 'Dashboard'
    - Try to add something to the dashboard via 'Add to my dashboard'
    - Enter custom name
    - Click on 'Add'

Cause

    The name of the action was taken instead the input content

Solution

    Take the input content

opw-2363000

closes odoo/odoo#60240

Signed-off-by: default avatarAnh Thao PHAM <kitan191@users.noreply.github.com>
parent 7687732a
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,7 @@ odoo.define('board.AddToBoardMenu', function (require) {
evalutatedContext.dashboard_merge_domains_contexts = false;
Object.assign(this.state, {
name: this.env.action.name || "",
name: $(".o_input").val() || "",
open: false,
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment