Multiple Items in Delivery Note

In erpnext demo I selected 2 sales orders to import products from while making a delivery note.
It happened that same item was present in both sales orders in quantities 4 and 5.
It also showed me the green dot besides both the item rows, while there was only 6 items in stock.
On submission it showed an error.
I think same items from all sales orders should be combined together while being importing items to solve this.

We will have to maintain separate rows, because referencing Sales Order will be different for both the Item Codes. If you don’t have stock availble, then reduce qty to 3-3, and then you will be able to submit delivery note fine with same items as well. Perhaps we can do merging in the print format. Pleaes create Github Issue for that feature suggestion.