http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13319 --- Comment #1 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 33775 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=33775&action=edit Bug 13319: Fix Koha::Acq::Order should set parent_ordernumber The tests highligh the problem: if the parent_ordernumber attribute is not set on inserting an order, the object returned by the method does not contain the value (undef). Test plan: Verify the tests are consistent and prove t/db_dependent/Acquisition/CancelReceipt.t should return green. You can also verify that receive partially an order and cancel the receipt work as expected. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.