Koha/installer/data/mysql
Benjamin Rokseth 57608fdecb Bug 7981: Remove HomeOrHoldingBranchReturn syspref
This patch removes HomeOrHoldingBranchReturn syspref and makes circ/returns.pl respect branch
circulation rules from C4::Circulation::GetBranchItemRule. Also transfer slip notice should reflect this.

Default should always be to return item to home branch.

Test plan:
- make sure syspref 'AutomaticItemReturn' is set to 'false'
- unset 'Default checkout, hold and return policy' or set 'Return policy' to 'Item returns home'
- checkout an item and do a checkin from different branch than items homebranch
- verify that you're prompted with a transfer message to item's home branch and that print slip matches

- set 'Return policy' to 'Item returns to issuing library'
- do a checkout and a checkin from branch different than item's home branch
- verify that you're not prompted with a transfer message and that holding library is your current branch

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Follow-up:
- Added 3 tests in t/db_dependent/Circulation_Branches.t to test AddReturn
  policies
- Removed HomeOrHoldingBranchReturn from sysprefs.sql
- Added notice on removing syspref in updatedatabase

QA edits:
- removed trailing whitespace in tests
- moved branchname lookup from returns.pl to template

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
2015-06-11 10:24:22 -03:00
..
atomicupdate Bug 14053: DBRev 3.21.00.007 2015-06-08 10:49:29 -03:00
de-DE Bug 7976: Remove the borrow permission 2015-06-05 13:43:34 -03:00
en Bug 7976: Remove the borrow permission 2015-06-05 13:43:34 -03:00
es-ES Bug 7976: Remove the borrow permission 2015-06-05 13:43:34 -03:00
fr-FR Bug 7976: Remove the borrow permission 2015-06-05 13:43:34 -03:00
it-IT Bug 7976: Remove the borrow permission 2015-06-05 13:43:34 -03:00
mandatory Bug 14285: Bengali locale needs to be re-defined 2015-06-01 15:22:27 -03:00
nb-NO Bug 7976: Remove the borrow permission 2015-06-05 13:43:34 -03:00
pl-PL Bug 7976: Remove the borrow permission 2015-06-05 13:43:34 -03:00
ru-RU Bug 7976: Remove the borrow permission 2015-06-05 13:43:34 -03:00
uk-UA Bug 7976: Remove the borrow permission 2015-06-05 13:43:34 -03:00
backfill_statistics.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
kohastructure.sql Bug 14053: Acquisition db tables are missing indexes 2015-06-08 10:49:19 -03:00
labels_upgrade.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
patroncards_upgrade.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
sysprefs.sql Bug 7981: Remove HomeOrHoldingBranchReturn syspref 2015-06-11 10:24:22 -03:00
update22to30.pl Bug 11398: A typo occurred with occured 2014-01-02 15:12:48 +00:00
updatedatabase.pl Bug 7981: Remove HomeOrHoldingBranchReturn syspref 2015-06-11 10:24:22 -03:00