-
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.
[ADD] sports_coach: functional changes
- Loading branch information
Showing
9 changed files
with
186 additions
and
107 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
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,6 +1,24 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<odoo noupdate="1"> | ||
<record id="crm.stage_lead1" model="crm.stage"> | ||
<field name="name">Initial Contact</field> | ||
<field name="sequence">1</field> | ||
</record> | ||
<record id="crm.stage_lead2" model="crm.stage"> | ||
<field name="sequence">2</field> | ||
<field name="name">Assessment</field> | ||
</record> | ||
<record id="crm.stage_lead3" model="crm.stage"> | ||
<field name="name">Proposal</field> | ||
<field name="sequence">3</field> | ||
</record> | ||
<record id="crm.stage_lead4" model="crm.stage"> | ||
<field name="name">Won</field> | ||
<field name="sequence">5</field> | ||
<field name="is_won" eval="True"/> | ||
</record> | ||
<record id="crm_stage_5" model="crm.stage"> | ||
<field name="name">Negotiation</field> | ||
<field name="sequence">4</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<odoo> | ||
<record id="account_analytic_line_3" model="account.analytic.line"> | ||
<field name="project_id" ref="project_project_5"/> | ||
<field name="employee_id" ref="hr.employee_admin"/> | ||
<field name="date" eval="(DateTime.now()).strftime('%Y-%m-%d')"/> | ||
<field name="so_line" ref="sale_order_line_1"/> | ||
<field name="timesheet_invoice_type">billable_fixed</field> | ||
<field name="account_id" ref="account_analytic_account_5"/> | ||
<field name="partner_id" ref="res_partner_13"/> | ||
<field name="product_uom_id" ref="uom.product_uom_hour"/> | ||
<field name="department_id" ref="hr.dep_administration"/> | ||
<field name="unit_amount">2.0</field> | ||
<field name="order_id" ref="sale_order_1"/> | ||
</record> | ||
<record id="account_analytic_line_4" model="account.analytic.line"> | ||
<field name="project_id" ref="project_project_6"/> | ||
<field name="employee_id" ref="hr.employee_admin"/> | ||
<field name="date" eval="(DateTime.now()).strftime('%Y-%m-%d')"/> | ||
<field name="so_line" ref="sale_order_line_4"/> | ||
<field name="timesheet_invoice_type">billable_fixed</field> | ||
<field name="account_id" ref="account_analytic_account_6"/> | ||
<field name="partner_id" ref="res_partner_20"/> | ||
<field name="product_uom_id" ref="uom.product_uom_hour"/> | ||
<field name="department_id" ref="hr.dep_administration"/> | ||
<field name="unit_amount">2.0</field> | ||
<field name="order_id" ref="sale_order_3"/> | ||
</record> | ||
<record id="account_analytic_line_5" model="account.analytic.line"> | ||
<field name="project_id" ref="project_project_5"/> | ||
<field name="employee_id" ref="hr.employee_admin"/> | ||
<field name="so_line" ref="sale_order_line_1"/> | ||
<field name="timesheet_invoice_type">billable_fixed</field> | ||
<field name="account_id" ref="account_analytic_account_5"/> | ||
<field name="partner_id" ref="res_partner_13"/> | ||
<field name="product_uom_id" ref="uom.product_uom_hour"/> | ||
<field name="department_id" ref="hr.dep_administration"/> | ||
<field name="unit_amount">1.0</field> | ||
<field name="order_id" ref="sale_order_1"/> | ||
</record> | ||
<record id="account_analytic_line_6" model="account.analytic.line"> | ||
<field name="project_id" ref="project_project_6"/> | ||
<field name="date" eval="(DateTime.now()).strftime('%Y-%m-%d')"/> | ||
<field name="employee_id" ref="hr.employee_admin"/> | ||
<field name="so_line" ref="sale_order_line_4"/> | ||
<field name="timesheet_invoice_type">billable_fixed</field> | ||
<field name="account_id" ref="account_analytic_account_6"/> | ||
<field name="partner_id" ref="res_partner_20"/> | ||
<field name="product_uom_id" ref="uom.product_uom_hour"/> | ||
<field name="department_id" ref="hr.dep_administration"/> | ||
<field name="unit_amount">0.5</field> | ||
<field name="order_id" ref="sale_order_3"/> | ||
</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 |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<odoo noupdate="1"> | ||
<record id="calendar_event_1" model="calendar.event"> | ||
<field name="name">John Smith - 60-min Personal Training Session Booking</field> | ||
<field name="start_date" eval="DateTime.today().date()"/> | ||
<field name="appointment_type_id" ref="appointment_type_1"/> | ||
<field name="appointment_booker_id" ref="base.partner_admin"/> | ||
<field name="videocall_location">https://sports-coach.odoo.com/calendar/join_videocall/a5ffa39f-ded7-4df8-a1b7-5aa536a13387</field> | ||
<field name="alarm_ids" eval="[(6, 0, [ref('calendar.alarm_notif_1'), ref('calendar.alarm_mail_1'), ref('appointment_sms.calendar_alarm_data_1h_sms')])]"/> | ||
<field name="partner_ids" eval="[(6, 0, [ref('base.partner_admin')])]"/> | ||
<field name="start" model="appointment.type" eval="pytz.timezone(obj().env.ref('sports_coach.appointment_type_1').appointment_tz).localize( | ||
DateTime.today().date() + relativedelta(days=1, hours=9) | ||
).astimezone(pytz.UTC).replace(tzinfo=None)"/> | ||
<field name="duration">1.0</field> | ||
<field name="stop" model="appointment.type" eval="pytz.timezone(obj().env.ref('sports_coach.appointment_type_1').appointment_tz).localize( | ||
DateTime.today().date() + relativedelta(days=1, hours=10) | ||
).astimezone(pytz.UTC).replace(tzinfo=None)"/> | ||
<field name="description"><![CDATA[ | ||
<ul> | ||
<li>Phone: +000</li> | ||
<li>Email: [email protected]</li> | ||
</ul> | ||
]]></field> | ||
</record> | ||
<record id="calendar_event_2" model="calendar.event"> | ||
<field name="name">Lena Martinez - 60-min Personal Training Session Booking</field> | ||
<field name="appointment_type_id" ref="appointment_type_1"/> | ||
<field name="appointment_booker_id" ref="base.partner_admin"/> | ||
<field name="videocall_location">https://sports-coach.odoo.com/calendar/join_videocall/07ef501a-79b1-4a3b-9204-54ab23c89dc6</field> | ||
<field name="alarm_ids" eval="[(6, 0, [ref('calendar.alarm_notif_1'), ref('calendar.alarm_mail_1'), ref('appointment_sms.calendar_alarm_data_1h_sms')])]"/> | ||
<field name="partner_ids" eval="[(6, 0, [ref('base.partner_admin')])]"/> | ||
<field name="start" model="appointment.type" eval="pytz.timezone(obj().env.ref('sports_coach.appointment_type_1').appointment_tz).localize( | ||
DateTime.today().date() + relativedelta(days=2, hours=14) | ||
).astimezone(pytz.UTC).replace(tzinfo=None)"/> | ||
<field name="duration">1.0</field> | ||
<field name="stop" model="appointment.type" eval="pytz.timezone(obj().env.ref('sports_coach.appointment_type_1').appointment_tz).localize( | ||
DateTime.today().date() + relativedelta(days=2, hours=15) | ||
).astimezone(pytz.UTC).replace(tzinfo=None)"/> | ||
<field name="start_date" eval="DateTime.today().date()"/> | ||
<field name="description"><![CDATA[ | ||
<ul> | ||
<li>Phone: +00</li> | ||
<li>Email: [email protected]</li> | ||
</ul> | ||
]]></field> | ||
</record> | ||
<record id="calendar_event_3" model="calendar.event"> | ||
<field name="name">Clayton Smouth - 90-min Sport-Specific Coaching Booking</field> | ||
<field name="start_date" eval="DateTime.today().date()"/> | ||
<field name="appointment_type_id" ref="appointment_type_3"/> | ||
<field name="appointment_booker_id" ref="base.partner_admin"/> | ||
<field name="videocall_location">https://sports-coach.odoo.com/calendar/join_videocall/f109633e-ca0a-47dc-91a3-b044528ec3b7</field> | ||
<field name="alarm_ids" eval="[(6, 0, [ref('calendar.alarm_notif_1'), ref('calendar.alarm_mail_1'), ref('appointment_sms.calendar_alarm_data_1h_sms')])]"/> | ||
<field name="partner_ids" eval="[(6, 0, [ref('base.partner_admin')])]"/> | ||
<field name="start" model="appointment.type" eval="pytz.timezone(obj().env.ref('sports_coach.appointment_type_1').appointment_tz).localize( | ||
DateTime.today().date() + relativedelta(days=3, hours=8) | ||
).astimezone(pytz.UTC).replace(tzinfo=None)"/> | ||
<field name="duration">1.5</field> | ||
<field name="stop" model="appointment.type" eval="pytz.timezone(obj().env.ref('sports_coach.appointment_type_1').appointment_tz).localize( | ||
DateTime.today().date() + relativedelta(days=3, hours=9) | ||
).astimezone(pytz.UTC).replace(tzinfo=None)"/> | ||
<field name="description"><![CDATA[ | ||
<ul> | ||
<li>Phone: +00</li> | ||
<li>Email: [email protected]</li> | ||
</ul> | ||
]]></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
Oops, something went wrong.