You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
odoo18 It is recommended to modify the following in res_config_settings.py to ensure that About can be displayed normally:
block.attrib.pop("title", None)
block.attrib.pop("tip", None)
block.attrib["class"] = "d-none"
to ensure that About can be displayed normally
is_about = (
block.attrib.get('id') == 'about' or
block.attrib.get('title') == 'About' or
block.attrib.get('name') == 'about_setting_container'
)
if not is_about:
block.getparent().remove(block)
block.attrib.pop("title", None)
block.attrib.pop("tip", None)
block.attrib["class"] = "d-none"
if not form_view.xml_id == "base.res_config_settings_view_form":
Modify to
if 'res_config_settings_view_form' not in form_view.xml_id:
Fix from Sales-Settings Bug that displays the Enterprise Edition menu when entering the settings page
if not is_about:
block.getparent().remove(block)
block.attrib.pop("title", None)
block.attrib.pop("tip", None)
block.attrib["class"] = "d-none"
if not form_view.xml_id == "base.res_config_settings_view_form":
修改为
if 'res_config_settings_view_form' not in form_view.xml_id:
修复从 销售-设置 进入设置页面时显示企业版菜单的bug
The text was updated successfully, but these errors were encountered:
odoo18 It is recommended to modify the following in res_config_settings.py to ensure that About can be displayed normally:
block.attrib.pop("title", None)
block.attrib.pop("tip", None)
block.attrib["class"] = "d-none"
to ensure that About can be displayed normally
is_about = (
block.attrib.get('id') == 'about' or
block.attrib.get('title') == 'About' or
block.attrib.get('name') == 'about_setting_container'
)
if not is_about:
block.getparent().remove(block)
block.attrib.pop("title", None)
block.attrib.pop("tip", None)
block.attrib["class"] = "d-none"
if not form_view.xml_id == "base.res_config_settings_view_form":
Modify to
if 'res_config_settings_view_form' not in form_view.xml_id:
Fix from Sales-Settings Bug that displays the Enterprise Edition menu when entering the settings page
odoo18 建议res_config_settings.py中的
block.attrib.pop("title", None)
block.attrib.pop("tip", None)
block.attrib["class"] = "d-none"
修改如下,以保证About可以正常显示
is_about = (
block.attrib.get('id') == 'about' or
block.attrib.get('title') == 'About' or
block.attrib.get('name') == 'about_setting_container'
)
if not is_about:
block.getparent().remove(block)
block.attrib.pop("title", None)
block.attrib.pop("tip", None)
block.attrib["class"] = "d-none"
if not form_view.xml_id == "base.res_config_settings_view_form":
修改为
if 'res_config_settings_view_form' not in form_view.xml_id:
修复从 销售-设置 进入设置页面时显示企业版菜单的bug
The text was updated successfully, but these errors were encountered: