Commit Graph
4 Commits
Author SHA1 Message Date
oco-odoo 31e1322b40 [IMP] account: don't always allow modifying the decimal places of a currency
If accounting entries have already been generated by this currency, we now forbid setting it a lesser number of decimal places (so, higher rounding factor). We also display a warning when increasing the number of decimal places, to make sure the user is aware of the impact it'll have.

closes odoo/odoo#42017

Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
2020-02-05 11:53:45 +00:00
Yannick Tivisse 7935d1ff40 [IMP] account: Avoid multi-executed tests 2019-11-12 11:34:36 +00:00
Yannick Tivisse 374d0a5d15 [IMP] account_tax_python: Adapt tests to work with/without demo data 2019-11-05 13:08:03 +01:00
Laurent Smet 4523a11bed [FIX] account, point_of_sale: Fix complex taxes computation
The previous _compute_all wasn't able to get the right results in case of complex
taxes computation.

See tests for examples.

task: 39945
2019-05-09 11:56:39 +00:00