mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
fix: breaking of patch due to deprecated field numberFormat
This commit is contained in:
parent
85cd124024
commit
e1cac53fa8
@ -31,6 +31,11 @@ export default async function execute() {
|
||||
for (let field of fields) {
|
||||
row[field] = frappe.pesa(row[field] ?? 0).store;
|
||||
}
|
||||
|
||||
if ('numberFormat' in row) {
|
||||
delete row.numberFormat;
|
||||
}
|
||||
|
||||
return row;
|
||||
});
|
||||
await frappe.db.prestigeTheTable(name, convertedRows);
|
||||
|
Loading…
Reference in New Issue
Block a user