[open-ils-commits] [GIT] Evergreen ILS branch rel_2_4 updated. 02c546a31aa5883a991258e850ed5a25eb313973

Evergreen Git git at git.evergreen-ils.org
Wed Jun 19 09:26:39 EDT 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_2_4 has been updated
       via  02c546a31aa5883a991258e850ed5a25eb313973 (commit)
      from  355e62809b632b5efc5283cf68b46eea9ba4d22e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 02c546a31aa5883a991258e850ed5a25eb313973
Author: Bill Erickson <berick at esilibrary.com>
Date:   Tue May 7 09:48:05 2013 -0400

    LP 1177388 'Add to Po' Honors default copy count
    
    Create the requested number of copies for lineitems added to purchase
    orders whose provider has a non-zero value for 'default copy count'.
    
    Signed-off-by: Bill Erickson <berick at esilibrary.com>
    Signed-off-by: Kathy Lussier <klussier at masslnc.org>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm
index d8f7e8d..59af1b7 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm
@@ -3683,6 +3683,7 @@ sub add_li_to_po {
         $li->provider($po->provider);
         $li->purchase_order($po_id);
         $li->state('pending-order');
+        apply_default_copies($mgr, $po, $li->id) or return $e->die_event;
         update_lineitem($mgr, $li) or return $e->die_event;
     }
 

-----------------------------------------------------------------------

Summary of changes:
 .../perlmods/lib/OpenILS/Application/Acq/Order.pm  |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list