There are no single method to fill default values from framework. Every module has there own way to do it. One method helps to keep code clean and robust.
Created attachment 192588 [details] [review] Bug 41763: use fill_default_value instead of FillWithDefaultValues This patch adds unified version of the code to fill default values in acquisition order creation. It uses the fill_default_value method from the Koha::Biblioframeworks instead of the C4::Acquisition::FillWithDefaultValues module. Test plan: 1. Create or modify acquisition framework ACQ with a default value for a field (for instance 099$z=1). 2. Create a new acquisition order from a new record. 3. Verify the default value exist in the order detail page. Sponsored-by: Koha-Suomi Oy