Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.46k stars 2.79k forks source link

Bug: updating default tax rate does not recalculate multiprices specified with "price incl. tax" #14526

Closed dpriskorn closed 3 years ago

dpriskorn commented 4 years ago

Bug

we should make sure the price incl tax remains the same after changing the default vat rate

Environment

Expected and actual behavior

expected the "update vat" button to update the net prices of the product so that the gross price remains the same

dolibarr updated the default tax rate and I had to click "update prices for each level" and click "save" for dolibarr to update the net price.

Steps to reproduce the behavior

try entering a multiprice with vat=25% incl tax = 100€ -> net price stored: 80€ lower the vat rate to 12%, net price stored is still 80€ multiprice is now 80€+12%=89,6€ (if you add it to an order/invoice). Its not 100€ because the net price was not updated

Note that this bug only affects multiprices specified with "incl. tax". That is the normal case for me to specify my prices, because that is the prices I (by law have to) use in contact with the customers.

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 1 year with no activity. If this is a bug, please comment to confirm it is still present on latest stable version. if this is a feature request, please comment to notify the request is still relevant and not yet covered by latest stable version. This issue may be closed automatically by stale bot in 10 days (you should still be able to re-open it if required).