Browse Source

from openerp -> from odoo<

pull/1379/head
hpar 7 years ago
committed by Pierrick Brun
parent
commit
e0df00d494
  1. 0
      base_jsonify/__manifest__.py
  2. 2
      base_jsonify/models/ir_export.py
  3. 4
      base_jsonify/models/ir_exports_line.py
  4. 6
      base_jsonify/models/models.py
  5. 2
      base_jsonify/tests/test_get_parser.py
  6. 4
      base_jsonify/tests/test_ir_exports_line.py

0
base_jsonify/__openerp__.py → base_jsonify/__manifest__.py

2
base_jsonify/models/ir_export.py

@ -4,7 +4,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from collections import OrderedDict
from openerp import api, models
from odoo import api, models
def update_dict(data, fields):

4
base_jsonify/models/ir_exports_line.py

@ -2,8 +2,8 @@
# Copyright 2017 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openerp.exceptions import ValidationError
from openerp import api, fields, models, _
from odoo.exceptions import ValidationError
from odoo import api, fields, models, _
class IrExportsLine(models.Model):

6
base_jsonify/models/models.py

@ -4,9 +4,9 @@
# Raphaël Reverdy <raphael.reverdy@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import api, models
from openerp.exceptions import Warning as UserError
from openerp.tools.translate import _
from odoo import api, models
from odoo.exceptions import Warning as UserError
from odoo.tools.translate import _
def __parse_field(parser_field):

2
base_jsonify/tests/test_get_parser.py

@ -2,7 +2,7 @@
# © <YEAR(S)> <AUTHOR(S)>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openerp.tests.common import TransactionCase
from odoo.tests.common import TransactionCase
class TestParser(TransactionCase):

4
base_jsonify/tests/test_ir_exports_line.py

@ -2,8 +2,8 @@
# © 2017 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openerp.exceptions import ValidationError
from openerp.tests.common import TransactionCase
from odoo.exceptions import ValidationError
from odoo.tests.common import TransactionCase
class TestIrExportsLine(TransactionCase):

Loading…
Cancel
Save