Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Project
- MRP
Bu soru işaretlendi
1
Cevapla
4349
Görünümler
Hi,
You insert your custom code into settings form by using data-key in x path, try the code below
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="view_res_config_settings_inherited" model="ir.ui.view">
<field name="name">view.res.config.settings.inherited</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="hr_attendance.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//div[@data-key='hr_attendance']//div[@class='o_setting_right_pane']"
position="after">
<span>Your custom code</span>
</xpath>
</field>
</record>
</data>
</odoo>
Regards
Thanks you so much
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Ol
Inheritance in Odoo: https://goo.gl/fGNfBY