Dolibarr ERP & CRM » Bugs » bug #1125 Negative lines cannot be added in customer invoicesÉtat Détails |
Submitted by: | Laurent Léonard (open-minds) | | Submitted on: | 31/10/2013 10:53 |
Last Modified On: | 31/10/2013 10:53 | |
Summary: | Negative lines cannot be added in customer invoices |
Description: | Since Dolibarr version 3.3.0, it is no more possible to add lines with a negative unit price or a negative quantity to customer invoices, but it is possible to create a positive line and modify it to have a negative unit price or quantity.
This issue can be solved by modifying the conditions for new lines in the file "htdocs/compta/facture.php" at lines 1137 (unit price) and 1153 (quantity). |
Step to reproduce bug: | - Create a new invoice.
- Try to add a line with a negative unit price, the line is not added and the following error message is displayed: "Field 'Unit price (net)' is required".
- Try to add a line with a negative quantity, the line is not added with no error message. |
Version: | develop | | Category: | Module: Customer Invoices |
Severity: | 2 | | OS Type/Version: | |
PHP version: | | | Database type and version: | |
Etat |
Status: | Open | | Assigned to: | Aucun |
Resolution: | Aucun | |
Répondre
|
|