-
-
Notifications
You must be signed in to change notification settings - Fork 670
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] hr_employee_calendar_planning: Allow to archive when calendars …
…have finished. Show them on calendar view
- Loading branch information
1 parent
58599e9
commit ba30d53
Showing
3 changed files
with
35 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
hr_employee_calendar_planning/views/resource_calendar_views.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- Copyright 2023 Creu Blanca | ||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). --> | ||
<odoo> | ||
<record id="resource_calendar_form" model="ir.ui.view"> | ||
<field name="model">resource.calendar</field> | ||
<field name="inherit_id" ref="resource.resource_calendar_form" /> | ||
<field name="arch" type="xml"> | ||
<notebook position="inside"> | ||
<page name="employee_calendar" string="Employee Calendars"> | ||
<field name="employee_calendar_ids"> | ||
<tree editable="top" create="0"> | ||
<field name="company_id" invisible="1" /> | ||
<field name="date_start" /> | ||
<field name="date_end" /> | ||
<field name="employee_id" /> | ||
</tree> | ||
</field> | ||
</page> | ||
</notebook> | ||
</field> | ||
</record> | ||
</odoo> |