dolibarr-bugtrack
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-bugtrack] [Bug #1125] Negative lines cannot be added in custom


From: Doliforge
Subject: [Dolibarr-bugtrack] [Bug #1125] Negative lines cannot be added in customer invoices
Date: Thu, 31 Oct 2013 10:53:30 +0100

Doliforge
Ce message ne s'affiche pas correctement?
mettez à jour vos préférences utilisateur.

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]