From f02657d16acd23116076bbd499e5bd0064192398 Mon Sep 17 00:00:00 2001 From: atz Date: Wed, 15 Sep 2010 05:24:52 +0000 Subject: [PATCH] Allow state='retry' git-svn-id: svn://svn.open-ils.org/ILS/trunk@17673 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../Application/Trigger/Validator/Acq/PurchaseOrderEDIRequired.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Trigger/Validator/Acq/PurchaseOrderEDIRequired.pm b/Open-ILS/src/perlmods/OpenILS/Application/Trigger/Validator/Acq/PurchaseOrderEDIRequired.pm index 28c9ffc3e..211d75fee 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Trigger/Validator/Acq/PurchaseOrderEDIRequired.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Trigger/Validator/Acq/PurchaseOrderEDIRequired.pm @@ -16,8 +16,10 @@ sub handler { new_editor->retrieve_acq_provider($po->provider); return 1 if - $po->state eq 'on-order' and - $provider->edi_default and + ($po->state eq 'on-order' or + $po->state eq 'retry' ) and + $provider and + $provider->edi_default and $U->is_true($provider->active); return 0; -- 2.11.0