metafresh logo and link to homepage

IT gh#870

#870 Invoice Candidate price-qty overwrite lost when ReverseCorrect

Testcase to check if the price-qty overwrite in Invoice Candidate is kept after ReverseCorrect of the invoice.

  1. Create a sales order for G000X:
  2. Create the inout for the order

  3. Open the invoice candidates, and change the prices with price override field:
  4. Save and wait for refresh, then invoice the ICs:
  5. ReverseCorrect the invoice (Storno):
  6. Go back to invoice candidates:
  7. Invoice again:
  8. Create another sales order for G000X, same products and qties, and create the inout

  9. Open the invoice candidates, and change the qties with qty override field:
  10. Save and wait for refresh, then invoice the ICs:
  11. ReverseCorrect the invoice (Storno):
  12. Go back to invoice candidates:
  13. Invoice again:
  14. Repeat the test for purchase side, with G000X as vendor:
  15. Also make sure that you can still change the qty to invoice and price to invoice after the reverse, so reverse 2 invoices a 2nd time and change price to inovice override, and qty to invoice override, and invoice once more *=> the latest changes you set are taken for the invoice

Zur Quelldatei auf github.com