mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 21:29:11 +00:00
[bug fixes] [global defaults] [cleanup]
This commit is contained in:
@@ -240,8 +240,7 @@ class DocType:
|
||||
cc_bean.ignore_permissions = True
|
||||
cc_bean.insert()
|
||||
|
||||
webnotes.conn.set_value("Company", self.doc.name, "cost_center",
|
||||
"Main - " + self.doc.abbr)
|
||||
webnotes.conn.set(self.doc, "cost_center", "Main - " + self.doc.abbr)
|
||||
|
||||
def on_update(self):
|
||||
self.set_letter_head()
|
||||
|
||||
Reference in New Issue
Block a user