[DOC] web: do_action accepts also the XML id of an action

This commit is contained in:
Richard Mathot
2016-03-14 11:37:46 +01:00
committed by Géry Debongnie
parent 234f88a6af
commit 9f7085586b
+1 -1
View File
@@ -532,7 +532,7 @@ var ActionManager = Widget.extend({
/**
* Execute an OpenERP action
*
* @param {Number|String|Object} Can be either an action id, a client action or an action descriptor.
* @param {Number|String|String|Object} Can be either an action id, an action XML id, a client action tag or an action descriptor.
* @param {Object} [options]
* @param {Boolean} [options.clear_breadcrumbs=false] Clear the breadcrumbs history list
* @param {Boolean} [options.replace_breadcrumb=false] Replace the current breadcrumb with the action