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.37k stars 2.77k forks source link

Tax handling inconsistent #24554

Closed Basti-Fantasti closed 3 months ago

Basti-Fantasti commented 1 year ago

Bug

I have set default prices for products. The default prices are set with a default German tax of 19%

When adding these products to a quotation to a foreign customer who has no tax added in the settings, the tax rate from the default price is used instead of the customers tax preset.

So instead of 0% the 19% are set.

On the other hand when a default price is set without tax (0%) this value is always added instead of the customers preset of 19% when it's a customer with applied tax.

This issue only came up in Version 17.0 (maybe also 16.x)

Environment Version

17.0.x

Environment OS

ubuntu

Environment Web server

Apache2

Environment PHP

7.4

Environment Database

mysql

Environment URL(s)

No response

Expected and actual behavior

Customers presets regarding taxes settings should be applied.

Steps to reproduce the behavior

see bug description above

Attached files

No response

AurelienBISOTTI commented 1 year ago

Same in v18

edit : the "no tax" field means "this company does not add tax to its own customers" So I am not sure this should mean "do not apply tax when selling to this customer"

Maybe this should be discussed on the forum because it might not be a bug

Capture d’écran du 2023-06-10 11-10-24 Capture d’écran du 2023-06-10 11-12-22 Capture d’écran du 2023-06-10 11-14-25

github-actions[bot] commented 4 months 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).