[IMP] barcodes: Allow other modules to add the COMMANDS option.
closes odoo/odoo#118123 X-original-commit: 2daa8361373f2308c9efe571d0901699b7a73262 Signed-off-by: Géry Debongnie <ged@odoo.com>
This commit is contained in:
@@ -44,7 +44,7 @@ function updatePager(position) {
|
||||
});
|
||||
}
|
||||
|
||||
const COMMANDS = {
|
||||
export const COMMANDS = {
|
||||
"O-CMD.EDIT": () => clickOnButton(".o_form_button_edit"),
|
||||
"O-CMD.DISCARD": () => clickOnButton(".o_form_button_cancel"),
|
||||
"O-CMD.SAVE": () => clickOnButton(".o_form_button_save"),
|
||||
|
||||
Reference in New Issue
Block a user