mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 19:19:17 +00:00
[website] [minor] moving to framework
This commit is contained in:
106
config.json
106
config.json
@@ -72,111 +72,5 @@
|
||||
"label": "Notes",
|
||||
"icon": "icon-file-alt"
|
||||
}
|
||||
},
|
||||
"web": {
|
||||
"pages": {
|
||||
"account": {
|
||||
"no_cache": true,
|
||||
"template": "app/portal/templates/account.html"
|
||||
},
|
||||
"order": {
|
||||
"no_cache": true,
|
||||
"template": "app/portal/templates/sale.html",
|
||||
"args_method": "utilities.website_transactions.get_order_args",
|
||||
"portal": {
|
||||
"doctype": "Sales Order",
|
||||
"conditions": {
|
||||
"docstatus": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"orders": {
|
||||
"no_cache": true,
|
||||
"template": "app/portal/templates/sales_transactions.html",
|
||||
"args_method": "utilities.website_transactions.order_list_args"
|
||||
},
|
||||
"invoice": {
|
||||
"no_cache": true,
|
||||
"template": "app/portal/templates/sale.html",
|
||||
"args_method": "utilities.website_transactions.get_invoice_args",
|
||||
"portal": {
|
||||
"doctype": "Sales Invoice",
|
||||
"conditions": {
|
||||
"docstatus": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"invoices": {
|
||||
"no_cache": true,
|
||||
"template": "app/portal/templates/sales_transactions.html",
|
||||
"args_method": "utilities.website_transactions.invoice_list_args"
|
||||
},
|
||||
"shipment": {
|
||||
"no_cache": true,
|
||||
"template": "app/portal/templates/sale.html",
|
||||
"args_method": "utilities.website_transactions.get_shipment_args",
|
||||
"portal": {
|
||||
"doctype": "Delivery Note",
|
||||
"conditions": {
|
||||
"docstatus": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"shipments": {
|
||||
"no_cache": true,
|
||||
"template": "app/portal/templates/sales_transactions.html",
|
||||
"args_method": "utilities.website_transactions.shipment_list_args"
|
||||
},
|
||||
"product_search": {
|
||||
"template": "app/stock/doctype/item/templates/product_search.html"
|
||||
},
|
||||
"ticket": {
|
||||
"no_cache": true,
|
||||
"template": "app/support/doctype/support_ticket/templates/ticket.html",
|
||||
"args_method": "support.doctype.support_ticket.support_ticket.get_website_args",
|
||||
"portal": {
|
||||
"doctype": "Support Ticket"
|
||||
}
|
||||
},
|
||||
"tickets": {
|
||||
"template": "app/support/doctype/support_ticket/templates/tickets.html",
|
||||
"args_method": "utilities.website_transactions.ticket_list_args"
|
||||
},
|
||||
"address": {
|
||||
"no_cache": true,
|
||||
"template": "app/utilities/doctype/address/templates/address.html",
|
||||
"args_method": "utilities.doctype.address.address.get_website_args"
|
||||
},
|
||||
"addresses": {
|
||||
"template": "app/utilities/doctype/address/templates/addresses.html"
|
||||
},
|
||||
"profile": {
|
||||
"no_cache": true,
|
||||
"template": "app/portal/templates/profile.html",
|
||||
"args_method": "startup.webutils.get_profile_args"
|
||||
},
|
||||
"cart": {
|
||||
"no_cache": true,
|
||||
"template": "app/portal/templates/cart.html"
|
||||
},
|
||||
"partners": {
|
||||
"template": "app/setup/doctype/sales_partners/templates/partners.html",
|
||||
"args_method": "setup.doctype.sales_partner.sales_partner.get_partner_args"
|
||||
}
|
||||
},
|
||||
"generators": {
|
||||
"Item": {
|
||||
"template": "app/stock/doctype/item/templates/item.html",
|
||||
"condition_field": "show_in_website"
|
||||
},
|
||||
"Item Group":{
|
||||
"template": "app/setup/doctype/item_group/templates/item_group.html",
|
||||
"condition_field": "show_in_website"
|
||||
},
|
||||
"Sales Partner": {
|
||||
"template": "app/setup/doctype/sales_partner/templates/partner_page.html",
|
||||
"condition_field": "show_in_website"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user