summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/utils.js
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2016-02-17 12:52:41 +0100
committerDenis Ledoux <dle@odoo.com>2016-02-17 13:00:59 +0100
commit876634b1dabb64414df1558d4ef0e99db8185f73 (patch)
tree8491326dd597019cd9c9161f610e69ad9d301061 /addons/web/static/src/js/framework/utils.js
parent9187dc15e573927556a22b504e7e369c40a17e17 (diff)
[FIX] crm: merge of partners twice in the action menu
The link to open the merging partners wizard was duplicated in the action menu: - Once as "Deduplicate Contact", - Once as "Merge selected contacts". This is due to the revision 30a7ef8, converting the `<record model="ir.actions.act_window"...` to an `<act_window` which creates an action binding automatically. No action binding must be created for this window action, as there is already another one, the link to this wizard is already in the partners action menu, thanks to the `act_window` `action_partner_merge`. Besides, the `'default_state': 'option'` seems useless, as this is the default value set in the model directly. On the opposite, removing the `active_test` (as done in the revision mentioned above) could be armful. We therefore re-set it. opw-669688
Diffstat (limited to 'addons/web/static/src/js/framework/utils.js')
0 files changed, 0 insertions, 0 deletions