Skip to content

Commit

Permalink
Port base_vat_sanitized to v10
Browse files Browse the repository at this point in the history
  • Loading branch information
alexis-via committed Feb 24, 2017
1 parent f640969 commit 553b95f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
10 changes: 3 additions & 7 deletions base_vat_sanitized/README.rst
Expand Up @@ -6,7 +6,7 @@
Base VAT Sanitized
==================

This module adds a technical field *sanitized_vat* on partners that stores the VAT number without spaces and with letters in uppercase. It is useful for other modules that need to match partners on VAT number, such as the *account_invoice_import* module for example.
This module adds a technical field *sanitized_vat* on partners that stores the VAT number without spaces and with letters in uppercase. It is useful for other modules that need to match partners on VAT number, such as the *base_business_document_import* module for example.

Configuration
=============
Expand All @@ -20,7 +20,7 @@ This module doesn't bring any visible feature for the users.

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/134/8.0
:target: https://runbot.odoo-community.org/runbot/134/10.0


Bug Tracker
Expand All @@ -29,11 +29,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues
<https://github.com/OCA/partner-contact/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed `feedback
<https://github.com/OCA/
partner-contact/issues/new?body=module:%20
base_vat_sanitized%0Aversion:%20
8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
help us smashing it by providing a detailed and welcomed feedback.

Credits
=======
Expand Down
Expand Up @@ -5,7 +5,7 @@

{
'name': 'Base VAT Sanitized',
'version': '8.0.1.0.0',
'version': '10.0.1.0.0',
'category': 'Hidden/Dependency',
'license': 'AGPL-3',
'summary': 'Adds field sanitized_vat on partners',
Expand Down
2 changes: 1 addition & 1 deletion base_vat_sanitized/models/res_partner.py
Expand Up @@ -3,7 +3,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# @author Alexis de Lattre <alexis.delattre@akretion.com>

from openerp import models, fields, api
from odoo import models, fields, api
import re


Expand Down
2 changes: 1 addition & 1 deletion base_vat_sanitized/tests/test_vat.py
Expand Up @@ -3,7 +3,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# @author Alexis de Lattre <alexis.delattre@akretion.com>

from openerp.tests.common import TransactionCase
from odoo.tests.common import TransactionCase


class TestVatSanitized(TransactionCase):
Expand Down

0 comments on commit 553b95f

Please sign in to comment.