Exemplo n.º 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)
Exemplo n.º 2
0
 def on_trash(self):
     NestedSet.on_trash(self)
     WebsiteGenerator.on_trash(self)
Exemplo n.º 3
0
	def on_trash(self):
		NestedSet.on_trash(self)
		WebsiteGenerator.on_trash(self)
		self.delete_child_item_groups_key()
Exemplo n.º 4
0
	def on_trash(self):
		NestedSet.on_trash(self)
		WebsiteGenerator.on_trash(self)