Skip to content

Commit

Permalink
fix: e_commerce_settings.js
Browse files Browse the repository at this point in the history
Update get meta from Item to Website Item
To allow Website Item Fields to display meta fields
  • Loading branch information
MostafaFekry authored Mar 10, 2022
1 parent a04c7fc commit 3a5f5d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ frappe.ui.form.on("E Commerce Settings", {
);
}

frappe.model.with_doctype("Item", () => {
frappe.model.with_doctype("Website Item", () => {
const web_item_meta = frappe.get_meta('Website Item');

const valid_fields = web_item_meta.fields.filter(
Expand Down

0 comments on commit 3a5f5d5

Please sign in to comment.