0626提交
This commit is contained in:
11
code_backend_theme/static/src/js/chrome/myDropdown.js
Normal file
11
code_backend_theme/static/src/js/chrome/myDropdown.js
Normal file
@@ -0,0 +1,11 @@
|
||||
/** @odoo-module **/
|
||||
|
||||
import {Dropdown} from "@web/core/dropdown/dropdown"
|
||||
|
||||
var {patch} = require("web.utils")
|
||||
|
||||
patch(Dropdown.prototype, "Dropdown.DropdownJS", {
|
||||
close() {
|
||||
return this.changeStateAndNotify({open: true, groupIsOpen: true});
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user