Koha-clms/Koha/Acquisition
Jonathan Druart 5b694fea9a
Bug 23927: Do not copy invoiceid for a new duplicated order
When an order is created from an existing one (duplication), then the
invoice should be set to null instead of retrieved.

Test plan:
- receive an order
- in a new basket, add an order "From exisitions orders (copy)"
- search your received order
- duplicate
- go to the bibliographic record "Acquisition details" tab
=> Without this patch you will see that the invoice is the same for the
two orders
=> With this patch the invoice for the new order is not set

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-11-27 09:18:27 +00:00
..
Bookseller Bug 13726: Make Koha::Acq::Bookseller using Koha::Object 2016-12-30 11:54:32 +00:00
Invoice Bug 22541: Invoice adjustments should show invoice number and include link on ordered.pl and spent.pl 2019-04-11 11:45:24 +00:00
Basket.pm Bug 15774: Use Koha::Object(s) for additional fields 2019-03-07 20:37:05 +00:00
BasketGroup.pm Bug 20366: Add new method Koha::Acquisition::Basket->basket_group 2018-08-30 13:48:08 +00:00
BasketGroups.pm Bug 20366: Add new method Koha::Acquisition::Basket->basket_group 2018-08-30 13:48:08 +00:00
Baskets.pm Bug 15774: Use Koha::Object(s) for additional fields 2019-03-07 20:37:05 +00:00
Bookseller.pm Bug 23843: Add mapping to Koha::Acquisition::Bookseller 2019-10-23 18:03:21 +01:00
Booksellers.pm Bug 19130: (followup) Add POD 2017-08-25 11:53:44 -03:00
Budget.pm Bug 19826: Add K::Acq::Budget(s) and K::Acq::Fund(s) 2017-12-26 12:05:51 -03:00
Budgets.pm Bug 19826: Add tests 2017-12-26 12:52:01 -03:00
Currencies.pm Bug 15084: Fix conflict with bug 15446 (type vs _type) 2016-03-03 20:39:03 +00:00
Currency.pm Bug 16053: Do not remove the active flag when editing the active currency 2016-03-21 21:35:04 +00:00
Fund.pm Bug 23843: Add mapping to Koha::Acquisition::Fund 2019-10-23 18:03:24 +01:00
Funds.pm Bug 19826: Add tests 2017-12-26 12:52:01 -03:00
Invoice.pm Bug 20726: Add new method Acquisition::Order->invoice 2018-08-30 13:40:37 +00:00
Invoices.pm Bug 20726: Add new method Acquisition::Order->invoice 2018-08-30 13:40:37 +00:00
Order.pm Bug 23927: Do not copy invoiceid for a new duplicated order 2019-11-27 09:18:27 +00:00
Orders.pm Bug 19256: (QA followup) Add missing POD 2017-09-07 15:03:04 -03:00