In Stock Settings, You can see the **
Set Serial and Batch Bundle Naming Based on Naming Series** check that to make the name based on your naming series
where?
Search for stock setting and in series and batch tab you can see this “ Set Serial and Batch Bundle Naming Based on Naming Series “ field with check at the bottom
if i want to use the expression instead of naming series
you can set that in the doctype setting, can change naming rule as you wish