Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Bogføring
- Lager
- PoS
- Project
- MRP
Dette spørgsmål er blevet anmeldt
1
Svar
4324
Visninger
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!
Tilmeld dig
Inheritance in Odoo: https://goo.gl/fGNfBY