Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] industry_lawyer: improve flows #364

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions industry_lawyer/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,50 +1,51 @@
{
'name': 'Law Firm',
'version': '1.0',
'version': '1.1',
'category': 'Services',
'description': """
This module installs a configuration that presets the modules and configure Odoo for a law firm.
""",
'depends': [
'contacts',
'crm',
'documents_project',
'hr_timesheet',
'knowledge',
'project',
'project_enterprise',
'sale_management',
'sale_planning',
'sale_timesheet_enterprise',
'website_appointment',
'sign',
],
'data': [
'data/res_config_settings.xml',
'data/ir_attachment_pre.xml',
'data/documents_folder.xml',
'data/project_task_type.xml',
'data/project_tags.xml',
'data/project_project_stage.xml',
'data/project_project.xml',
'data/product_template.xml',
'data/project_task.xml',
'data/crm_stage.xml',
'data/crm_tag.xml',
'data/product_product.xml',
'data/sale_order_template.xml',
'data/sale_order_template_line.xml',
'data/knowledge_cover.xml',
'data/knowledge_article.xml',
'data/knowledge_article_favorite.xml',
'data/mail_message.xml',
'data/appointment_type.xml',
'data/knowledge_tour.xml',
'data/hr_employee_category.xml',
],
'demo': [
'demo/ir_attachment_post.xml',
'demo/res_partner.xml',
'demo/crm_lead.xml',
'demo/mail_activity.xml',
'demo/hr_job.xml',
'demo/hr_employee.xml',
'demo/sign_template.xml',
'demo/sale_order.xml',
'demo/sale_order_line.xml',
'demo/sale_order_post.xml',
'demo/res_users.xml',
'demo/appointment_type.xml',
'demo/website.xml',
'demo/website_view.xml',
'demo/website_page.xml',
'demo/website_menu.xml',
'demo/website_theme_apply.xml',
'demo/documents_document.xml',
],
'license': 'OPL-1',
'assets': {
@@ -56,7 +57,6 @@
"cloc_exclude": [
"data/knowledge_article.xml",
"static/src/js/my_tour.js",
"demo/website_view.xml",
],
'images': ['images/main.png'],
}
26 changes: 0 additions & 26 deletions industry_lawyer/data/appointment_type.xml

This file was deleted.

25 changes: 25 additions & 0 deletions industry_lawyer/data/crm_stage.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo noupdate="1">
<record model="crm.stage" id="crm.stage_lead1" forcecreate="1">
<field name="name">New</field>
<field name="sequence">1</field>
</record>
<record model="crm.stage" id="crm.stage_lead2" forcecreate="1">
<field name="name">Qualified</field>
<field name="sequence">2</field>
</record>
<record model="crm.stage" id="stage_lead_1">
<field name="name">KYC Assessment</field>
<field name="sequence">3</field>
</record>
<record model="crm.stage" id="crm.stage_lead3" forcecreate="1">
<field name="name">Proposition</field>
<field name="sequence">4</field>
</record>
<record model="crm.stage" id="crm.stage_lead4" forcecreate="1">
<field name="name">Won</field>
<field name="fold" eval="False"/>
<field name="is_won">True</field>
<field name="sequence">5</field>
</record>
</odoo>
12 changes: 12 additions & 0 deletions industry_lawyer/data/crm_tag.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version='1.0' encoding='UTF-8'?>
<odoo noupdate="1">
<record id="crm_tag_1" model="crm.tag">
<field name="name">Family Law</field>
</record>
<record id="crm_tag_2" model="crm.tag">
<field name="name">Corporate Law</field>
</record>
<record id="crm_tag_3" model="crm.tag">
<field name="name">Social Law</field>
</record>
</odoo>
13 changes: 0 additions & 13 deletions industry_lawyer/data/documents_folder.xml

This file was deleted.

21 changes: 21 additions & 0 deletions industry_lawyer/data/hr_employee_category.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version='1.0' encoding='UTF-8'?>
<odoo noupdate="1">
<record id="employee_category_1" model="hr.employee.category">
<field name="name">Labour</field>
</record>
<record id="employee_category_2" model="hr.employee.category">
<field name="name">Social Law</field>
</record>
<record id="employee_category_3" model="hr.employee.category">
<field name="name">Corporate Law</field>
</record>
<record id="employee_category_4" model="hr.employee.category">
<field name="name">Migration Law</field>
</record>
<record id="employee_category_5" model="hr.employee.category">
<field name="name">Family Law</field>
</record>
<record id="employee_category_6" model="hr.employee.category">
<field name="name">Criminal Law</field>
</record>
</odoo>
7 changes: 0 additions & 7 deletions industry_lawyer/data/ir_attachment_pre.xml

This file was deleted.

Loading