patch: Side Panel layouts were not generating
This commit is contained in:
parent
76616cb02d
commit
3dc7a254b1
@ -9,4 +9,4 @@ crm.patches.v1_0.create_email_template_custom_fields
|
||||
crm.patches.v1_0.create_default_fields_layout #10/12/2024
|
||||
crm.patches.v1_0.create_default_sidebar_fields_layout
|
||||
crm.patches.v1_0.update_deal_quick_entry_layout
|
||||
crm.patches.v1_0.update_fields_layout_to_new_format
|
||||
crm.patches.v1_0.update_layouts_to_new_format
|
||||
@ -95,7 +95,7 @@ def get_new_layout(old_layout, type):
|
||||
if already_converted:
|
||||
new_layout = old_layout
|
||||
|
||||
if type == "Side Panel" and "sections" in old_layout[0]:
|
||||
if type == "Side Panel" and "sections" in new_layout[0]:
|
||||
new_layout = new_layout[0].get("sections")
|
||||
|
||||
return json.dumps(new_layout)
|
||||
Loading…
x
Reference in New Issue
Block a user