diff --git a/account_move_base_import/README.rst b/account_move_base_import/README.rst index b53c9ec6..64e885b4 100644 --- a/account_move_base_import/README.rst +++ b/account_move_base_import/README.rst @@ -14,13 +14,13 @@ Journal Entry base import :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--reconcile-lightgray.png?logo=github - :target: https://github.com/OCA/account-reconcile/tree/12.0/account_move_base_import + :target: https://github.com/OCA/account-reconcile/tree/13.0/account_move_base_import :alt: OCA/account-reconcile .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/account-reconcile-12-0/account-reconcile-12-0-account_move_base_import + :target: https://translation.odoo-community.org/projects/account-reconcile-13-0/account-reconcile-13-0-account_move_base_import :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/98/12.0 + :target: https://runbot.odoo-community.org/runbot/98/13.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -84,7 +84,7 @@ Bug Tracker Bugs are tracked on `GitHub 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -121,6 +121,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -This module is part of the `OCA/account-reconcile `_ project on GitHub. +This module is part of the `OCA/account-reconcile `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_move_base_import/i18n/account_move_base_import.pot b/account_move_base_import/i18n/account_move_base_import.pot index bab44652..2340bba2 100644 --- a/account_move_base_import/i18n/account_move_base_import.pot +++ b/account_move_base_import/i18n/account_move_base_import.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" diff --git a/account_move_base_import/models/account_journal.py b/account_move_base_import/models/account_journal.py index d088ed8d..e07c197e 100644 --- a/account_move_base_import/models/account_journal.py +++ b/account_move_base_import/models/account_journal.py @@ -76,7 +76,6 @@ class AccountJournal(models.Model): "the refunds and one for the payments", ) - @api.multi def _prepare_counterpart_line(self, move, amount, date): if amount > 0.0: account_id = self.default_debit_account_id.id @@ -102,7 +101,6 @@ class AccountJournal(models.Model): } return counterpart_values - @api.multi def _create_counterpart(self, parser, move): move_line_obj = self.env["account.move.line"] refund = 0.0 @@ -132,7 +130,6 @@ class AccountJournal(models.Model): vals ) - @api.multi def _write_extra_move_lines(self, parser, move): """Insert extra lines after the main statement lines. @@ -186,7 +183,6 @@ class AccountJournal(models.Model): comm_values ) - @api.multi def write_logs_after_import(self, move, num_lines): """Write the log in the logger diff --git a/account_move_base_import/models/account_move.py b/account_move_base_import/models/account_move.py index 5bdca9e8..4dd29436 100644 --- a/account_move_base_import/models/account_move.py +++ b/account_move_base_import/models/account_move.py @@ -73,7 +73,7 @@ class AccountMoveCompletionRule(models.Model): def _find_invoice(self, line, inv_type): """Find invoice related to statement line""" - inv_obj = self.env["account.invoice"] + inv_obj = self.env["account.move"] if inv_type == "supplier": type_domain = ("in_invoice", "in_refund") number_field = "reference" @@ -351,7 +351,6 @@ class AccountMove(models.Model): self.message_post(body=body) return True - @api.multi def button_auto_completion(self): """Complete line with values given by rules and tic the already_completed checkbox so we won't compute them again unless the diff --git a/account_move_base_import/static/description/index.html b/account_move_base_import/static/description/index.html index 92e5c8fe..653fcb1c 100644 --- a/account_move_base_import/static/description/index.html +++ b/account_move_base_import/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/account-reconcile Translate me on Weblate Try me on Runbot

+

Beta License: AGPL-3 OCA/account-reconcile Translate me on Weblate Try me on Runbot

This module is a grouping of 7.0/8.0 modules, used to import accounting files and completing them automatically:

    @@ -426,7 +426,7 @@ both.

    Bugs are tracked on GitHub 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.

    +feedback.

    Do not contact contributors directly about support or help with technical issues.

    @@ -457,7 +457,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome

    OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

    -

    This module is part of the OCA/account-reconcile project on GitHub.

    +

    This module is part of the OCA/account-reconcile project on GitHub.

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    diff --git a/account_move_base_import/wizard/import_statement.py b/account_move_base_import/wizard/import_statement.py index 66391033..f8abdf13 100644 --- a/account_move_base_import/wizard/import_statement.py +++ b/account_move_base_import/wizard/import_statement.py @@ -48,7 +48,6 @@ class CreditPartnerStatementImporter(models.TransientModel): readonly=True, ) - @api.multi def _check_extension(self): self.ensure_one() (__, ftype) = os.path.splitext(self.file_name) @@ -56,7 +55,6 @@ class CreditPartnerStatementImporter(models.TransientModel): raise UserError(_("Please use a file with an extension")) return ftype - @api.multi def import_statement(self): """This Function import credit card agency statement""" moves = self.env["account.move"]