Return of the repack item with batches

It seems we can’t create a purchase receipt for returns if batches in the original receipt are repacked.

Scenerio:

  • Create a purchasre receipt 100 qty, batch name 101
  • Create a repack stock entry for 30 qty. (So we have 70 qty for batch 101 and 30 qty for batch 102)
  • Creating a return receipt fails for batch 102 because return receipts can only be created with the same batch (101 for this example).

Do you have any suggestions? Should we file a bug issue on Github?