Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
4116 Lượt xem

Can someone help me to remove the About section under general settings in odoo 16, It shows the links to odoo mobile apps and some branding that i want to remove. I am using the community edition by the way.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

please add the below custom code in any of the custom module 


<record id="res_config_settings_view_form_about" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.about</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//div[@name='about_setting_container']" position="replace">
</xpath>
</field>
</record>


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

My answer in an enhancement of Pedo so instead of searching for the div name which will rremove the about section but keeps the title "About".... You should look for the About id name like this:

id="res_config_settings_view_form_about" model="ir.ui.view">
name="name">res.config.settings.view.form.inherit.about
name="model">res.config.settings
name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
name="arch" type="xml">
expr="//div[@id='about']" position="replace">



Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

Go to Settings and activate developer mode. Then go to Settings -> Technical -> Views


Under the tree view of Views, find the one with view name 'res.config.settings.view.form.inherit.base.setup'. It should most likely be the first one.


Open that view and delete the mentioned code segment in the below screenshot.


And save it manually if required. This will remove the about section under general settings.

If you wish to reset the view in future, you can see compare/reset option in the action menu.

Regards

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 5 24
17169
3
thg 7 23
2501
2
thg 11 22
3459
3
thg 8 25
2623
1
thg 5 25
2650