Bug 15408: Remove fund's timestamp when cloning a budget
commitf4615a2f817dc08e8d89c667646bff8dcc0b1c28
authorBaptiste Wojtkowski <baptiste.wojtkowski@biblibre.com>
Fri, 3 Feb 2017 15:22:36 +0000 (3 15:22 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 22 Aug 2018 12:51:52 +0000 (22 12:51 +0000)
tree6a878348e9d92b3d1846da5c1bc96ca6fcb75c9a
parent76141a352ed5ff8c9541c0d4b1c99e22e5339add
Bug 15408: Remove fund's timestamp when cloning a budget

To duplicate the budget, the function CloneBudgetHierarchy create a new budget
from the old without the parameter timestamp, so that the database generates a
new one.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Added unit tests to patch

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Modified to run properly the QA tests

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Budgets.pm
t/db_dependent/Budgets.t