[Koha-bugs] [Bug 34445] New: Default budget is not selected in addorderiso2709.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 31 11:47:15 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34445

            Bug ID: 34445
           Summary: Default budget is not selected in addorderiso2709.pl
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Acquisitions
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: matt.blenkinsop at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org

When adding order lines to a basket from a staged marc file using the mappings
in MarcItemFieldsToOrder a default budget should be selected when adding order
lines if no budget is selected in the UI. Currently this does not happen and
the order line creation fails.

To replicate:
1) Add the following to the syspref MarcItemFieldsToOrder

homebranch: 975$a
holdingbranch: 975$b
itype: 975$y
nonpublic_note: 975$x
public_note: 975$z
loc: 975$c
ccode: 975$8
notforloan: 975$7
uri: 975$u
copyno: 975$n
quantity: 975$q
budget_code: 975$h
price: 975$p
replacementprice: 975$v

2) Save the file attached ready to stage
3) Navigate to Acquisitions, choose a vendor and then create/choose a basket
4) Click Add to basket and then From a new file
5) Choose the file you just saved
6) Change the Record matching rule to ISBN and the Action if matching record
found to Ignore incoming record. Click stage for import
7) When the job progress is complete, click the Add staged files to basket
button
8) Click on the Item information tab and in field y - Koha item type select
Books
9) Click Select all on the table
10) Observe that under Item record 1, the budget_code field says "Select a
fund...". Do not change this field, this is just to show that no budget has
been selected
11) At the bottom of the form, click Save
12) You should be back on the basket page - observe that no order lines have
been added

-- 
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