Skip to content
Snippets Groups Projects
Commit 0f25a8ce authored by Jeremy Kersten's avatar Jeremy Kersten
Browse files

[FIX] wesbite_sale: recompute taxes when fiscal position is updated

We force to recompute the taxes on all lines when we change the fiscal position.
That was already done in backend, with the onchange.
But @api.contrains allow to do it on each write on fiscal_position_id field.

@api.Depends will not work because it is not a computed field.
parent 7e2628ae
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment