Dolibarr ERP & CRM » Tasks and Feature requests » task #826
Increasing stock when deleting an invoiceDernières modifications
Répondre
État Détails |
Submitted on: | 17/04/2013 22:04 | | Submitted by: | HENRY Florian (fhenry) |
Last Modified On: | 18/04/2013 08:41 | |
Summary: | 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
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
come from [ bug #804 ] Not increasing stock when deleting an invoice |
Priority: | 5 - Medium | | Open to Any Developer: | No |
Subproject: | Module Stock | | Assigned to (multiple): | HENRY Florian (fhenry) |
Etat |
Start Date: | - | | End Date: | - |
Completion (0-100%): | 100 | | Status: | Closed |
Commentaires- HENRY Florian 18/04/2013 08:41
- Pull request done
https://github.com/Dolibarr/dolibarr/pull/841
|
|
Open→ Closed