diff options
| author | Laurent Smet <las@odoo.com> | 2021-05-17 10:08:31 +0000 |
|---|---|---|
| committer | Laurent Smet <las@odoo.com> | 2021-05-17 14:12:42 +0000 |
| commit | def7d7bb0231fef38e044803b245c9b990a90216 (patch) | |
| tree | 0f5d8b96539cbf6dcbaf0928609eae3278cc80f0 /addons/pad/static/src | |
| parent | 09da295fd8a5f4f40178b83e9c4e86bcc9a9bc28 (diff) | |
[REVERT] sale: Fix fiscal pos. mapping taxes to price included
This reverts commit d89562e8fe473692296cb209651beb2ce7a715e4.
Since this commit, the taxes mapped by fiscal position wasn't managed by the _fix_tax_included_price_company method anymore.
Otherwise, some customizations exist on this method that are no longer called.
The 2527940 issue is also due to a remaining bug: the total_excluded price should be divided by the quantity but:
- what if the quantity & price_unit are both signed?
- what if the number of digits for price_unit and the currency are different? Should we skip the rounding of taxes?
Since this commit is not perfect and has a lot of dependencies in others modules, we decided to revert it.
Original PR: https://github.com/odoo/odoo/pull/68997
Revert PR: https://github.com/odoo/odoo/pull/70858
closes odoo/odoo#70883
Issue: 2527940
X-original-commit: c9330e4af5b034fd81090478723ee3c18be58733
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'addons/pad/static/src')
0 files changed, 0 insertions, 0 deletions
