mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 23:22:52 +00:00
chore: Patches for Website Item
- Patch to make website item from item - Patch to move Products and Shopping Cart Settings into E Commerce Settings - Patch to move products in Homepage from Item to Website Item - Minor cleanup, replacing/removing references to Item website fields (obsolete)
This commit is contained in:
@@ -264,7 +264,7 @@ def guess_territory():
|
||||
|
||||
def decorate_quotation_doc(doc):
|
||||
for d in doc.get("items", []):
|
||||
d.update(frappe.db.get_value("Item", d.item_code,
|
||||
d.update(frappe.db.get_value("Website Item", {"item_code": d.item_code},
|
||||
["thumbnail", "website_image", "description", "route"], as_dict=True))
|
||||
|
||||
return doc
|
||||
|
||||
Reference in New Issue
Block a user