Browse Source

[IMP] partner_address_version: black, isort, prettier

14.0
Kevin Khao 4 years ago
parent
commit
87034b7de2
  1. 1
      partner_address_version/models/__init__.py
  2. 3
      partner_address_version/models/res_partner.py
  3. 1
      partner_address_version/tests/__init__.py
  4. 5
      partner_address_version/tests/test_address_version.py
  5. 1
      partner_address_version/wizards/base_partner_merge.py
  6. 1
      setup/partner_address_version/odoo/addons/partner_address_version
  7. 6
      setup/partner_address_version/setup.py

1
partner_address_version/models/__init__.py

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2018 Akretion - Benoît Guillot
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

3
partner_address_version/models/res_partner.py

@ -1,10 +1,11 @@
# Copyright 2018 Akretion - Benoît Guillot
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models, api, exceptions, _
import hashlib
from collections import OrderedDict
from odoo import _, exceptions, fields, models
class ResPartner(models.Model):
_inherit = "res.partner"

1
partner_address_version/tests/__init__.py

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2018 Akretion - Benoît Guillot
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

5
partner_address_version/tests/test_address_version.py

@ -1,10 +1,11 @@
# Copyright 2018 Akretion - Benoît Guillot
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo.tests import SavepointCase
from collections import OrderedDict
import hashlib
from collections import OrderedDict
from odoo.exceptions import UserError
from odoo.tests import SavepointCase
class TestAddressVersion(SavepointCase):

1
partner_address_version/wizards/base_partner_merge.py

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2020 ACSONE SA/NV (<http://acsone.eu>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

1
setup/partner_address_version/odoo/addons/partner_address_version

@ -0,0 +1 @@
../../../../partner_address_version

6
setup/partner_address_version/setup.py

@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
Loading…
Cancel
Save