Browse Source

[10.0][MIG] base_tier_validation

pull/52/head
Lois Rilo 7 years ago
committed by Naglis Jonaitis
parent
commit
12f151eeae
No known key found for this signature in database GPG Key ID: 4748835F585390F5
  1. 2
      base_tier_validation/README.rst
  2. 2
      base_tier_validation/__manifest__.py
  3. 2
      base_tier_validation/models/tier_definition.py
  4. 2
      base_tier_validation/models/tier_review.py
  5. 6
      base_tier_validation/models/tier_validation.py
  6. 2
      base_tier_validation/views/tier_definition_view.xml

2
base_tier_validation/README.rst

@ -27,7 +27,7 @@ To configure this module, you need to:
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot :alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/149/9.0
:target: https://runbot.odoo-community.org/runbot/149/10.0
Known issues / Roadmap Known issues / Roadmap
====================== ======================

2
base_tier_validation/__openerp__.py → base_tier_validation/__manifest__.py

@ -4,7 +4,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": "9.0.1.0.1",
"version": "10.0.1.0.0",
"category": "Tools", "category": "Tools",
"website": "https://github.com/OCA/server-tools", "website": "https://github.com/OCA/server-tools",
"author": "Eficent, Odoo Community Association (OCA)", "author": "Eficent, Odoo Community Association (OCA)",

2
base_tier_validation/models/tier_definition.py

@ -2,7 +2,7 @@
# Copyright 2017 Eficent Business and IT Consulting Services S.L. # Copyright 2017 Eficent Business and IT Consulting Services S.L.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from openerp import api, fields, models
from odoo import api, fields, models
class TierDefinition(models.Model): class TierDefinition(models.Model):

2
base_tier_validation/models/tier_review.py

@ -2,7 +2,7 @@
# Copyright 2017 Eficent Business and IT Consulting Services S.L. # Copyright 2017 Eficent Business and IT Consulting Services S.L.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from openerp import api, fields, models
from odoo import api, fields, models
class TierReview(models.Model): class TierReview(models.Model):

6
base_tier_validation/models/tier_validation.py

@ -2,9 +2,9 @@
# Copyright 2017 Eficent Business and IT Consulting Services S.L. # Copyright 2017 Eficent Business and IT Consulting Services S.L.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from openerp import api, fields, models, _
from openerp.exceptions import ValidationError, UserError
from openerp.tools.safe_eval import safe_eval
from odoo import api, fields, models, _
from odoo.exceptions import ValidationError, UserError
from odoo.tools.safe_eval import safe_eval
class TierValidation(models.AbstractModel): class TierValidation(models.AbstractModel):

2
base_tier_validation/views/tier_definition_view.xml

@ -37,7 +37,7 @@
</group> </group>
</group> </group>
<group col="4" name="bottom"> <group col="4" name="bottom">
<field name="python_code"/>
<field name="python_code" colspan="4"/>
</group> </group>
</form> </form>
</field> </field>

Loading…
Cancel
Save