2 Commits

Author SHA1 Message Date
a48b428b06 [FIX]hr_holidays_timeoff_analysis: add read right for hr_holidays user group 2026-08-14 12:44:47 +02:00
Stéphan Sainléger
7996ecc501 [FIX] hr_luncheon_voucher: add button to existing header in employee tree view
The view inheritance was creating a duplicate <header> inside <list>
2026-07-21 15:00:14 +02:00
3 changed files with 3 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
{
"name": "hr_holidays_timeoff_analysis",
"version": "18.0.1.0.0",
"version": "18.0.1.0.1",
"author": "Elabore",
"website": "https://git.elabore.coop/elabore/elabore-addons",
"maintainer": "Elabore",

View File

@@ -1,2 +1,3 @@
id,name,model_id/id,group_id/id,perm_read,perm_write,perm_create,perm_unlink
access_hr_leave_timeoff_day_user,access_hr_holidays_timeoff_day_user,model_hr_leave_timeoff_day,hr_holidays.group_hr_holidays_user,1,0,0,0
access_hr_leave_timeoff_day_manager,access_hr_holidays_timeoff_day_manager,model_hr_leave_timeoff_day,hr_holidays.group_hr_holidays_manager,1,0,0,0
1 id name model_id/id group_id/id perm_read perm_write perm_create perm_unlink
2 access_hr_leave_timeoff_day_user access_hr_holidays_timeoff_day_user model_hr_leave_timeoff_day hr_holidays.group_hr_holidays_user 1 0 0 0
3 access_hr_leave_timeoff_day_manager access_hr_holidays_timeoff_day_manager model_hr_leave_timeoff_day hr_holidays.group_hr_holidays_manager 1 0 0 0

View File

@@ -62,15 +62,13 @@
<field name="model">hr.employee</field>
<field name="inherit_id" ref="hr.view_employee_tree" />
<field name="arch" type="xml">
<xpath expr="//list" position="inside">
<header>
<xpath expr="//header" position="inside">
<button
type="object"
name="action_lv_allocations_requests_wizard"
string="Generate Luncheon Vouchers Allocations"
class="btn-primary"
/>
</header>
</xpath>
</field>
</record>