]> git.koha-community.org Git - koha.git/commit
Bug 34880: (follow-up) Make condition more specific
authorKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 22 Sep 2023 08:53:23 +0000 (08:53 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 22 Sep 2023 19:18:09 +0000 (09:18 -1000)
commit8b9e57fe55cb0f0be6c521dbe436f31d117b457f
tree2e8ffa406b72dbba1104ef931ce880057015d527
parentfb70c224b39c13aec5b0714facb9f30dc38b7b2f
Bug 34880: (follow-up) Make condition more specific

To test (applies to both patches):

* Add a new basket as 'standing order' and with 'items created in cataloguing'
* Create an order line
* Receive shipment and create an invoice
* Receive your order
* Verify:
  * Quantity ordered: 1
  * Quantity received: 1 (pre-filled)
  * No item form on the right
* Confirm
* Receive error:
  Order X: No quantity to receive set. No items will be created.
* Verify no receive was processed (received orders remains empty)
* Apply patch
* Verify receive works as expected

Other possible combinations to test:

* Standing order, items on receive
* Standing order, items on order (no items are created)
* Standing order + order from subscription + any item setting (no items are created)
* No standing order + items in cataloguing
* No standing order + items on receive
* No standing order + items on order
* No standing oder + order from subscription + all item settings (no items are created)

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit e28ea9c4af380cae9b29b56ebe03ab0f244d2c47)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt