Ver a proveniência
fix: allow falsy values
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
version-14
Raffael Meyer
há 3 anos
committed by
GitHub
ascendente
cometimento
12f69fb399
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados
ID da chave GPG: 4AEE18F83AFDEB23
1 ficheiros alterados com
1 adições e
1 eliminações
-
frappe/public/js/frappe/form/form.js
|
|
@@ -1704,7 +1704,7 @@ frappe.ui.form.Form = class FrappeForm { |
|
|
|
// Update the `value` of the field named `fieldname` in all rows of the |
|
|
|
// child table named `table_fieldname`. |
|
|
|
// Do not overwrite existing values. |
|
|
|
if (!value) return; |
|
|
|
if (value === undefined) return; |
|
|
|
|
|
|
|
frappe.model |
|
|
|
.get_children(this.doc, table_fieldname) |
|
|
|