Browse Source
[MIG] base_tier_validation: Migration to 12.0
pull/52/head
Naglis Jonaitis
6 years ago
No known key found for this signature in database
GPG Key ID: 4748835F585390F5
6 changed files with
6 additions and
2 deletions
-
base_tier_validation/__manifest__.py
-
base_tier_validation/models/tier_definition.py
-
base_tier_validation/models/tier_review.py
-
base_tier_validation/models/tier_validation.py
-
base_tier_validation/readme/CONTRIBUTORS.rst
-
base_tier_validation/readme/ROADMAP.rst
|
|
@ -3,7 +3,7 @@ |
|
|
|
{ |
|
|
|
"name": "Base Tier Validation", |
|
|
|
"summary": "Implement a validation process based on tiers.", |
|
|
|
"version": "11.0.1.1.0", |
|
|
|
"version": "12.0.1.0.0", |
|
|
|
"development_status": "Mature", |
|
|
|
"maintainers": ['lreficent'], |
|
|
|
"category": "Tools", |
|
|
|
|
|
@ -6,6 +6,7 @@ from odoo import api, fields, models |
|
|
|
|
|
|
|
class TierDefinition(models.Model): |
|
|
|
_name = "tier.definition" |
|
|
|
_description = "Tier Definition" |
|
|
|
_rec_name = "model_id" |
|
|
|
|
|
|
|
@api.model |
|
|
|
|
|
@ -6,6 +6,7 @@ from odoo import api, fields, models |
|
|
|
|
|
|
|
class TierReview(models.Model): |
|
|
|
_name = "tier.review" |
|
|
|
_description = "Tier Review" |
|
|
|
|
|
|
|
status = fields.Selection( |
|
|
|
selection=[("pending", "Pending"), |
|
|
|
|
|
@ -8,6 +8,7 @@ from odoo.tools.safe_eval import safe_eval |
|
|
|
|
|
|
|
class TierValidation(models.AbstractModel): |
|
|
|
_name = "tier.validation" |
|
|
|
_description = "Tier Validation (abstract)" |
|
|
|
|
|
|
|
_state_field = 'state' |
|
|
|
_state_from = ['draft'] |
|
|
|
|
|
@ -1 +1,2 @@ |
|
|
|
* Lois Rilo <lois.rilo@eficent.com> |
|
|
|
* Naglis Jonaitis <naglis@versada.eu> |
|
|
@ -1 +1 @@ |
|
|
|
* In odoo v11 it would be interesting to try to take advantage of ``mail.activity.mixin``. |
|
|
|
* Starting with Odoo v11 it would be interesting to try to take advantage of ``mail.activity.mixin``. |