diff options
| author | Thomas Groutars <tgr@odoo.com> | 2016-02-04 11:06:01 -0800 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2016-02-05 11:24:06 +0100 |
| commit | 7c432c8b65f19f2bbe28c3054ebe862b3a09cf65 (patch) | |
| tree | 32cc271fa58350b2bc01682fc7c35a11fcf6869b /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js | |
| parent | 7c11d4e70f3a70c8ba0204c3a69cd6c96a4e9700 (diff) | |
[FIX] Fix get_default_ method decorator and definition
In sale.config.settings, the method get_default_sale_config has api.multi decorator.
However, the method definition should be def get_default_sale_config(self, cr, uid, fields, context)
(see https://github.com/odoo/odoo/blob/9.0/openerp/addons/base/res/res_config.py#L534 ).
The api.multi decorator results in the model being browsed with fields as ids, which results in that kind of queries:
select * from sale_config_settings where id in ('generate_sales_team_alias')
This change corrects the method definition to fix that.
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions
