[Koha-bugs] [Bug 12054] It’s possible to make order from an inactive vendor

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat May 16 14:07:53 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12054

--- Comment #7 from Indranil Das Gupta <indradg at gmail.com> ---
Created attachment 39238
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39238&action=edit
Bug 12054: Inactive vendors should be inactive

This patch make inactive vendors really inactive.
That means an inactive vendor would not be able to receive / add a
basket / add an order.

Revised test plan
=================

1/ In the acquisition module create 2 vendors: 1 active and 1 inactive.
2/ On the acqui/booksellers.pl, acqui/uncertainprice.pl,
   admin/aqcontract.pl and acqui/supplier.pl (pages which include the
   acq toolbar), you should be able to, for both the 'active' as well
   as the inactive vendor :
     (a) add new basket
     (b) add order items to the basket
     (c) receive shipment and enter invoice details and files
   Remark: This is *wrong*. You should be able to do so only for active
           vendor.
3/ Apply the patch
4/ Go to the links in step #2 above and select the inactive vendor
   you should no longer be able to:
   (a) add new basket
   (b) add order items to the basket
   (c) receive shipment and enter invoice details and files
   Remark: This is the *correct* behaviour
5/ No change should be noted for vendor marked "active", and should
   be able to undertake operations 4 (a), 4 (b) and 4 (c).
   Remark: This is the *correct* behaviour.
6/ run koha qa tests tool

Signed-off-by: Indranil Das Gupta (L2C2 Technologies) <indradg at gmail.com>

Remarks: Testing result match expected test plan output. The QA tests
         pass with "OK" for the commit.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list