refactor: refactor contextual print setting implementation

This commit is contained in:
prssanna
2020-10-29 14:19:34 +05:30
parent bc6a2b2f9c
commit 71e5b60df1
20 changed files with 68 additions and 135 deletions

View File

@@ -26,7 +26,7 @@ class Project(Document):
self.update_costing()
def before_print(self):
def before_print(self, settings=None):
self.onload()