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.47k stars 2.8k forks source link

Imported services without VAT break the Proposal trying to add them #25360

Closed calbasi closed 3 months ago

calbasi commented 1 year ago

Bug

I've imported several services. VAT field is not mandatory, so I didn't fill it.

When I've tried to add any of these services into a Proposal, a white screen (WSOD) fired (the proces is bronken, without any error message).

Not sure if we could make the VAT field mandatory. I suppose not, because some countries, etc. don't use it.

Then:

  1. When this error is fired, a comprehensible error message should be shown.
  2. Maybe these products/services (in a country with VAT enabled) should be listed in a system warning or a similar way.

Environment Version

17.0.2

Environment OS

Debian 11

Environment Web server

Apache

Environment PHP

8.1

Environment Database

MariaDB

Environment URL(s)

No response

Expected and actual behavior

No response

Steps to reproduce the behavior

No response

Attached files

No response

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).