[open-ils-commits] [GIT] Evergreen ILS branch master updated. a6807c2731d583d598394499e48c154d4fa45005

Evergreen Git git at git.evergreen-ils.org
Thu Mar 15 13:11:58 EDT 2012


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  a6807c2731d583d598394499e48c154d4fa45005 (commit)
      from  ebaf0fd679a1f466205cffa1a3edfd8dffac3e5f (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 a6807c2731d583d598394499e48c154d4fa45005
Author: Bill Erickson <berick at esilibrary.com>
Date:   Wed Mar 7 10:39:44 2012 -0500

    ACQ PO state defaults to "pending" from upload
    
    When uploading a batch of records to create a PO, give the PO the
    initial state of "pending" instead of "on-order".  If the PO is meant to
    be activated, its state will updated to "on-order" during the activation
    phase.
    
    Signed-off-by: Bill Erickson <berick at esilibrary.com>
    Signed-off-by: James Fournie <jfournie at sitka.bclibraries.ca>

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 b0290a5..ff07c7d 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm
@@ -1231,7 +1231,7 @@ sub upload_records {
         $po = create_purchase_order($mgr, 
             ordering_agency => $ordering_agency,
             provider => $provider->id,
-            state => 'on-order'
+            state => 'pending' # will be updated later if activated
         ) or return $mgr->editor->die_event;
     }
 

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

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


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list