2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +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);
for (const schemaName in targetFieldnameMap) {
const fieldname = targetFieldnameMap[schemaName];
const childTable = childTableMap[name][schemaName];
const childTable = childTableMap[name]?.[schemaName];
if (!childTable) {
continue;
}

View File

@ -64,4 +64,4 @@ test('import SalesInvoices', async (t) => {
);
});
closeTestFyo(fyo, __filename);
closeTestFyo(fyo, __filename);