[Koha-bugs] [Bug 34736] New: Item checkboxes are lost in multi-receive, breaking partial receive

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 7 12:07:18 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34736

            Bug ID: 34736
           Summary: Item checkboxes are lost in multi-receive, breaking
                    partial receive
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Acquisitions
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: katrin.fischer at bsz-bw.de
        QA Contact: testopia at bugs.koha-community.org
                CC: michaela.sieber at kit.edu, nick at bywatersolutions.com,
                    tomascohen at gmail.com

If multiple items were ordered and only a part of those are received, the order
line is split into 2, received and pending. When you work with multi-receive
and switch back and forth between entries, things get confused and you end up
with a broken partial receive where the received items have not been re-linked
to the new order line.

This might also have other bad side effects. Sorry for the somewhat complicated
test plan:

To test:
* Create a new basket, create items on placing the order
* Create an order line with 4 items
* Create another order line with 2 items
* Close the basket
* Receive shipment and create an invoice
* Select both orders via the checkboxes got multi-receive
* Click "receive selected"
* Edit first order line, quantity received = 1 (1 out of 4)
* Verify that one item is also selected in the table
* Switch to "next order"
* Quantity received is 0, no items checked in the second order
* Switch to "Previous order"
* ERROR: Item checkbox was lost, quantity received still correct
* Switch to next order
* ERROR: item is now checked, quantity received 0
* Note: We see a mix up of the information entered, one has the checkbox now,
the other the quantity.
* Save changes
* Click confirm
* Continue (complaint about the second order left unchanged)

You are back on the summary:
* pending order: quantity changed from 4 to 3 - correct
* received order: quantity shows 1 - correct

* Click on receive for your updated order line (with 3 items) 
* 4 items show to be received (should be 3)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list