fix to update_after_submit
This commit is contained in:
parent
796773bc67
commit
bcf6471612
1 changed files with 2 additions and 0 deletions
|
|
@ -239,6 +239,8 @@ class DocList:
|
|||
"""
|
||||
Update after submit - some values changed after submit
|
||||
"""
|
||||
if self.doc.docstatus != 1:
|
||||
msgprint("Only to called after submit", raise_exception=1)
|
||||
self.to_docstatus = 1
|
||||
self.prepare_for_save(1)
|
||||
self.save_main()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue