Lois Rilo
7 years ago
committed by
Naglis Jonaitis
No known key found for this signature in database
GPG Key ID: 4748835F585390F5
6 changed files with
8 additions and
8 deletions
-
base_tier_validation/README.rst
-
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/views/tier_definition_view.xml
|
|
@ -27,7 +27,7 @@ To configure this module, you need to: |
|
|
|
|
|
|
|
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas |
|
|
|
: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 |
|
|
|
====================== |
|
|
|
|
|
@ -4,7 +4,7 @@ |
|
|
|
{ |
|
|
|
"name": "Base Tier Validation", |
|
|
|
"summary": "Implement a validation process based on tiers.", |
|
|
|
"version": "9.0.1.0.1", |
|
|
|
"version": "10.0.1.0.0", |
|
|
|
"category": "Tools", |
|
|
|
"website": "https://github.com/OCA/server-tools", |
|
|
|
"author": "Eficent, Odoo Community Association (OCA)", |
|
|
@ -2,7 +2,7 @@ |
|
|
|
# Copyright 2017 Eficent Business and IT Consulting Services S.L. |
|
|
|
# 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): |
|
|
|
|
|
@ -2,7 +2,7 @@ |
|
|
|
# Copyright 2017 Eficent Business and IT Consulting Services S.L. |
|
|
|
# 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): |
|
|
|
|
|
@ -2,9 +2,9 @@ |
|
|
|
# Copyright 2017 Eficent Business and IT Consulting Services S.L. |
|
|
|
# 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): |
|
|
|
|
|
@ -37,7 +37,7 @@ |
|
|
|
</group> |
|
|
|
</group> |
|
|
|
<group col="4" name="bottom"> |
|
|
|
<field name="python_code"/> |
|
|
|
<field name="python_code" colspan="4"/> |
|
|
|
</group> |
|
|
|
</form> |
|
|
|
</field> |
|
|
|