2
0
mirror of https://github.com/frappe/books.git synced 2025-01-26 16:48:28 +00:00

Merge branch 'frappe:master' into batch-wise-item

This commit is contained in:
Akshay 2023-02-21 18:36:15 +05:30 committed by GitHub
commit 56ebc57d76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -232,7 +232,7 @@ export class Importer {
const doc = this.fyo.doc.getNewDoc(this.schemaName, data, false); const doc = this.fyo.doc.getNewDoc(this.schemaName, data, false);
for (const schemaName in targetFieldnameMap) { for (const schemaName in targetFieldnameMap) {
const fieldname = targetFieldnameMap[schemaName]; const fieldname = targetFieldnameMap[schemaName];
const childTable = childTableMap[name][schemaName]; const childTable = childTableMap[name]?.[schemaName];
if (!childTable) { if (!childTable) {
continue; continue;
} }