Naming Series Question

Hello,

Beside the AutoName i want to have another field that generates evrytime when a new doc is created an series defined by me in ,Setup-Naming Series"

Is there a way to do this? I don’t want to have the AutoName change with Naming_series.

THanks

You have to write autoname function in the server side.

can you please help me?

the Doctype name is , Sesizari’’ and the field name is ,naming_series"

This is an example of autoname function:
https://github.com/frappe/erpnext/blob/develop/erpnext/hr/doctype/salary_slip/salary_slip.py#L17