dolibarr-bugtrack
[Top][All Lists]
Advanced

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

[Dolibarr-bugtrack] [Bug #804] Not increasing stock when deleting an inv


From: Doliforge
Subject: [Dolibarr-bugtrack] [Bug #804] Not increasing stock when deleting an invoice
Date: Wed, 17 Apr 2013 21:56:22 +0200

Doliforge
Is this email not displaying correctly?
update email preferences.

Not increasing stock when deleting an invoice

Latest modifications

2013-04-17 21:56 (Europe/Madrid)
Hi Henry,

I don't think it is the case... But, for example, if someone creates an invoice, makes a mistake and wants to delete it, they will have to correct manually the stock of the products involved in the invoice. To fix it, they will need to convert it to draft status so Doli asks for stock correction and then delete it.

I don't think that is a very appropiate way of doing it as deleting an invoice can only be made in a few cases...

Answer now

Snapshot

 Details
Submitted by:  Marcos García (marcosgdf) Submitted on:  2013-04-07 19:43
Last Modified On:  2013-04-17 17:15 Dolibarr version:  3.3.1
PHP version:   Database type and version:  
OS Type/Version:   Category:  Module Stock
Severity:  8 
Summary:  Not increasing stock when deleting an invoice
Description:  If we make an invoice with product A, product A stock is decreased, if we modify the invoice, product A stock is increased. But if we validate the invoice and then we delete the invoice, the stock is not increased
Step to reproduce bug:  1. Create product A
2. Create warehouse A1
3. Set a stock of 10 units of product A in warehouse A1
4. Create a client thirdparty
5. Make an invoice with 1 unit of product A
6. Validate it.
7. Check stock, it should be 9 units
8. Modify the invoice
9. Check stock, it should be 10 units
10. Validate it
11. Delete the invoice
12. Check stock, it should be 10 units but it is 9 units
 Status
Resolution:  None Assigned to:  HENRY Florian (fhenry)
Status:  Need more info 

Comments

Marcos GarcĂ­a 2013-04-17 21:56
Hi Henry,

I don't think it is the case... But, for example, if someone creates an invoice, makes a mistake and wants to delete it, they will have to correct manually the stock of the products involved in the invoice. To fix it, they will need to convert it to draft status so Doli asks for stock correction and then delete it.

I don't think that is a very appropiate way of doing it as deleting an invoice can only be made in a few cases...
HENRY Florian 2013-04-17 17:15
Hello Marcos.
I don't think it a bug unless the stock was increase on invoice deletion in previous version.
Was it the case ?


reply via email to

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