Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
1
Responder
4230
Vistas
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
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Inscribirse
Inheritance in Odoo: https://goo.gl/fGNfBY