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
101 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo noupdate="1"> | ||
|
||
<record id="servpro_stage_draft" model="serviceprofile.stage"> | ||
<field name="name">Draft</field> | ||
<field name="sequence">10</field> | ||
</record> | ||
|
||
<record id="servpro_stage_progress" model="serviceprofile.stage"> | ||
<field name="name">In Progress</field> | ||
<field name="sequence">20</field> | ||
</record> | ||
|
||
<record id="servpro_stage_suspend" model="serviceprofile.stage"> | ||
<field name="name">Suspended</field> | ||
<field name="sequence">30</field> | ||
</record> | ||
|
||
<record id="servpro_stage_renew" model="serviceprofile.stage"> | ||
<field name="name">To Renew</field> | ||
<field name="sequence">40</field> | ||
</record> | ||
|
||
<record id="servpro_stage_close" model="serviceprofile.stage"> | ||
<field name="name">Closed</field> | ||
<field name="sequence">50</field> | ||
</record> | ||
|
||
<record id="servpro_stage_cancel" model="serviceprofile.stage"> | ||
<field name="name">Cancelled</field> | ||
<field name="sequence">60</field> | ||
<field name="fold">True</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
from . import agreement_serviceprofile | ||
from . import agreement | ||
from . import serviceprofile_stage |
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,14 @@ | ||
# Copyright (C) 2019 - TODAY, Brian McMaster | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
from odoo import fields, models | ||
|
||
|
||
class ServiceProfileStage(models.Model): | ||
_name = 'serviceprofile.stage' | ||
_description = 'Service Profile Stages' | ||
_order = 'sequence' | ||
|
||
name = fields.Char(string='Stage Name', required=True) | ||
sequence = fields.Integer('Sequence', default=10) | ||
fold = fields.Boolean('Folded in Kanban') |
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,3 +1,5 @@ | ||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink | ||
access_agreement_servprof_allusers,service profile all users,model_agreement_serviceprofile,agreement_legal.group_agreement_user,1,1,1,0 | ||
access_agreement_servprof_manager,service profile manager,model_agreement_serviceprofile,agreement_legal.group_agreement_manager,1,1,1,1 | ||
access_servprof_stage_allusers,service profile stage all users,model_serviceprofile_stage,agreement_legal.group_agreement_user,1,1,1,0 | ||
access_servprof_stage_manager,service profile stage manager,model_serviceprofile_stage,agreement_legal.group_agreement_manager,1,1,1,1 |
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