mirror of
https://github.com/frappe/books.git
synced 2026-08-24 10:04:45 -05:00
feat: set instance name
This commit is contained in:
@@ -261,6 +261,10 @@ export class Doc extends Observable<DocValue | Doc[]> {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!!this.schema.isSubmittable && !this.isSubmitted) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return getShouldDocSyncToERPNext(
|
||||
this.fyo.singles.ERPNextSyncSettings,
|
||||
this
|
||||
|
||||
Reference in New Issue
Block a user