Hi All,
I have a problem when i show field Remaining Leaves. I am using Leave in Odoo 12 and i want to show field Remaining Leave on the hr.leave.view.form. I created field x_remaining_leaves in hr.leave module and Related Field i put holiday_status_id.remaining_leaves. And the holiday_status_id is field many2one (object related is hr.leave.type where it has a remaining_leaves field).
Finally, i put the field x_remaning_leaves to that form, it's not worked.
Can anybody can help me to show this field. Thanks