feat: set instance name

This commit is contained in:
akshayitzme
2025-05-30 15:58:08 +05:30
committed by AbleKSaju
parent e60494d77f
commit 8d3b8e5114
4 changed files with 88 additions and 45 deletions
+4
View File
@@ -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