Exemple #1
0
    def on_trash(self):
        # clear from child table (sub procedures)
        frappe.db.sql(
            """update `tabQuality Procedure Process`
			set `procedure`='' where `procedure`=%s""",
            self.name,
        )
        NestedSet.on_trash(self, allow_root_deletion=True)
Exemple #2
0
 def on_trash(self):
     NestedSet.on_trash(self)
     WebsiteGenerator.on_trash(self)
Exemple #3
0
	def on_trash(self):
		NestedSet.on_trash(self)
		WebsiteGenerator.on_trash(self)
		self.delete_child_item_groups_key()
Exemple #4
0
	def on_trash(self):
		NestedSet.on_trash(self)
		WebsiteGenerator.on_trash(self)