[Koha-bugs] [Bug 12019] funds displayed on acquisition home show funds of all branches

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 2 13:33:10 CEST 2014


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

--- Comment #10 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 26758
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26758&action=edit
Bug 12019: If a fund has a restriction, a owner is mandatory

The C4::Budgets::CanUserUseBudget assumes that budget_owner_id is
set if a restriction (budget_permission) exists.
see
        && $budget->{budget_owner_id}
        && $budget->{budget_owner_id} != $borrower->{borrowernumber}

Test plan:
Edit a fund and try to save it with a limitation and no owner. It should
not be possible.

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


More information about the Koha-bugs mailing list