Bugzilla – Attachment 95845 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.41 KB, created by
Martin Renvoize (ashimema)
on 2019-11-27 09:15:31 UTC
(
hide
)
Description:
Bug 23927: Do not copy invoiceid for a new duplicated order
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2019-11-27 09:15:31 UTC
Size:
1.41 KB
patch
obsolete
>From 8cd6cb9b58bbb1e3b16450f396c274c88d9d7626 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 >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >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> >--- > 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.20.1
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