]> git.koha-community.org Git - koha.git/commit
Bug 37109: Don't initialise claims fields when duplicating acquisitions orders
authorAleisha Amohia <aleishaamohia@hotmail.com>
Tue, 18 Jun 2024 03:29:32 +0000 (03:29 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 24 Oct 2024 08:45:38 +0000 (10:45 +0200)
commit1f86c5fc1a7dce7cb2352b6a2d4d6fd356634cb4
tree118f9af0f0b5a336e61fe6a73d2c971a37d20c66
parent3c286b58940e036fff5bfc797c6fecebef2378cd
Bug 37109: Don't initialise claims fields when duplicating acquisitions orders

These fields don't exist in the aqorders table and don't need to be
set/passed on.

* claims_count (dropped in Bug 24161)
* claimed_date (dropped in Bug 24161)
* placed_on (no evidence of this field existing in aqorders)
* received_on (no evidence of this field existing in aqorders)

To test:

1. Go to Acquisitions
2. Create a vendor if you don't already have one
3. Create a basket if you don't already have one
4. Add an order to the basket and Save
5. Add another order to the basket, choose "From existing orders
   (copy)"
6. Continue through the process and confirm you're able to duplicate the
   order as normal
7. Confirm tests still pass t/db_dependent/Koha/Acquisition/Order.t

Sponsored-by: Catalyst IT
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/Acquisition/Order.pm