Hi guys
im using odoo 15 EE and i have added 2 fields on the time off form under Approvals > Time Off.
these fields do not show up on the popup form on the dashboard
is there a way to make make the changes appear there?
TIA
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi guys
im using odoo 15 EE and i have added 2 fields on the time off form under Approvals > Time Off.
these fields do not show up on the popup form on the dashboard
is there a way to make make the changes appear there?
TIA
Hello Pete Charalampopoulos,
If you want to add custom fields in the Time Off Popup form of the dashboard, you need to extend the "hr_holidays.hr_leave_view_form" form and add the fields in as shown in the following example.
Please find code in comment.
Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
Please find Example here :-
Ex:
<record id="hr_leave_view_form_dashboard" model="ir.ui.view">
<field name="name">hr.leave.view.form.dashboard.inherit</field>
<field name="model">hr.leave</field>
<field name="inherit_id" ref="hr_holidays.hr_leave_view_form"/>
<field name="arch" type="xml">
<xpath expr="//div[@name='duration_display']" position="after">
<field name="field_name"/>
</xpath>
</field>
</record>
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
How to make pop ups after actions?
Resuelto
|
|
2
jul 25
|
6508 | |
|
0
nov 23
|
1338 | ||
|
1
jul 22
|
1125 | ||
|
2
jun 20
|
3206 | ||
|
2
abr 20
|
9759 |