versionify only if explicit, frappe/erpnext#1439
This commit is contained in:
parent
1e49beac47
commit
4b2c57d13d
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ class WebsiteGenerator(DocListController):
|
|||
|
||||
def on_update(self):
|
||||
self.update_sitemap()
|
||||
if self.save_versions:
|
||||
if getattr(self, "save_versions", False):
|
||||
frappe.add_version(self.doclist)
|
||||
|
||||
def after_rename(self, olddn, newdn, merge):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue