-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
78 additions
and
101 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,39 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<odoo noupdate="1"> | ||
<record id="appointment_type_1" model="appointment.type"> | ||
<field name="name">Haircut & Brushing</field> | ||
<field name="location_id" ref="base.main_partner"/> | ||
<field name="appointment_tz" model="res.users" eval="obj().env.ref('base.user_admin').tz or 'Europe/Brussels'"/> | ||
<field name="category">recurring</field> | ||
<field name="reminder_ids" eval="[(6, 0, [ref('calendar.alarm_notif_1'), ref('calendar.alarm_mail_1'), ref('appointment_sms.calendar_alarm_data_1h_sms')])]"/> | ||
<field name="canceled_mail_template_id" ref="appointment.appointment_canceled_mail_template"/> | ||
<field name="sequence">11</field> | ||
<field name="work_hours_activated" eval="True"/> | ||
<field name="booked_mail_template_id" ref="appointment.attendee_invitation_mail_template"/> | ||
<field name="avatars_display">show</field> | ||
<field name="event_videocall_source" eval="False"/> | ||
<field name="name">Haircut & Brushing</field> | ||
<field name="sequence">11</field> | ||
<field name="appointment_duration">1.0</field> | ||
<field name="appointment_tz" model="res.users" eval="obj().env.ref('base.user_admin').tz or 'Europe/Brussels'"/> | ||
<field name="staff_user_ids" eval="[(4, ref('base.user_admin'))]"/> | ||
</record> | ||
<record id="appointment_type_2" model="appointment.type"> | ||
<field name="name">Haircut & Color & Brushing</field> | ||
<field name="location_id" ref="base.main_partner"/> | ||
<field name="category">recurring</field> | ||
<field name="appointment_duration">3.0</field> | ||
<field name="appointment_tz" model="res.users" eval="obj().env.ref('base.user_admin').tz or 'Europe/Brussels'"/> | ||
<field name="reminder_ids" eval="[(6, 0, [ref('calendar.alarm_notif_1'), ref('calendar.alarm_mail_1'), ref('appointment_sms.calendar_alarm_data_1h_sms')])]"/> | ||
<field name="canceled_mail_template_id" ref="appointment.appointment_canceled_mail_template"/> | ||
<field name="sequence">12</field> | ||
<field name="work_hours_activated" eval="True"/> | ||
<field name="booked_mail_template_id" ref="appointment.attendee_invitation_mail_template"/> | ||
<field name="avatars_display">show</field> | ||
<field name="event_videocall_source" eval="False"/> | ||
<field name="appointment_duration">3.0</field> | ||
<field name="appointment_tz" model="res.users" eval="obj().env.ref('base.user_admin').tz or 'Europe/Brussels'"/> | ||
<field name="x_break" eval="True"/> | ||
<field name="x_break_start_appointment">1.0</field> | ||
<field name="x_break_end_appointment">2.0</field> | ||
<field name="event_videocall_source" eval="False"/> | ||
<field name="name">Haircut & Color & Brushing</field> | ||
<field name="sequence">12</field> | ||
<field name="staff_user_ids" eval="[(4, ref('base.user_admin'))]"/> | ||
</record> | ||
<record id="appointment_type_3" model="appointment.type"> | ||
<field name="name">Brushing</field> | ||
<field name="location_id" ref="base.main_partner"/> | ||
<field name="category">recurring</field> | ||
<field name="appointment_duration">0.5</field> | ||
<field name="appointment_tz" model="res.users" eval="obj().env.ref('base.user_admin').tz or 'Europe/Brussels'"/> | ||
<field name="reminder_ids" eval="[(6, 0, [ref('calendar.alarm_notif_1'), ref('calendar.alarm_mail_1'), ref('appointment_sms.calendar_alarm_data_1h_sms')])]"/> | ||
<field name="canceled_mail_template_id" ref="appointment.appointment_canceled_mail_template"/> | ||
<field name="sequence">10</field> | ||
<field name="work_hours_activated" eval="True"/> | ||
<field name="booked_mail_template_id" ref="appointment.attendee_invitation_mail_template"/> | ||
<field name="avatars_display">show</field> | ||
<field name="event_videocall_source" eval="False"/> | ||
<field name="name">Brushing</field> | ||
<field name="appointment_duration">0.5</field> | ||
<field name="appointment_tz" model="res.users" eval="obj().env.ref('base.user_admin').tz or 'Europe/Brussels'"/> | ||
<field name="staff_user_ids" eval="[(4, ref('base.user_admin'))]"/> | ||
</record> | ||
</odoo> |
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 |
---|---|---|
@@ -1,24 +1,24 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<odoo> | ||
<record id="break_booking_automation" model="base.automation"> | ||
<field name="name">Break Booking Automation</field> | ||
<field name="name">Delete Main Event</field> | ||
<field name="model_id" ref="calendar.model_calendar_event"/> | ||
<field name="action_server_ids" eval="[(6, 0, [ref('break_booking_server_action')])]"/> | ||
<field name="trigger">on_unlink</field> | ||
<field name="filter_domain">[("appointment_type_id", "!=", False)]</field> | ||
<field name="filter_domain">[("appointment_type_id", "!=", False),("x_break_start","!=","False"),("x_break_end","!=","False")]</field> | ||
</record> | ||
<record id="delete_subpart_calendar_event" model="base.automation"> | ||
<field name="name">Delete Main Appointment</field> | ||
<field name="name">Break Appointment</field> | ||
<field name="model_id" ref="calendar.model_calendar_event"/> | ||
<field name="action_server_ids" eval="[(6, 0, [ref('delete_subpart_calendar_event_server_action')])]"/> | ||
<field name="trigger">on_create_or_write</field> | ||
<field name="filter_domain">["&", ("name", "not ilike", "PART 1"), ("name", "not ilike", "PART 2"), ("user_id", "!=", False)]</field> | ||
<field name="filter_domain">[("name", "not ilike", "PART 1"), ("name", "not ilike", "PART 2"), ("user_id", "!=", False)]</field> | ||
</record> | ||
<record id="delete_subpart_main_calendar_event" model="base.automation"> | ||
<field name="name">Delete Sub Appointment</field> | ||
<field name="model_id" ref="calendar.model_calendar_event"/> | ||
<field name="action_server_ids" eval="[(6, 0, [ref('delete_subpart_main_calendar_event_server_action')])]"/> | ||
<field name="trigger">on_unlink</field> | ||
<field name="filter_domain">["&", ("name", "ilike", "PART 1"), ("user_id", "!=", False)]</field> | ||
<field name="filter_domain">[("name", "ilike", "PART 1"), ("user_id", "!=", False)]</field> | ||
</record> | ||
</odoo> |
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
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
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