According to the docs of the method transitions._update_document_pending_request_for_item, you should have a check to see if the document has no attached items or not before the item assignment.
Currently, if the document has items you will end up assigning all the pending loans to the checked-in item
The argument assign_item does not exist in version v1.0.0a16 so this method is executed after every check-in.
According to the docs of the method
transitions._update_document_pending_request_for_item
, you should have a check to see if the document has no attached items or not before the item assignment.Currently, if the document has items you will end up assigning all the pending loans to the checked-in item
The argument
assign_item
does not exist in versionv1.0.0a16
so this method is executed after every check-in.