I have a DocType Name ‘Shear’ i want make a autoname for this DocType.
I am using The code from this tutorial link :
http://wnframework.readthedocs.org/en/latest/server_side_cookbook.html
def autoname(self):
self.doc.name = make_autoname(self.doc.naming_series+'.#####')
And i also import from frappe.model.naming import make_autoname
Is there any missing library ? How can i solve this problem.