]> git.koha-community.org Git - koha.git/commit
Bug 24296: Update stockrotation process to use branchtransfers.reason
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 16 Jan 2020 09:52:20 +0000 (09:52 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 28 Jan 2020 15:03:30 +0000 (15:03 +0000)
commitd06fbc124e3e13bc1487544fcd45c84e97b17a65
tree190727b0105e89bb31ec9e8cb4b01ff8754c3009
parentb43a4b2756745d7bf96ef2c138708fba05ac5c82
Bug 24296: Update stockrotation process to use branchtransfers.reason

This patch updates all occurences of stockrotation related lookups of
branchtransfers status from using the 'comments' field to using the new
'reason' field.

Test plan:
1) Work through the process of creating a stock rotation plan and adding
   items to the plan.. no errors should be encoutered during this process.
2) Run the stockrotation cronjob to move some items on.. no errors
   should be encountered.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/StockRotationItem.pm
t/db_dependent/StockRotationItems.t