mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
added about us page and settings
This commit is contained in:
@@ -31,7 +31,8 @@ class DocType:
|
||||
self.doc.name = self.doc.supplier + '-' + self.doc.address_type
|
||||
elif self.doc.sales_partner:
|
||||
self.doc.name = self.doc.sales_partner + '-' + self.doc.address_type
|
||||
|
||||
elif self.doc.address_title:
|
||||
self.doc.address_title = self.doc.address_title + "-" + self.doc.address_type
|
||||
|
||||
def validate(self):
|
||||
self.validate_for_whom()
|
||||
|
||||
Reference in New Issue
Block a user