feat: reset status checks before export
This commit is contained in:
parent
7d1f333985
commit
1e956813b9
2 changed files with 5 additions and 1 deletions
|
|
@ -39,3 +39,5 @@ class Onboarding(Document):
|
|||
|
||||
return False
|
||||
|
||||
def before_export(self, doc):
|
||||
doc.is_complete = 0
|
||||
|
|
|
|||
|
|
@ -7,4 +7,6 @@ from __future__ import unicode_literals
|
|||
from frappe.model.document import Document
|
||||
|
||||
class OnboardingStep(Document):
|
||||
pass
|
||||
def before_export(self, doc):
|
||||
doc.is_complete = 0
|
||||
doc.is_skipped = 0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue