Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: it was not possible to set all supplier invoice lines VAT to 0% #29417

Merged

Conversation

spooky360
Copy link
Contributor

On a supplier invoice, when you want to set all lines VAT to 0, the check performed in card.php fails and an error occurs. The 0 value was interpreted as false so we never enter in the "if" condition. We now check that the value is not an empty string

…invoice

On a supplier invoice, when you want to set all lines VAT to 0, the check performed in card.php fails and an error occurs. The 0 value was interpreted as false so we never enter in the "if" condition. We now check that the value is not an empty string
@spooky360 spooky360 changed the title FIX: it was not possible to set all supplier invoice lines to 0% FIX: it was not possible to set all supplier invoice lines VAT to 0% Apr 19, 2024
@eldy eldy merged commit 8949354 into Dolibarr:19.0 Apr 20, 2024
4 checks passed
@spooky360 spooky360 deleted the 19.0-fix-massvatchange-supplier-invoice branch April 22, 2024 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants