[open-ils-commits] [GIT] Evergreen ILS branch master updated. aae36eabf72fb037ed54d8b24146723230e669aa
Evergreen Git
git at git.evergreen-ils.org
Wed Jun 19 09:26:59 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, master has been updated
via aae36eabf72fb037ed54d8b24146723230e669aa (commit)
from 7d8e0cab70128e271f7cfcc321cf67c6b1027aa2 (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 aae36eabf72fb037ed54d8b24146723230e669aa
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 7313471..9661f92 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