Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIG] account_move_line_report_xls: Migration to 16.0 #1223

Open
wants to merge 16 commits into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
113 changes: 113 additions & 0 deletions account_move_line_report_xls/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
=============================
Account Move Line XLSX export
=============================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:585fb4c438ac263d7904ecbdcae3a45c8ab9b0c126a164b7df9bd2a10ec7fc55
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
: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--financial--reporting-lightgray.png?logo=github
:target: https://github.com/OCA/account-financial-reporting/tree/16.0/account_move_line_report_xls
:alt: OCA/account-financial-reporting
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-financial-reporting-16-0/account-financial-reporting-16-0-account_move_line_report_xls
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/account-financial-reporting&target_branch=16.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module extends the functionality of the journal items
('account.move.line') list view and allow you to export the selected lines.

**Table of contents**

.. contents::
:local:

Usage
=====

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_xlsx_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_xlsx_template**

Change/extend the Excel template.

Known issues / Roadmap
======================

* Add support for the analytic_distribution field

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-financial-reporting/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/account-financial-reporting/issues/new?body=module:%20account_move_line_report_xls%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
~~~~~~~

* Noviat

Contributors
~~~~~~~~~~~~

* Luc De Meyer <[email protected]>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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-financial-reporting <https://github.com/OCA/account-financial-reporting/tree/16.0/account_move_line_report_xls>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
11 changes: 11 additions & 0 deletions account_move_line_report_xls/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from . import models

try:
from . import report
except ImportError:
import logging

Check warning on line 6 in account_move_line_report_xls/__init__.py

View check run for this annotation

Codecov / codecov/patch

account_move_line_report_xls/__init__.py#L5-L6

Added lines #L5 - L6 were not covered by tests

logging.getLogger("odoo.module").warning(

Check warning on line 8 in account_move_line_report_xls/__init__.py

View check run for this annotation

Codecov / codecov/patch

account_move_line_report_xls/__init__.py#L8

Added line #L8 was not covered by tests
"""report_xlsx_helper not available in addons path.
account_move_line_report_xls will not be usable"""
)
15 changes: 15 additions & 0 deletions account_move_line_report_xls/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2009-2020 Noviat.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Account Move Line XLSX export",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"author": "Noviat, Odoo Community Association (OCA)",
"category": "Accounting & Finance",
"website": "https://github.com/OCA/account-financial-reporting",
"summary": "Journal Items Excel export",
"depends": ["account", "report_xlsx_helper"],
"data": ["report/account_move_line_xlsx.xml"],
"installable": True,
}
227 changes: 227 additions & 0 deletions account_move_line_report_xls/i18n/account_move_line_report_xls.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,227 @@
# 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 15.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/account_move_line_xlsx.py:0
#, python-format
msgid "Account"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Am. Currency"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Analytic Account"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Analytic Account Reference"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Balance"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Comp. Curr."
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Credit"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Curr."
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Debit"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Effective Date"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Entry"
msgstr ""

#. module: account_move_line_report_xls
#: model:ir.actions.report,name:account_move_line_report_xls.action_account_move_line_xlsx
msgid "Export Selected Lines"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Id"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Invoice"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, 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/account_move_line_xlsx.py:0
#, python-format
msgid "Journal Items"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Lit."
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Matched Credits"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Matched Debits"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Maturity Date"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Name"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Notes"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Partner"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Partner Reference"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Product"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Product Reference"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Qty"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Rec."
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Reconcile Amount"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Reference"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Res. Am. in Curr."
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Residual Amount"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Statement"
msgstr ""

#. module: account_move_line_report_xls
#: code:addons/account_move_line_report_xls/report/account_move_line_xlsx.py:0
#, python-format
msgid "Unit of Measure"
msgstr ""

#. module: account_move_line_report_xls
#: model:ir.model,name:account_move_line_report_xls.model_report_account_move_line_report_xls_account_move_line_xlsx
msgid "XLSX report for account move lines."
msgstr ""
Loading
Loading