Try ERPNext Buy Support Partners Foundation

Security in naming series

Is there any way I can manage security in the naming series on a document.
e.g., if I have two series for Sales Invoice i.e., SAL/.YYYY./.##### and BoS/.YYYY./.##### and I want user A should be able to see only SAL/.YYYY./.##### and User B should be able to BoS/.YYYY./.##### by default.

Or automation to change the naming series with the logged-in users.

Any help would be much appreciated.

you can use to make the naming series field read only and change to required series depending on user

How to change series depended on user? Is there a script or existing functionality? If yes, could you please share an example.

define required no of series, use frm.set_value() to set value in the series field with appropriate trigger, say like refresh,

use frappe.session.user to get the username of the user