From cc50e579e0056add782ad96276bc8f9ec85439a2 Mon Sep 17 00:00:00 2001 From: Dhrumil Shah Date: Thu, 19 Sep 2024 14:56:41 +0530 Subject: [PATCH] [ADD] sports_coach: made it working --- .../__manifest__.py | 14 +++++------ .../data/appointment_type.xml | 0 .../data/crm_stage.xml | 0 .../data/ir_attachment_pre.xml | 0 .../data/knowledge_article.xml | 0 .../data/knowledge_cover.xml | 0 .../data/product_pricelist.xml | 0 .../data/product_product.xml | 10 ++++---- .../data/project_project.xml | 0 .../data/project_task_type.xml | 4 +++- .../demo/account_analytic_account.xml | 0 .../demo/crm_lead.xml | 0 .../demo/hr_employee.xml | 0 .../demo/project_project.xml | 23 +++++++++++++++---- .../demo/project_task.xml | 0 .../demo/res_partner.xml | 0 .../demo/sale_order.xml | 7 ++++++ .../demo/sale_order_confirm.xml | 0 .../demo/sale_order_line.xml | 2 ++ 19 files changed, 41 insertions(+), 19 deletions(-) rename {sports-coach => sports_coach}/__manifest__.py (77%) rename {sports-coach => sports_coach}/data/appointment_type.xml (100%) rename {sports-coach => sports_coach}/data/crm_stage.xml (100%) rename {sports-coach => sports_coach}/data/ir_attachment_pre.xml (100%) rename {sports-coach => sports_coach}/data/knowledge_article.xml (100%) rename {sports-coach => sports_coach}/data/knowledge_cover.xml (100%) rename {sports-coach => sports_coach}/data/product_pricelist.xml (100%) rename {sports-coach => sports_coach}/data/product_product.xml (88%) rename {sports-coach => sports_coach}/data/project_project.xml (100%) rename {sports-coach => sports_coach}/data/project_task_type.xml (86%) rename {sports-coach => sports_coach}/demo/account_analytic_account.xml (100%) rename {sports-coach => sports_coach}/demo/crm_lead.xml (100%) rename {sports-coach => sports_coach}/demo/hr_employee.xml (100%) rename {sports-coach => sports_coach}/demo/project_project.xml (50%) rename {sports-coach => sports_coach}/demo/project_task.xml (100%) rename {sports-coach => sports_coach}/demo/res_partner.xml (100%) rename {sports-coach => sports_coach}/demo/sale_order.xml (78%) rename {sports-coach => sports_coach}/demo/sale_order_confirm.xml (100%) rename {sports-coach => sports_coach}/demo/sale_order_line.xml (96%) diff --git a/sports-coach/__manifest__.py b/sports_coach/__manifest__.py similarity index 77% rename from sports-coach/__manifest__.py rename to sports_coach/__manifest__.py index 818e2e362..6b7d8f321 100644 --- a/sports-coach/__manifest__.py +++ b/sports_coach/__manifest__.py @@ -1,13 +1,9 @@ -# -*- coding: utf-8 -*- { - 'name': 'Studio customizations', - 'version': 'saas~17.4.1.0', + 'name': 'Sports coach', + 'version': '1.0', 'category': 'Studio', - 'description': u""" -This module has been generated by Odoo Studio. -It contains the apps created with Studio and the customizations of existing apps. + 'description': """ """, - 'author': 'Sports Coach', 'depends': [ 'appointment_account_payment', 'appointment_crm', @@ -15,6 +11,7 @@ 'base_vat', 'knowledge', 'sale_crm', + 'sale_timesheet', 'sale_project_forecast', 'web_studio', ], @@ -34,11 +31,12 @@ 'demo/account_analytic_account.xml', 'demo/crm_lead.xml', 'demo/hr_employee.xml', + 'demo/project_project.xml', 'demo/sale_order.xml', 'demo/sale_order_line.xml', 'demo/project_task.xml', - 'demo/project_project.xml', 'demo/sale_order_confirm.xml', ], 'license': 'OPL-1', + 'author': 'Odoo S.A.', } diff --git a/sports-coach/data/appointment_type.xml b/sports_coach/data/appointment_type.xml similarity index 100% rename from sports-coach/data/appointment_type.xml rename to sports_coach/data/appointment_type.xml diff --git a/sports-coach/data/crm_stage.xml b/sports_coach/data/crm_stage.xml similarity index 100% rename from sports-coach/data/crm_stage.xml rename to sports_coach/data/crm_stage.xml diff --git a/sports-coach/data/ir_attachment_pre.xml b/sports_coach/data/ir_attachment_pre.xml similarity index 100% rename from sports-coach/data/ir_attachment_pre.xml rename to sports_coach/data/ir_attachment_pre.xml diff --git a/sports-coach/data/knowledge_article.xml b/sports_coach/data/knowledge_article.xml similarity index 100% rename from sports-coach/data/knowledge_article.xml rename to sports_coach/data/knowledge_article.xml diff --git a/sports-coach/data/knowledge_cover.xml b/sports_coach/data/knowledge_cover.xml similarity index 100% rename from sports-coach/data/knowledge_cover.xml rename to sports_coach/data/knowledge_cover.xml diff --git a/sports-coach/data/product_pricelist.xml b/sports_coach/data/product_pricelist.xml similarity index 100% rename from sports-coach/data/product_pricelist.xml rename to sports_coach/data/product_pricelist.xml diff --git a/sports-coach/data/product_product.xml b/sports_coach/data/product_product.xml similarity index 88% rename from sports-coach/data/product_product.xml rename to sports_coach/data/product_product.xml index 2ace96dd9..11e596a16 100644 --- a/sports-coach/data/product_product.xml +++ b/sports_coach/data/product_product.xml @@ -5,7 +5,7 @@ task_in_project 800.0 - timesheet + service order @@ -15,7 +15,7 @@ - timesheet + service order @@ -23,7 +23,7 @@ task_in_project 1500.0 - timesheet + service order @@ -32,7 +32,7 @@ task_in_project 1000.0 - timesheet + service order @@ -40,7 +40,7 @@ Fitness Assessment 75.0 - timesheet + service order diff --git a/sports-coach/data/project_project.xml b/sports_coach/data/project_project.xml similarity index 100% rename from sports-coach/data/project_project.xml rename to sports_coach/data/project_project.xml diff --git a/sports-coach/data/project_task_type.xml b/sports_coach/data/project_task_type.xml similarity index 86% rename from sports-coach/data/project_task_type.xml rename to sports_coach/data/project_task_type.xml index 62ed7fdc9..876aed88d 100644 --- a/sports-coach/data/project_task_type.xml +++ b/sports_coach/data/project_task_type.xml @@ -2,9 +2,11 @@ New - + + New + Done diff --git a/sports-coach/demo/account_analytic_account.xml b/sports_coach/demo/account_analytic_account.xml similarity index 100% rename from sports-coach/demo/account_analytic_account.xml rename to sports_coach/demo/account_analytic_account.xml diff --git a/sports-coach/demo/crm_lead.xml b/sports_coach/demo/crm_lead.xml similarity index 100% rename from sports-coach/demo/crm_lead.xml rename to sports_coach/demo/crm_lead.xml diff --git a/sports-coach/demo/hr_employee.xml b/sports_coach/demo/hr_employee.xml similarity index 100% rename from sports-coach/demo/hr_employee.xml rename to sports_coach/demo/hr_employee.xml diff --git a/sports-coach/demo/project_project.xml b/sports_coach/demo/project_project.xml similarity index 50% rename from sports-coach/demo/project_project.xml rename to sports_coach/demo/project_project.xml index bbf6b08d8..947747d81 100644 --- a/sports-coach/demo/project_project.xml +++ b/sports_coach/demo/project_project.xml @@ -1,6 +1,7 @@ + Internal @@ -13,11 +14,23 @@ - + S00001 - 3-Month Transformation Program + - - - + + + 1.0 + + + + + S00003 - 10-Session Personal Training Package + - + + + 1.0 + + + diff --git a/sports-coach/demo/project_task.xml b/sports_coach/demo/project_task.xml similarity index 100% rename from sports-coach/demo/project_task.xml rename to sports_coach/demo/project_task.xml diff --git a/sports-coach/demo/res_partner.xml b/sports_coach/demo/res_partner.xml similarity index 100% rename from sports-coach/demo/res_partner.xml rename to sports_coach/demo/res_partner.xml diff --git a/sports-coach/demo/sale_order.xml b/sports_coach/demo/sale_order.xml similarity index 78% rename from sports-coach/demo/sale_order.xml rename to sports_coach/demo/sale_order.xml index 8fb76d01e..0a9b26c3f 100644 --- a/sports-coach/demo/sale_order.xml +++ b/sports_coach/demo/sale_order.xml @@ -11,6 +11,13 @@ + + + + Corporate Wellness Program + + 1.0 + 2024-09-16 14:43:25 diff --git a/sports-coach/demo/sale_order_confirm.xml b/sports_coach/demo/sale_order_confirm.xml similarity index 100% rename from sports-coach/demo/sale_order_confirm.xml rename to sports_coach/demo/sale_order_confirm.xml diff --git a/sports-coach/demo/sale_order_line.xml b/sports_coach/demo/sale_order_line.xml similarity index 96% rename from sports-coach/demo/sale_order_line.xml rename to sports_coach/demo/sale_order_line.xml index 57d4ec5db..649f9b532 100644 --- a/sports-coach/demo/sale_order_line.xml +++ b/sports_coach/demo/sale_order_line.xml @@ -17,6 +17,7 @@ + @@ -30,6 +31,7 @@ 1.0 + 11