Main Koha release repository https://koha-community.org
Find a file
Slava Shishkin 9110547de0
Bug 35004: Set row.quantity_received to 1 if row.quantity_received is empty and we're in 'cataloguing' mode
Before the code changes only field value was set to 1,
but "row.quantity_received" still had an undefined value.
After correction row.quantity_received set to 1 if it is empty,
but only when effective_create_items == 'cataloguing',
and after that its value assigned to the form field.

To test:
1. Add a new basket.
2. Create an order line
3. Receive shipment and create an invoice
4. Start receiving your order:
    Verify:
    - Quantity ordered: X
    - Quantity received: 1 (pre-filled, don't touch or change it)
5. Click "Confirm"
6. Observe the Receive error popup: "Order ZZZ: No quantity to receive
   set. No items will be created."
7. Verify that "Order receive" was not happen (received orders remains
   empty)
8. Apply the patch and make sure your order is received correctly after
   step 5.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-11-03 12:04:43 -03:00
acqui Bug 34908: Sort item types alphabetically by description when adding a new empty record as an order to a basket 2023-10-25 12:09:54 -03:00
admin Bug 18203: Rename column 2023-11-01 18:01:39 -03:00
api Bug 29002: (QA follow-up) Fix stray x-koha-embed 2023-11-03 12:04:31 -03:00
authorities
basket
bin
bookings Bug 29002: Fix permission required to access bookings list 2023-11-03 12:04:28 -03:00
C4 Bug 35231: Resolve crash on unexisting patron in Auth 2023-11-03 12:04:42 -03:00
catalogue Bug 29002: Tidy 2023-11-03 12:04:30 -03:00
cataloguing Bug 32853: Fix cataloguing/value_builder/unimarc_field_125.pl 2023-10-30 09:02:15 -03:00
circ Bug 29002: Tidy 2023-11-03 12:04:30 -03:00
clubs
course_reserves
debian Bug 25672: Convert to restricting to listed repositories only 2023-10-31 11:02:43 -03:00
docs Bug 34424: Add Emily Lamancusa to QA Team 2023-10-31 11:02:51 -03:00
erm
errors
etc Bug 25672: Convert to restricting to listed repositories only 2023-10-31 11:02:43 -03:00
ill
installer Bug 35185: Remove is_html flag from sample notices that are plain text 2023-11-03 12:04:36 -03:00
Koha Bug 24480: (follow-up) Shift new fields into array and add after all are copied 2023-11-03 12:04:34 -03:00
koha-tmpl Bug 35004: Set row.quantity_received to 1 if row.quantity_received is empty and we're in 'cataloguing' mode 2023-11-03 12:04:43 -03:00
labels Bug 10762: (QA follow-up) Perltidy 2023-10-25 10:35:31 -03:00
lib/CGI/Session/Serialize
members Bug 32730: Add Patron Lists tab to patron details and circulation pages 2023-11-01 17:23:09 -03:00
misc Bug 35196: Remove misc/perlmodule_* scripts 2023-11-03 12:04:42 -03:00
offline_circ
opac Bug 18203: Rename column 2023-11-01 18:01:39 -03:00
patron_lists Bug 32730: Add Patron Lists tab to patron details and circulation pages 2023-11-01 17:23:09 -03:00
patroncards
plugins Bug 25672: Fix double output_html_with_http_headers 2023-10-31 11:02:45 -03:00
pos
preservation Bug 34030: Add a "print slips" action links to print in batch 2023-10-23 11:33:55 -03:00
recalls
reports Bug 34456: (QA follow-up) perltidy code 2023-11-01 17:23:18 -03:00
reserve
reviews
rotating_collections
serials Bug 35073: perltidy subscription-batchedit.pl 2023-11-03 12:04:37 -03:00
services
skel
suggestion Bug 26994: List names in alphabetical order in Suggestion filter 2023-10-20 16:31:14 -03:00
svc Bug 25393: (QA follow-up) Tidy 2023-10-20 16:31:24 -03:00
t Bug 24480: (follow-up) Adjust tests 2023-11-03 12:04:35 -03:00
tags
tools Bug 31383: (QA follow-up) Tidy 2023-10-20 14:44:03 -03:00
virtualshelves
xt
.editorconfig
.eslintrc.json
.gitignore Bug 34587: Add ability to delete saved reports 2023-10-31 16:46:07 -03:00
.htaccess
.mailmap
.perlcriticrc
.perltidyrc
.proverc.dist
.stylelintrc.json
about.pl Bug 35033: (QA follow-up): tidy up code 2023-10-31 11:02:53 -03:00
app.psgi
build-resources.PL
changelanguage.pl
cpanfile
cypress.config.ts Bug 34319: Upgrade cypress 9.7.0 to 12.17.2 2023-09-05 11:52:25 -03:00
fix-perl-path.PL
gulpfile.js Bug 35079: Replace --force-extract by --generate-pot={always,auto,never} 2023-11-01 17:23:20 -03:00
help.pl
INSTALL
Koha.pm Bug 29002: DBRev 23.06.00.061 2023-11-03 12:04:32 -03:00
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl Bug 35019: Add a CSRF token when deleting news 2023-10-20 17:22:02 -03:00
Makefile.PL Bug 29002: Update Makefile 2023-11-03 12:04:27 -03:00
MANIFEST.SKIP
package.json
README
README.md
README.robots
rewrite-config.PL
tsconfig.json
webpack.config.js Bug 30708: Vue app 2023-10-18 15:41:40 -03:00
yarn.lock

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo