Disable default serial no from stock

Hi

Is there a way to disable the default serial no when creating a new Delivery Note?
(ERPNext picks them from available serial no in Stock)

I tried to create a custom script on Delivery Note and Delivery Note Item but can’t find a proper event to do this.

Any suggestions?

Hello Jens,

This is the standard feature, and cannot be disabled via configuration.

If you have written a custom script, please share the same here.

Hi

Thanks

Any tips of how I can achieve this?
I tried setting the value in onload/onload_post_render/refresh etc , but I’m unable to distinguish between ERP default (guess) and the the (real) value from the user…( I don’t know if I can remove the value or not…)

Br
Jens