Browse Source

[MIG] base_tier_validation: Migration to 12.0

pull/52/head
Naglis Jonaitis 6 years ago
parent
commit
847c43b68d
No known key found for this signature in database GPG Key ID: 4748835F585390F5
  1. 2
      base_tier_validation/__manifest__.py
  2. 1
      base_tier_validation/models/tier_definition.py
  3. 1
      base_tier_validation/models/tier_review.py
  4. 1
      base_tier_validation/models/tier_validation.py
  5. 1
      base_tier_validation/readme/CONTRIBUTORS.rst
  6. 2
      base_tier_validation/readme/ROADMAP.rst

2
base_tier_validation/__manifest__.py

@ -3,7 +3,7 @@
{ {
"name": "Base Tier Validation", "name": "Base Tier Validation",
"summary": "Implement a validation process based on tiers.", "summary": "Implement a validation process based on tiers.",
"version": "11.0.1.1.0",
"version": "12.0.1.0.0",
"development_status": "Mature", "development_status": "Mature",
"maintainers": ['lreficent'], "maintainers": ['lreficent'],
"category": "Tools", "category": "Tools",

1
base_tier_validation/models/tier_definition.py

@ -6,6 +6,7 @@ from odoo import api, fields, models
class TierDefinition(models.Model): class TierDefinition(models.Model):
_name = "tier.definition" _name = "tier.definition"
_description = "Tier Definition"
_rec_name = "model_id" _rec_name = "model_id"
@api.model @api.model

1
base_tier_validation/models/tier_review.py

@ -6,6 +6,7 @@ from odoo import api, fields, models
class TierReview(models.Model): class TierReview(models.Model):
_name = "tier.review" _name = "tier.review"
_description = "Tier Review"
status = fields.Selection( status = fields.Selection(
selection=[("pending", "Pending"), selection=[("pending", "Pending"),

1
base_tier_validation/models/tier_validation.py

@ -8,6 +8,7 @@ from odoo.tools.safe_eval import safe_eval
class TierValidation(models.AbstractModel): class TierValidation(models.AbstractModel):
_name = "tier.validation" _name = "tier.validation"
_description = "Tier Validation (abstract)"
_state_field = 'state' _state_field = 'state'
_state_from = ['draft'] _state_from = ['draft']

1
base_tier_validation/readme/CONTRIBUTORS.rst

@ -1 +1,2 @@
* Lois Rilo <lois.rilo@eficent.com> * Lois Rilo <lois.rilo@eficent.com>
* Naglis Jonaitis <naglis@versada.eu>

2
base_tier_validation/readme/ROADMAP.rst

@ -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``.
Loading…
Cancel
Save