mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-06 23:10:26 +00:00
Fixed merge conflict
This commit is contained in:
@@ -103,6 +103,8 @@ class StatusUpdater(Document):
|
||||
|
||||
def set_status(self, update=False, status=None, update_modified=True):
|
||||
if self.is_new():
|
||||
if self.get('amended_from'):
|
||||
self.status = 'Draft'
|
||||
return
|
||||
|
||||
if self.doctype in status_map:
|
||||
|
||||
Reference in New Issue
Block a user