Browse Source

[MIG] account_move_line_report_xls: Migration to 11.0

pull/757/head
dsolanki 5 years ago
committed by fshah
parent
commit
a9551e923e
  1. 1
      account_move_line_report_xls/__init__.py
  2. 11
      account_move_line_report_xls/__manifest__.py
  3. 223
      account_move_line_report_xls/i18n/account_move_line_report_xls.pot
  4. 225
      account_move_line_report_xls/i18n/fi.po
  5. 239
      account_move_line_report_xls/i18n/fr.po
  6. 237
      account_move_line_report_xls/i18n/nl.po
  7. 1
      account_move_line_report_xls/models/__init__.py
  8. 8
      account_move_line_report_xls/models/account_move_line.py
  9. 2
      account_move_line_report_xls/readme/CONTRIBUTORS.rst
  10. 1
      account_move_line_report_xls/readme/CREDITS.rst
  11. 2
      account_move_line_report_xls/readme/DESCRIPTION.rst
  12. 4
      account_move_line_report_xls/readme/INSTALL.rst
  13. 27
      account_move_line_report_xls/readme/USAGE.rst
  14. 3
      account_move_line_report_xls/report/__init__.py
  15. 20
      account_move_line_report_xls/report/move_line_list_xls.xml
  16. 24
      account_move_line_report_xls/report/report_account_move_line_xlsx.py
  17. 18
      account_move_line_report_xls/report/report_account_move_line_xlsx.xml
  18. 1
      account_move_line_report_xls/tests/__init__.py
  19. 32
      account_move_line_report_xls/tests/test_aml_report_xlsx.py

1
account_move_line_report_xls/__init__.py

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from . import models
try:
from . import report

11
account_move_line_report_xls/__manifest__.py

@ -1,17 +1,18 @@
# -*- coding: utf-8 -*-
# Copyright 2009-2018 Noviat.
# Copyright 2020 initOS GmbH <https://initos.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
'name': 'Account Move Line XLSX export',
'version': '10.0.1.0.0',
'version': '11.0.1.0.0',
'license': 'AGPL-3',
'author': "Noviat, Odoo Community Association (OCA)",
'author': 'initOS GmbH, Noviat, Odoo Community Association (OCA)',
'website': 'https://github.com/OCA/account-financial-reporting',
'category': 'Accounting & Finance',
'summary': 'Journal Items Excel export',
'depends': ['account', 'report_xlsx_helper'],
'depends': ['account_invoicing', 'report_xlsx_helper'],
'data': [
'report/move_line_list_xls.xml',
'report/report_account_move_line_xlsx.xml',
],
'installable': True,
}

223
account_move_line_report_xls/i18n/account_move_line_report_xls.pot

@ -1,223 +0,0 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_line_report_xls
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:89
#, python-format
msgid "Account"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:208
#, python-format
msgid "Am. Currency"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:263
#, python-format
msgid "Analytic Account"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:252
#, python-format
msgid "Analytic Account Reference"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:142
#, python-format
msgid "Balance"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:240
#, python-format
msgid "Comp. Curr."
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:126
#, python-format
msgid "Credit"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:219
#, python-format
msgid "Curr."
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:110
#, python-format
msgid "Debit"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:58
#, python-format
msgid "Effective Date"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:31
#, python-format
msgid "Entry"
msgstr ""
#. module: account_move_line_report_xls
#: model:ir.actions.report.xml,name:account_move_line_report_xls.action_move_line_list_xls
msgid "Export Selected Lines"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:378
#, python-format
msgid "Id"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:326
#, python-format
msgid "Invoice"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:231
#, python-format
msgid "Journal"
msgstr ""
#. module: account_move_line_report_xls
#: model:ir.model,name:account_move_line_report_xls.model_account_move_line
msgid "Journal Item"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:390
#, python-format
msgid "Journal Items"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:367
#, python-format
msgid "Lit."
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:196
#, python-format
msgid "Matched Credits"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:184
#, python-format
msgid "Matched Debits"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:99
#, python-format
msgid "Maturity Date"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:40
#, python-format
msgid "Name"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:358
#, python-format
msgid "Notes"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:69
#, python-format
msgid "Partner"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:79
#, python-format
msgid "Partner Reference"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:274
#, python-format
msgid "Product"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:284
#, python-format
msgid "Product Reference"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:305
#, python-format
msgid "Qty"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:158
#, python-format
msgid "Rec."
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:171
#, python-format
msgid "Reconcile Amount"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:49
#, python-format
msgid "Reference"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:347
#, python-format
msgid "Res. Am. in Curr."
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:336
#, python-format
msgid "Residual Amount"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:316
#, python-format
msgid "Statement"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:295
#, python-format
msgid "Unit of Measure"
msgstr ""

225
account_move_line_report_xls/i18n/fi.po

@ -1,225 +0,0 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_line_report_xls
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2019-07-23 13:43+0000\n"
"Last-Translator: Jarmo Kortetjärvi <jarmo.kortetjarvi@gmail.com>\n"
"Language-Team: none\n"
"Language: fi\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.7.1\n"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:89
#, python-format
msgid "Account"
msgstr "Tili"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:208
#, python-format
msgid "Am. Currency"
msgstr "Määrä valuutassa"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:263
#, python-format
msgid "Analytic Account"
msgstr "Kustannuspaikka"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:252
#, python-format
msgid "Analytic Account Reference"
msgstr "Kustannuspaikan viite"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:142
#, python-format
msgid "Balance"
msgstr "Saldo"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:240
#, python-format
msgid "Comp. Curr."
msgstr "Laske tämänh."
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:126
#, python-format
msgid "Credit"
msgstr "Kredit"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:219
#, python-format
msgid "Curr."
msgstr "Tämänhetk."
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:110
#, python-format
msgid "Debit"
msgstr "Debet"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:58
#, python-format
msgid "Effective Date"
msgstr "Voimaantulopäivä"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:31
#, python-format
msgid "Entry"
msgstr "Vienti"
#. module: account_move_line_report_xls
#: model:ir.actions.report.xml,name:account_move_line_report_xls.action_move_line_list_xls
msgid "Export Selected Lines"
msgstr "Vie valitut rivit"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:378
#, python-format
msgid "Id"
msgstr "Id"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:326
#, python-format
msgid "Invoice"
msgstr "Lasku"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:231
#, python-format
msgid "Journal"
msgstr "Päiväkirja"
#. module: account_move_line_report_xls
#: model:ir.model,name:account_move_line_report_xls.model_account_move_line
msgid "Journal Item"
msgstr "Päiväkirjatapahtuma"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:390
#, python-format
msgid "Journal Items"
msgstr "Päiväkirjan tapahtumat"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:367
#, python-format
msgid "Lit."
msgstr "Tod."
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:196
#, python-format
msgid "Matched Credits"
msgstr "Täsmäävät kreditit"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:184
#, python-format
msgid "Matched Debits"
msgstr "Täsmäävät debetit"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:99
#, python-format
msgid "Maturity Date"
msgstr "Eräpäivä"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:40
#, python-format
msgid "Name"
msgstr "Nimi"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:358
#, python-format
msgid "Notes"
msgstr "Muistiinpanot"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:69
#, python-format
msgid "Partner"
msgstr "Kumppani"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:79
#, python-format
msgid "Partner Reference"
msgstr "Kumppanin viite"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:274
#, python-format
msgid "Product"
msgstr "Tuote"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:284
#, python-format
msgid "Product Reference"
msgstr "Tuotteen viite"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:305
#, python-format
msgid "Qty"
msgstr "Määrä"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:158
#, python-format
msgid "Rec."
msgstr "Tietue"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:171
#, python-format
msgid "Reconcile Amount"
msgstr "Hyvityksen määrä"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:49
#, python-format
msgid "Reference"
msgstr "Viite"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:347
#, python-format
msgid "Res. Am. in Curr."
msgstr "Määrä valuutassa."
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:336
#, python-format
msgid "Residual Amount"
msgstr "Ylijäämä"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:316
#, python-format
msgid "Statement"
msgstr "Tiliote"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:295
#, python-format
msgid "Unit of Measure"
msgstr "Mittayksikkö"

239
account_move_line_report_xls/i18n/fr.po

@ -1,239 +0,0 @@
# French translation of Odoo.
# This file contains the translation of the following modules:
# * account_move_line_report_xls
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-05-16 12:31:16.568000\n"
"PO-Revision-Date: 2019-05-02 17:02+0000\n"
"Last-Translator: Katerina Katapodi <katerinakatapodi@gmail.com>\n"
"Language-Team: \n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 3.5.1\n"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:89
#, python-format
msgid "Account"
msgstr "Compte"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:208
#, python-format
msgid "Am. Currency"
msgstr "Montant devise"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:263
#, python-format
msgid "Analytic Account"
msgstr "Compte analytique"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:252
#, python-format
msgid "Analytic Account Reference"
msgstr "Référence compte analytique"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:142
#, python-format
msgid "Balance"
msgstr "Solde"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:240
#, python-format
msgid "Comp. Curr."
msgstr "Dev. Soc."
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:126
#, python-format
msgid "Credit"
msgstr "Crédit"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:219
#, python-format
msgid "Curr."
msgstr "Dev."
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:110
#, python-format
msgid "Debit"
msgstr "Débit"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:58
#, python-format
msgid "Effective Date"
msgstr "Date"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:31
#, python-format
msgid "Entry"
msgstr "Écriture"
#. module: account_move_line_report_xls
#: model:ir.actions.report.xml,name:account_move_line_report_xls.action_move_line_list_xls
msgid "Export Selected Lines"
msgstr "Exportez les Lignes Selectionnees"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:378
#, python-format
msgid "Id"
msgstr "Id"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:326
#, python-format
msgid "Invoice"
msgstr "Facture"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:231
#, python-format
msgid "Journal"
msgstr "Journal"
#. module: account_move_line_report_xls
#: model:ir.model,name:account_move_line_report_xls.model_account_move_line
#, fuzzy
msgid "Journal Item"
msgstr "Écritures comptables"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:390
#, python-format
msgid "Journal Items"
msgstr "Écritures comptables"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:367
#, python-format
msgid "Lit."
msgstr "Lit."
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:196
#, python-format
msgid "Matched Credits"
msgstr "Credits Ajustes"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:184
#, python-format
msgid "Matched Debits"
msgstr "Debits Ajustes"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:99
#, python-format
msgid "Maturity Date"
msgstr "Date d'échéance"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:40
#, python-format
msgid "Name"
msgstr "Nom"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:358
#, python-format
msgid "Notes"
msgstr "Notes"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:69
#, python-format
msgid "Partner"
msgstr "Partenaire"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:79
#, python-format
msgid "Partner Reference"
msgstr "Réf. Partenaire"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:274
#, python-format
msgid "Product"
msgstr "Article"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:284
#, python-format
msgid "Product Reference"
msgstr "Réf. Article"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:305
#, python-format
msgid "Qty"
msgstr "Qty"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:158
#, python-format
msgid "Rec."
msgstr "Let."
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:171
#, python-format
msgid "Reconcile Amount"
msgstr "Montant Residuel (Solde du Compte)"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:49
#, python-format
msgid "Reference"
msgstr "Référence"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:347
#, python-format
msgid "Res. Am. in Curr."
msgstr "Montant résiduel en dev."
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:336
#, python-format
msgid "Residual Amount"
msgstr "Montant résiduel"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:316
#, python-format
msgid "Statement"
msgstr "Relevé"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:295
#, python-format
msgid "Unit of Measure"
msgstr "Unité de mesure"
#~ msgid "Period"
#~ msgstr "Période"
#~ msgid "Part. Rec."
#~ msgstr "Let. Part."
#~ msgid "Tax Code"
#~ msgstr "Case TVA"
#~ msgid "Tax/Base Amount"
#~ msgstr "Montant TVA/Base"

237
account_move_line_report_xls/i18n/nl.po

@ -1,237 +0,0 @@
# Dutch translation of Odoo.
# This file contains the translation of the following modules:
# * account_move_line_report_xls
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-05-16 12:31:16.564000\n"
"PO-Revision-Date: 2016-05-16 12:31:16.564000\n"
"Last-Translator: Luc De Meyer (Noviat nv/sa)\n"
"Language-Team: \n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:89
#, python-format
msgid "Account"
msgstr "Rekening"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:208
#, python-format
msgid "Am. Currency"
msgstr "Bedrag valuta"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:263
#, python-format
msgid "Analytic Account"
msgstr "Kostenplaats"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:252
#, python-format
msgid "Analytic Account Reference"
msgstr "Kostenplaats referentie"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:142
#, python-format
msgid "Balance"
msgstr "Saldo"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:240
#, python-format
msgid "Comp. Curr."
msgstr "Bedr. Val."
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:126
#, python-format
msgid "Credit"
msgstr "Credit"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:219
#, python-format
msgid "Curr."
msgstr "Val."
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:110
#, python-format
msgid "Debit"
msgstr "Debet"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:58
#, python-format
msgid "Effective Date"
msgstr "Datum"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:31
#, python-format
msgid "Entry"
msgstr "Boeking"
#. module: account_move_line_report_xls
#: model:ir.actions.report.xml,name:account_move_line_report_xls.action_move_line_list_xls
msgid "Export Selected Lines"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:378
#, python-format
msgid "Id"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:326
#, python-format
msgid "Invoice"
msgstr "Factuur"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:231
#, python-format
msgid "Journal"
msgstr "Dagboek"
#. module: account_move_line_report_xls
#: model:ir.model,name:account_move_line_report_xls.model_account_move_line
#, fuzzy
msgid "Journal Item"
msgstr "Boekingsregels"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:390
#, python-format
msgid "Journal Items"
msgstr "Boekingsregels"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:367
#, python-format
msgid "Lit."
msgstr "Lit."
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:196
#, python-format
msgid "Matched Credits"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:184
#, python-format
msgid "Matched Debits"
msgstr ""
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:99
#, python-format
msgid "Maturity Date"
msgstr "Vervaldatum"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:40
#, python-format
msgid "Name"
msgstr "Naam"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:358
#, python-format
msgid "Notes"
msgstr "Notities"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:69
#, python-format
msgid "Partner"
msgstr "Partner"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:79
#, python-format
msgid "Partner Reference"
msgstr "Ref. Partner"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:274
#, python-format
msgid "Product"
msgstr "Product"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:284
#, python-format
msgid "Product Reference"
msgstr "Ref. Product"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:305
#, python-format
msgid "Qty"
msgstr "HvH"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:158
#, python-format
msgid "Rec."
msgstr "Rec."
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:171
#, fuzzy, python-format
msgid "Reconcile Amount"
msgstr "Restbedrag"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:49
#, python-format
msgid "Reference"
msgstr "Referentie"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:347
#, python-format
msgid "Res. Am. in Curr."
msgstr "Restbedrag in val."
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:336
#, python-format
msgid "Residual Amount"
msgstr "Restbedrag"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:316
#, python-format
msgid "Statement"
msgstr "Uitreksel"
#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/move_line_list_xls.py:295
#, python-format
msgid "Unit of Measure"
msgstr "Maateenheid"
#~ msgid "Period"
#~ msgstr "Periode"
#~ msgid "Part. Rec."
#~ msgstr "Rec. Part."
#~ msgid "Tax Code"
#~ msgstr "BTW vak"
#~ msgid "Tax/Base Amount"
#~ msgstr "Bedrag BTW/Mvh"

1
account_move_line_report_xls/models/__init__.py

@ -1,2 +1 @@
# -*- coding: utf-8 -*-
from . import account_move_line

8
account_move_line_report_xls/models/account_move_line.py

@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-
# Copyright 2009-2018 Noviat.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import api, models
from odoo.addons.report_xlsx_helper.report.abstract_report_xlsx \
import AbstractReportXlsx
_render = AbstractReportXlsx._render
from odoo.addons.report_xlsx_helper.report.report_xlsx_abstract import \
ReportXlsxAbstract
_render = ReportXlsxAbstract._render
class AccountMoveLine(models.Model):

2
account_move_line_report_xls/readme/CONTRIBUTORS.rst

@ -0,0 +1,2 @@
* Guillaume Auger <guillaume.auger@savoirfairelinux.com>
* Foram Shah <foram.shah@initos.com>

1
account_move_line_report_xls/readme/CREDITS.rst

@ -0,0 +1 @@
* Luc De Meyer, Noviat <info@noviat.com>

2
account_move_line_report_xls/readme/DESCRIPTION.rst

@ -0,0 +1,2 @@
This module extends the functionality of the journal items
('account.move.line') list view and allow you to export the selected lines.

4
account_move_line_report_xls/readme/INSTALL.rst

@ -0,0 +1,4 @@
To install this module, you need also the **report_xlsx_helper**
module located in:
https://github.com/OCA/reporting-engine

27
account_move_line_report_xls/readme/USAGE.rst

@ -0,0 +1,27 @@
To use this module, you need to:
* go to the list view of the journal items
* select the lines you wish to export
* click on the button on top to export
The Excel export can be tailored to your exact needs via the following methods
of the 'account.move.line' object:
* **_report_xls_fields**
Add/drop columns or change order from the list of columns that are defined
in the Excel template.
The following fields are defined in the Excel template:
move, name, date, journal, period, partner, account,
date_maturity, debit, credit, balance,
reconcile, reconcile_partial, analytic_account,
ref, partner_ref, tax_code, tax_amount, amount_residual,
amount_currency, currency_name, company_currency,
amount_residual_currency, product, product_ref', product_uom, quantity,
statement, invoice, narration, blocked
* **_report_xls_template**
Change/extend the Excel template.

3
account_move_line_report_xls/report/__init__.py

@ -1,2 +1 @@
# -*- coding: utf-8 -*-
from . import move_line_list_xls
from . import report_account_move_line_xlsx

20
account_move_line_report_xls/report/move_line_list_xls.xml

@ -1,20 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="action_move_line_list_xls" model="ir.actions.report.xml">
<field name="name">Export Selected Lines</field>
<field name="model">account.move.line</field>
<field name="type">ir.actions.report.xml</field>
<field name="report_name">move.line.list.xls</field>
<field name="report_type">xlsx</field>
<field name="auto" eval="False"/>
</record>
<record model="ir.values" id="action_move_line_list_xls_values">
<field name="name">Export Selected Lines</field>
<field name="key2">client_action_multi</field>
<field name="value" eval="'ir.actions.report.xml,' +str(ref('action_move_line_list_xls'))" />
<field name="model">account.move.line</field>
</record>
</odoo>

24
account_move_line_report_xls/report/move_line_list_xls.py → account_move_line_report_xls/report/report_account_move_line_xlsx.py

@ -1,26 +1,17 @@
# -*- coding: utf-8 -*-
# Copyright 2009-2018 Noviat
# Copyright 2020 initOS GmbH <https://initos.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
import logging
from odoo.addons.report_xlsx_helper.report.abstract_report_xlsx \
import AbstractReportXlsx
from odoo.report import report_sxw
from odoo.tools.translate import translate
from odoo import models
_logger = logging.getLogger(__name__)
IR_TRANSLATION_NAME = 'move.line.list.xls'
class MoveLineXlsx(AbstractReportXlsx):
def _(self, src):
lang = self.env.context.get('lang', 'en_US')
val = translate(
self.env.cr, IR_TRANSLATION_NAME, 'report', lang, src) or src
return val
class MoveLineXlsx(models.AbstractModel):
_name = 'report.account_move_line_report_xls.account_move_line_xlsx'
_inherit = 'report.report_xlsx.abstract'
def _get_ws_params(self, workbook, data, amls):
@ -443,8 +434,3 @@ class MoveLineXlsx(AbstractReportXlsx):
'bal_formula': bal_formula,
},
default_format=self.format_theader_yellow_left)
MoveLineXlsx('report.move.line.list.xls',
'account.move.line',
parser=report_sxw.rml_parse)

18
account_move_line_report_xls/report/report_account_move_line_xlsx.xml

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2020 initOS GmbH <https://initos.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
-->
<odoo>
<report
id="account_move_line_xlsx"
model="account.move.line"
string="Export Selected Lines"
report_type="xlsx"
name="account_move_line_report_xls.account_move_line_xlsx"
file="Export Selected Lines"
attachment_use="False"
/>
</odoo>

1
account_move_line_report_xls/tests/__init__.py

@ -1,2 +1 @@
# -*- coding: utf-8 -*-
from . import test_aml_report_xlsx

32
account_move_line_report_xls/tests/test_aml_report_xlsx.py

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2009-2018 Noviat.
# Copyright 2020 initOS GmbH <https://initos.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo.tests.common import TransactionCase
@ -9,13 +9,29 @@ class TestAmlReportXlsx(TransactionCase):
def setUp(self):
super(TestAmlReportXlsx, self).setUp()
ctx = {'xlsx_export': True}
self.report = self.env['ir.actions.report.xml'].with_context(ctx)
self.report_name = 'move.line.list.xls'
inv = self.env.ref('l10n_generic_coa.demo_invoice_1')
self.amls = inv.move_id.line_ids
self.report = self.env.ref(
'account_move_line_report_xls.action_account_move_line_xlsx')
sale_journal = self.env['account.journal'].search(
[('type', '=', 'sale')])[0]
ar = self.env['account.account'].search(
[('internal_type', '=', 'receivable')])[0]
aml_vals = [
{'name': 'debit',
'debit': 100,
'account_id': ar.id,
},
{'name': 'credit',
'credit': 100,
'account_id': ar.id,
},
]
am = self.env['account.move'].create({
'name': 'test',
'journal_id': sale_journal.id,
'line_ids': [(0, 0, x) for x in aml_vals],
})
self.amls = am.line_ids
def test_aml_report_xlsx(self):
report_xls = self.report.render_report(
self.amls.ids, self.report_name, {})
report_xls = self.report.render_xlsx(self.amls.ids, None)
self.assertEqual(report_xls[1], 'xlsx')
Loading…
Cancel
Save