Skip to content

Commit

Permalink
[MIG] hr_holidays_summary_email: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPForgeFlow committed Jan 28, 2025
1 parent 359c7a7 commit 0d92116
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion hr_holidays_summary_email/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"summary": """
Notify employees with daily or weekly leaves summaries of their company.
""",
"version": "16.0.1.0.0",
"version": "17.0.1.0.0",
"category": "Human Resources",
"website": "https://github.com/OCA/hr-holidays",
"author": "ForgeFlow, Odoo Community Association (OCA)",
Expand Down
2 changes: 1 addition & 1 deletion hr_holidays_summary_email/views/res_config_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
ref="hr_holidays_settings.res_config_settings_view_form"
/>
<field name="arch" type="xml">
<xpath expr="//div[@data-key='hr_holidays']/div" position="after">
<xpath expr="//app[@name='hr_holidays']/block" position="after">
<div class="row mt16 o_settings_container">
<div
class="col-12 o_setting_box"
Expand Down
5 changes: 1 addition & 4 deletions hr_holidays_summary_email/views/res_users_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
<field name="inherit_id" ref="hr.res_users_view_form_profile" />
<field name="arch" type="xml">
<field name="email" position="after">
<field
name="hr_leave_summary_type"
attrs="{'readonly': [('can_edit', '=', False)]}"
/>
<field name="hr_leave_summary_type" readonly="not can_edit" />
</field>
</field>
</record>
Expand Down

0 comments on commit 0d92116

Please sign in to comment.