Bugzilla – Attachment 95778 Details for
Bug 23927
Duplicate a "Complete" order link the "New" one to the invoice
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23927: Do not copy invoiceid for a new duplicated order
Bug-23927-Do-not-copy-invoiceid-for-a-new-duplicat.patch (text/plain), 1.20 KB, created by
Jonathan Druart
on 2019-11-25 10:56:55 UTC
(
hide
)
Description:
Bug 23927: Do not copy invoiceid for a new duplicated order
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2019-11-25 10:56:55 UTC
Size:
1.20 KB
patch
obsolete
>From 1292479120952be4b9ce4b1fa119880ff8cad1c9 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 25 Nov 2019 11:53:45 +0100 >Subject: [PATCH] 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 >--- > Koha/Acquisition/Order.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/Koha/Acquisition/Order.pm b/Koha/Acquisition/Order.pm >index 9bba0faef2..4a25814f2d 100644 >--- a/Koha/Acquisition/Order.pm >+++ b/Koha/Acquisition/Order.pm >@@ -223,6 +223,7 @@ sub duplicate_to { > ordernumber > received_on > datereceived >+ invoiceid > datecancellationprinted > cancellationreason > purchaseordernumber >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 23927
:
95777
|
95778
|
95815
|
95816
|
95844
|
95845