Bug #11625
Updated by Yalavarthi Thriveni 11 days ago
product create and edit
On create, the mandatory stock field becomes Opening stock. It asks for warehouse, batch number (or auto-generates it) and expiry if the category needs it. It creates a batch, not just a number.
The manufacture and expiry dates on the product form then act as defaults for that opening batch. Batch expiry is the real value.
On edit, show the stock total as read-only, with a link to its batches and an “Adjust stock” action.
Consider the variants wise stock quantity and maintain total product quantity as sum of all product variants stock quantity
Map default warehouse to that product