summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorNans Lefebvre <len@odoo.com>2019-08-12 13:49:02 +0000
committerNans Lefebvre <len@odoo.com>2019-08-12 13:49:08 +0000
commit119ca24d60f244927d6d2d987fd2072eaad46870 (patch)
tree384b7e28232679287e62919bb17331f7105c9325 /doc/reference
parentb59369d1e6115392f557e7d58ff61f736d72d692 (diff)
[FIX] account: fix invoice line default taxes at account onchange
If there is no product on an invoice line, there is an onchange to ease tax input that prefills the line with the account default taxes. Because this is a relational field (a many2many), field = recordset is as valid as field = recordset.ids, but the semantics is different. In the second case, the id list is added with 4 commands, not a 6. So the default taxes are only added, and none are ever removed. Note that the ORM behaviour changed; this .ids was historical, but before (v10) it did remove other taxes. opw 2046112 closes odoo/odoo#35657 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'doc/reference')
0 files changed, 0 insertions, 0 deletions