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

--- Comment #7 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 208011
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208011&action=edit
Bug 41087: Allow Import for rolled back EDIFACT messages

The Import button and the cud-import operation only accepted messages
in status 'new'. Add Koha::Edifact::File->can_import, true for inbound
QUOTE, INVOICE and ORDRSP messages that are 'new' or 'rolledback', and
use it in both places. 'rolledback' is the status the following patches
give a rolled back message so that it can be imported again.

The cleanup_database.pl help now says that 'rolledback' messages are
purged by age like other non-new messages.

Test plan:
1. Apply the patch
2. prove t/db_dependent/Koha/Edifact/File.t
3. Insert a 'rolledback' INVOICE message in edifact_messages and open
   Acquisitions > EDIFACT messages: the Import button is shown

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to