Even though usually in combat it's not possible to use items from other party members' inventories, a player can do it using the context menu on items in the the crafting panel, which lists all items in all party members' pockets. It works with potions and scrolls.

Screenshot:
[img]https://i.imgur.com/nqzaMRx.png[/img]