diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-10-27 12:21:44 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-10-27 13:29:02 +0100 |
| commit | e75314511ddc6dc6a533e265e74057442868a252 (patch) | |
| tree | 2664af80ad025a0e258f6f19726b569108f91df7 /addons/web/static/src/js/framework/data.js | |
| parent | 76ef3ee98a5a30857d0e51777f33580818681770 (diff) | |
[FIX] account: resolve taxes ids triplet commands
`vals[tax_ids]` can be a command triplet,
see:
https://www.odoo.com/documentation/master/reference/orm.html#openerp.models.Model.write
Doing
`tax_ids = map(lambda tax: tax[1], vals['tax_ids'])`
to resolve the command doesn't work for all triplet types,
for instance it doesn't work for triplet `(6, 0, [...])`
To resolve properly a 2many commands, `resolve_2many_commands`
should be used.
opw-653106
Diffstat (limited to 'addons/web/static/src/js/framework/data.js')
0 files changed, 0 insertions, 0 deletions
