Dolibarr ERP & CRM » Bugs » bug #804
Not increasing stock when deleting an invoiceSnapshot Details |
Submitted by: | Marcos García (marcosgdf) | | Submitted on: | 2013-04-07 19:43 |
Last Modified On: | 2013-04-07 19:43 | | 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: | None |
Status: | Open | |
Answer now
|
|