chore: do not reset homepage through hooks
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
This commit is contained in:
parent
33bf0574a3
commit
3e503e4404
@ -40,5 +40,3 @@ def home_page_is_products(doc, method):
|
||||
home_page_is_products = cint(frappe.db.get_single_value('Products Settings', 'home_page_is_products'))
|
||||
if home_page_is_products:
|
||||
doc.home_page = 'products'
|
||||
elif doc.home_page == "products":
|
||||
doc.home_page = 'home'
|
||||
|
Loading…
x
Reference in New Issue
Block a user