Merge pull request #40915 from khushi8112/company-field-should-be-fetch-from-parent-acc

fix: company field should be fetch from parent acc
This commit is contained in:
Rushabh Mehta
2024-04-26 12:28:06 +05:30
committed by GitHub
2 changed files with 3 additions and 0 deletions

View File

@@ -65,6 +65,8 @@
"label": "Is Group"
},
{
"fetch_from": "parent_account.company",
"fetch_if_empty": 1,
"fieldname": "company",
"fieldtype": "Link",
"in_standard_filter": 1,

View File

@@ -22,6 +22,7 @@ erpnext.accounts.dimensions = {
});
me.default_dimensions = r.message[1];
me.setup_filters(frm, doctype);
me.update_dimension(frm, doctype);
},
});
},