Compare commits

...

No commits in common. '13.0' and '14.0' have entirely different histories.
13.0 ... 14.0

  1. 13
      .copier-answers.yml
  2. 4
      .flake8
  3. 13
      .github/workflows/pre-commit.yml
  4. 18
      .gitignore
  5. 1
      .isort.cfg
  6. 120
      .pre-commit-config.yaml
  7. 2
      .prettierrc.yml
  8. 6
      .pylintrc
  9. 4
      .pylintrc-mandatory
  10. 15
      .travis.yml
  11. 10
      CONTRIBUTING.md
  12. 12
      LICENSE
  13. 49
      README.md
  14. 12
      account_financial_report/README.rst
  15. 6
      account_financial_report/__manifest__.py
  16. 55
      account_financial_report/i18n/account_financial_report.pot
  17. 51
      account_financial_report/i18n/ar.po
  18. 51
      account_financial_report/i18n/ca.po
  19. 75
      account_financial_report/i18n/de.po
  20. 133
      account_financial_report/i18n/es.po
  21. 113
      account_financial_report/i18n/es_AR.po
  22. 1796
      account_financial_report/i18n/es_MX.po
  23. 250
      account_financial_report/i18n/fr.po
  24. 72
      account_financial_report/i18n/fr_CH.po
  25. 1834
      account_financial_report/i18n/fr_FR.po
  26. 51
      account_financial_report/i18n/hr.po
  27. 51
      account_financial_report/i18n/hr_HR.po
  28. 54
      account_financial_report/i18n/it.po
  29. 51
      account_financial_report/i18n/ja.po
  30. 89
      account_financial_report/i18n/nl.po
  31. 51
      account_financial_report/i18n/nl_NL.po
  32. 549
      account_financial_report/i18n/pt.po
  33. 72
      account_financial_report/i18n/pt_BR.po
  34. 81
      account_financial_report/i18n/ro.po
  35. 2
      account_financial_report/models/__init__.py
  36. 12
      account_financial_report/models/account_group.py
  37. 2
      account_financial_report/readme/CONTRIBUTORS.rst
  38. 1
      account_financial_report/report/__init__.py
  39. 126
      account_financial_report/report/abstract_report.py
  40. 607
      account_financial_report/report/abstract_report_xlsx.py
  41. 107
      account_financial_report/report/aged_partner_balance.py
  42. 78
      account_financial_report/report/aged_partner_balance_xlsx.py
  43. 41
      account_financial_report/report/general_ledger.py
  44. 60
      account_financial_report/report/general_ledger_xlsx.py
  45. 2
      account_financial_report/report/journal_ledger.py
  46. 71
      account_financial_report/report/journal_ledger_xlsx.py
  47. 147
      account_financial_report/report/open_items.py
  48. 43
      account_financial_report/report/open_items_xlsx.py
  49. 222
      account_financial_report/report/templates/aged_partner_balance.xml
  50. 104
      account_financial_report/report/templates/general_ledger.xml
  51. 56
      account_financial_report/report/templates/journal_ledger.xml
  52. 73
      account_financial_report/report/templates/open_items.xml
  53. 106
      account_financial_report/report/templates/trial_balance.xml
  54. 24
      account_financial_report/report/templates/vat_report.xml
  55. 106
      account_financial_report/report/trial_balance.py
  56. 72
      account_financial_report/report/trial_balance_xlsx.py
  57. 12
      account_financial_report/report/vat_report.py
  58. 9
      account_financial_report/report/vat_report_xlsx.py
  59. 199
      account_financial_report/reports.xml
  60. 7
      account_financial_report/security/ir.model.access.csv
  61. 8
      account_financial_report/static/description/index.html
  62. 6
      account_financial_report/static/src/js/action_manager_report.js
  63. 17
      account_financial_report/static/src/js/client_action.js
  64. 6
      account_financial_report/static/src/js/report.js
  65. 51
      account_financial_report/tests/test_general_ledger.py
  66. 175
      account_financial_report/tests/test_journal_ledger.py
  67. 8
      account_financial_report/tests/test_open_items.py
  68. 135
      account_financial_report/tests/test_trial_balance.py
  69. 180
      account_financial_report/tests/test_vat_report.py
  70. 25
      account_financial_report/wizard/abstract_wizard.py
  71. 21
      account_financial_report/wizard/aged_partner_balance_wizard.py
  72. 19
      account_financial_report/wizard/aged_partner_balance_wizard_view.xml
  73. 49
      account_financial_report/wizard/general_ledger_wizard.py
  74. 60
      account_financial_report/wizard/general_ledger_wizard_view.xml
  75. 26
      account_financial_report/wizard/journal_ledger_wizard.py
  76. 15
      account_financial_report/wizard/journal_ledger_wizard_view.xml
  77. 26
      account_financial_report/wizard/open_items_wizard.py
  78. 49
      account_financial_report/wizard/open_items_wizard_view.xml
  79. 30
      account_financial_report/wizard/trial_balance_wizard.py
  80. 21
      account_financial_report/wizard/trial_balance_wizard_view.xml
  81. 22
      account_financial_report/wizard/vat_report_wizard.py
  82. 15
      account_financial_report/wizard/vat_report_wizard_view.xml
  83. 11
      account_tax_balance/README.rst
  84. 3
      account_tax_balance/__manifest__.py
  85. 22
      account_tax_balance/hooks.py
  86. 25
      account_tax_balance/i18n/account_tax_balance.pot
  87. 17
      account_tax_balance/i18n/es.po
  88. 266
      account_tax_balance/i18n/fr_FR.po
  89. 27
      account_tax_balance/i18n/pt.po
  90. 31
      account_tax_balance/migrations/14.0.1.0.0/pre-migration.py
  91. 20
      account_tax_balance/models/account_move.py
  92. 42
      account_tax_balance/models/account_tax.py
  93. 1
      account_tax_balance/readme/CONTRIBUTORS.rst
  94. 3
      account_tax_balance/security/ir.model.access.csv
  95. 7
      account_tax_balance/static/description/index.html
  96. 30
      account_tax_balance/tests/test_account_tax_balance.py
  97. 8
      account_tax_balance/views/account_move_view.xml
  98. 12
      account_tax_balance/views/account_tax_view.xml
  99. 2
      account_tax_balance/wizard/open_tax_balances.py
  100. 8
      account_tax_balance/wizard/open_tax_balances_view.xml

13
.copier-answers.yml

@ -0,0 +1,13 @@
# Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.1.4
_src_path: gh:oca/oca-addons-repo-template
dependency_installation_mode: PIP
generate_requirements_txt: true
include_wkhtmltopdf: false
odoo_version: 14.0
rebel_module_groups: []
repo_description: "TODO: add repo description."
repo_name: account-financial-reporting
repo_slug: account-financial-reporting
travis_apt_packages: []
travis_apt_sources: []

4
.flake8

@ -1,5 +1,5 @@
[flake8]
max-line-length = 80
max-line-length = 88
max-complexity = 16
# B = bugbear
# B9 = bugbear opinionated (incl line length)
@ -8,3 +8,5 @@ select = C,E,F,W,B,B9
# E501: flake8 line length (covered by bugbear B950)
# W503: line break before binary operator (black behaviour)
ignore = E203,E501,W503
per-file-ignores=
__init__.py:F401

13
.github/workflows/pre-commit.yml

@ -0,0 +1,13 @@
name: pre-commit
on:
pull_request:
push:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: pre-commit/action@v2.0.0

18
.gitignore

@ -1,6 +1,8 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
/.venv
/.pytest_cache
# C extensions
*.so
@ -21,6 +23,7 @@ var/
*.egg-info/
.installed.cfg
*.egg
*.eggs
# Installer logs
pip-log.txt
@ -39,8 +42,20 @@ coverage.xml
# Pycharm
.idea
# Eclipse
.settings
# Visual Studio cache/options directory
.vs/
.vscode
# OSX Files
.DS_Store
# Django stuff:
*.log
# Mr Developer
.mr.developer.cfg
.project
@ -55,3 +70,6 @@ docs/_build/
# Backup files
*~
*.swp
# OCA rules
!static/lib/

1
.isort.cfg

@ -10,3 +10,4 @@ known_odoo=odoo
known_odoo_addons=odoo.addons
sections=FUTURE,STDLIB,THIRDPARTY,ODOO,ODOO_ADDONS,FIRSTPARTY,LOCALFOLDER
default_section=THIRDPARTY
ensure_newline_before_comments = True

120
.pre-commit-config.yaml

@ -1,7 +1,11 @@
exclude: |
(?x)
# NOT INSTALLABLE ADDONS
# END NOT INSTALLABLE ADDONS
# Files and folders generated by bots, to avoid loops
^setup/|/static/description/index\.html$|
# We don't want to mess with tool-generated files
.svg$|/tests/([^/]+/)?cassettes/|
# Maybe reactivate this when all README files include prettier ignore tags?
^README\.md$|
# Library files can have extraneous formatting (even minimized)
@ -14,27 +18,50 @@ default_language_version:
python: python3
node: "14.13.0"
repos:
- repo: local
hooks:
# These files are most likely copier diff rejection junks; if found,
# review them manually, fix the problem (if needed) and remove them
- id: forbidden-files
name: forbidden files
entry: found forbidden files; remove them
language: fail
files: "\\.rej$"
- repo: https://github.com/oca/maintainer-tools
rev: ab1d7f6
hooks:
# update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons
- id: oca-fix-manifest-website
args: ["https://github.com/OCA/account-financial-reporting"]
- repo: https://github.com/myint/autoflake
rev: v1.4
hooks:
- id: autoflake
args:
- --expand-star-imports
- --ignore-init-module-imports
- --in-place
- --remove-all-unused-imports
- --remove-duplicate-keys
- --remove-unused-variables
- repo: https://github.com/psf/black
rev: 19.10b0
rev: 20.8b1
hooks:
- id: black
- repo: https://github.com/prettier/pre-commit
rev: "v1.19.1"
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.1.2
hooks:
- id: prettier
# TODO Avoid awebdeveloper/pre-commit-prettier if possible
# HACK https://github.com/prettier/prettier/issues/7407
- repo: https://github.com/awebdeveloper/pre-commit-prettier
rev: v0.0.1
hooks:
- id: prettier
name: prettier xml plugin
name: prettier (with plugin-xml)
additional_dependencies:
- "prettier@1.19.1"
- "@prettier/plugin-xml@0.7.2"
files: \.xml$
- "prettier@2.1.2"
- "@prettier/plugin-xml@0.12.0"
args:
- --plugin=@prettier/plugin-xml
files: \.(css|htm|html|js|json|jsx|less|md|scss|toml|ts|xml|yaml|yml)$
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v6.8.0
rev: v7.8.1
hooks:
- id: eslint
verbose: true
@ -42,7 +69,7 @@ repos:
- --color
- --fix
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
rev: v3.2.0
hooks:
- id: trailing-whitespace
# exclude autogenerated files
@ -63,41 +90,48 @@ repos:
- id: check-xml
- id: mixed-line-ending
args: ["--fix=lf"]
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.9
hooks:
- id: flake8
name: flake8 except __init__.py
exclude: /__init__\.py$
additional_dependencies: ["flake8-bugbear==19.8.0"]
- id: flake8
name: flake8 only __init__.py
args: ["--extend-ignore=F401"] # ignore unused imports in __init__.py
files: /__init__\.py$
additional_dependencies: ["flake8-bugbear==19.8.0"]
- repo: https://github.com/pre-commit/mirrors-pylint
rev: v2.5.3
hooks:
- id: pylint
name: pylint with optional checks
args: ["--rcfile=.pylintrc", "--exit-zero"]
verbose: true
additional_dependencies: ["pylint-odoo==3.5.0"]
- id: pylint
name: pylint with mandatory checks
args: ["--rcfile=.pylintrc-mandatory"]
additional_dependencies: ["pylint-odoo==3.5.0"]
- repo: https://github.com/asottile/pyupgrade
rev: v1.26.2
rev: v2.7.2
hooks:
- id: pyupgrade
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.21
args: ["--keep-percent-format"]
- repo: https://github.com/PyCQA/isort
rev: 5.5.1
hooks:
- id: isort
name: isort except __init__.py
args:
- --settings=.
exclude: /__init__\.py$
- repo: https://github.com/acsone/setuptools-odoo
rev: 2.5.2
rev: 2.6.0
hooks:
- id: setuptools-odoo-make-default
- id: setuptools-odoo-get-requirements
args:
- --output
- requirements.txt
- --header
- "# generated from manifests external_dependencies"
- repo: https://gitlab.com/PyCQA/flake8
rev: 3.8.3
hooks:
- id: flake8
name: flake8
additional_dependencies: ["flake8-bugbear==20.1.4"]
- repo: https://github.com/PyCQA/pylint
rev: pylint-2.5.3
hooks:
- id: pylint
name: pylint with optional checks
args:
- --rcfile=.pylintrc
- --exit-zero
verbose: true
additional_dependencies: &pylint_deps
- pylint-odoo==3.5.0
- id: pylint
name: pylint with mandatory checks
args:
- --rcfile=.pylintrc-mandatory
additional_dependencies: *pylint_deps

2
.prettierrc.yml

@ -5,4 +5,4 @@ printWidth: 88
proseWrap: always
semi: true
trailingComma: "es5"
xmlWhitespaceSensitivity: "ignore"
xmlWhitespaceSensitivity: "strict"

6
.pylintrc

@ -8,7 +8,7 @@ manifest_required_authors=Odoo Community Association (OCA)
manifest_required_keys=license
manifest_deprecated_keys=description,active
license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
valid_odoo_versions=13.0
valid_odoo_versions=14.0
[MESSAGES CONTROL]
disable=all
@ -46,8 +46,6 @@ enable=anomalous-backslash-in-string,
method-inverse,
method-required-super,
method-search,
missing-import-error,
missing-manifest-dependency,
openerp-exception-warning,
pointless-statement,
pointless-string-statement,
@ -73,6 +71,7 @@ enable=anomalous-backslash-in-string,
deprecated-module,
file-not-used,
invalid-commit,
missing-manifest-dependency,
missing-newline-extrafiles,
missing-readme,
no-utf8-coding-comment,
@ -82,6 +81,7 @@ enable=anomalous-backslash-in-string,
too-complex,
unnecessary-utf8-coding-comment
[REPORTS]
msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}
output-format=colorized

4
.pylintrc-mandatory

@ -8,7 +8,7 @@ manifest_required_authors=Odoo Community Association (OCA)
manifest_required_keys=license
manifest_deprecated_keys=description,active
license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
valid_odoo_versions=13.0
valid_odoo_versions=14.0
[MESSAGES CONTROL]
disable=all
@ -39,8 +39,6 @@ enable=anomalous-backslash-in-string,
method-inverse,
method-required-super,
method-search,
missing-import-error,
missing-manifest-dependency,
openerp-exception-warning,
pointless-statement,
pointless-string-statement,

15
.travis.yml

@ -14,27 +14,20 @@ addons:
- expect-dev # provides unbuffer utility
stages:
- linting
- test
jobs:
include:
- stage: linting
name: "pre-commit"
before_install:
install: pip install pre-commit
script: pre-commit run --all --show-diff-on-failure --verbose --color always
after_success:
- stage: test
env:
- TESTS="1" ODOO_REPO="odoo/odoo" MAKEPOT="1"
- TESTS=1 ODOO_REPO="odoo/odoo" MAKEPOT="1"
- stage: test
env:
- TESTS="1" ODOO_REPO="OCA/OCB"
- TESTS=1 ODOO_REPO="OCA/OCB"
env:
global:
- VERSION="13.0" TESTS="0" LINT_CHECK="0" MAKEPOT="0"
- VERSION="14.0" TESTS="0" LINT_CHECK="0" MAKEPOT="0"
- MQT_DEP=PIP
install:
- git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git

10
CONTRIBUTING.md

@ -0,0 +1,10 @@
# OCA Guidelines
Please follow the official guide from the
[OCA Guidelines page](https://odoo-community.org/page/contributing).
## Project Specific Guidelines
<!-- /!\ do not modify above this line -->
This project does not have specific coding guidelines.

12
LICENSE

@ -1,7 +1,7 @@
GNU AFFERO GENERAL PUBLIC LICENSE
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
@ -633,8 +633,8 @@ the "copyright" line and a pointer to where the full notice is found.
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@ -643,7 +643,7 @@ the "copyright" line and a pointer to where the full notice is found.
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
@ -658,4 +658,4 @@ specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<http://www.gnu.org/licenses/>.
<https://www.gnu.org/licenses/>.

49
README.md

@ -1,14 +1,41 @@
[![Runbot Status](https://runbot.odoo-community.org/runbot/badge/flat/91/13.0.svg)](https://runbot.odoo-community.org/runbot/repo/github-com-oca-account-financial-reporting-91)
[![Build Status](https://travis-ci.org/OCA/account-financial-reporting.svg?branch=13.0)](https://travis-ci.org/OCA/account-financial-reporting)
[![Coverage Status](https://coveralls.io/repos/OCA/account-financial-reporting/badge.png?branch=13.0)](https://coveralls.io/r/OCA/account-financial-reporting?branch=13.0)
[![Runbot Status](https://runbot.odoo-community.org/runbot/badge/flat/91/14.0.svg)](https://runbot.odoo-community.org/runbot/repo/github-com-oca-account-financial-reporting-91)
[![Build Status](https://travis-ci.com/OCA/account-financial-reporting.svg?branch=14.0)](https://travis-ci.com/OCA/account-financial-reporting)
[![codecov](https://codecov.io/gh/OCA/account-financial-reporting/branch/14.0/graph/badge.svg)](https://codecov.io/gh/OCA/account-financial-reporting)
[![Translation Status](https://translation.odoo-community.org/widgets/account-financial-reporting-14-0/-/svg-badge.svg)](https://translation.odoo-community.org/engage/account-financial-reporting-14-0/?utm_source=widget)
Odoo account financial reports
==============================
<!-- /!\ do not modify above this line -->
This project aims to deal with modules related to financial reports. You'll
find modules that print legal and official reports. This includes, among
others:
# account-financial-reporting
* One module based on webkit and totally rewritten by camptocamp, for standard
financial reports.
* Another based on RML completely improved by Vauxoo.
TODO: add repo description.
<!-- /!\ do not modify below this line -->
<!-- prettier-ignore-start -->
[//]: # (addons)
Available addons
----------------
addon | version | maintainers | summary
--- | --- | --- | ---
[account_financial_report](account_financial_report/) | 14.0.1.3.1 | | OCA Financial Reports
[account_tax_balance](account_tax_balance/) | 14.0.1.1.0 | | Compute tax balances based on date range
[//]: # (end addons)
<!-- prettier-ignore-end -->
## Licenses
This repository is licensed under [AGPL-3.0](LICENSE).
However, each module can have a totally different license, as long as they adhere to OCA
policy. Consult each module's `__manifest__.py` file, which contains a `license` key
that explains its license.
----
OCA, or the [Odoo Community Association](http://odoo-community.org/), is a nonprofit
organization whose mission is to support the collaborative development of Odoo features
and promote its widespread use.

12
account_financial_report/README.rst

@ -14,13 +14,13 @@ Account Financial Reports
: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/13.0/account_financial_report
:target: https://github.com/OCA/account-financial-reporting/tree/14.0/account_financial_report
: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-13-0/account-financial-reporting-13-0-account_financial_report
:target: https://translation.odoo-community.org/projects/account-financial-reporting-14-0/account-financial-reporting-14-0-account_financial_report
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/91/13.0
:target: https://runbot.odoo-community.org/runbot/91/14.0
:alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5|
@ -87,7 +87,7 @@ 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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/account-financial-reporting/issues/new?body=module:%20account_financial_report%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/account-financial-reporting/issues/new?body=module:%20account_financial_report%0Aversion:%2014.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.
@ -128,9 +128,9 @@ Contributors
* Pedro M. Baeza
* Sergio Teruel
* Ernesto Tejeda
* João Marques
* Alexandre D. Díaz
* Lois Rilo <lois.rilo@forgeflow.com>
* `Sygel <https://www.sygel.es>`__:
* Harald Panten
@ -152,6 +152,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-financial-reporting <https://github.com/OCA/account-financial-reporting/tree/13.0/account_financial_report>`_ project on GitHub.
This module is part of the `OCA/account-financial-reporting <https://github.com/OCA/account-financial-reporting/tree/14.0/account_financial_report>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

6
account_financial_report/__manifest__.py

@ -2,10 +2,11 @@
# Author: Julien Coux
# Copyright 2016 Camptocamp SA
# Copyright 2020 ForgeFlow S.L. (https://www.forgeflow.com)
# Copyright 2021 Tecnativa - João Marques
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Account Financial Reports",
"version": "13.0.1.8.0",
"version": "14.0.1.3.1",
"category": "Reporting",
"summary": "OCA Financial Reports",
"author": "Camptocamp SA,"
@ -13,9 +14,10 @@
"redCOR AG,"
"ForgeFlow,"
"Odoo Community Association (OCA)",
"website": "https://odoo-community.org/",
"website": "https://github.com/OCA/account-financial-reporting",
"depends": ["account", "date_range", "report_xlsx"],
"data": [
"security/ir.model.access.csv",
"wizard/aged_partner_balance_wizard_view.xml",
"wizard/general_ledger_wizard_view.xml",
"wizard/journal_ledger_wizard_view.xml",

55
account_financial_report/i18n/account_financial_report.pot

@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
@ -49,33 +49,14 @@ msgstr ""
msgid "<b>Taxes summary</b>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.aged_partner_balance_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.open_items_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid "<span class=\"oe_inline\">To</span>"
msgstr ""
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_account_financial_report_abstract_report
msgid "Abstract Report"
msgstr ""
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_account_financial_report_abstract_wizard
msgid "Abstract Wizard"
@ -411,7 +392,6 @@ msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__company_id
@ -629,9 +609,13 @@ msgid "Detail Taxes"
msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__display_name
@ -640,7 +624,6 @@ msgstr ""
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__display_name
@ -762,6 +745,7 @@ msgstr ""
#. module: account_financial_report
#. openerp-web
#: code:addons/account_financial_report/static/src/xml/report.xml:0
#: code:addons/account_financial_report/static/src/xml/report.xml:0
#, python-format
msgid "Export"
msgstr ""
@ -907,8 +891,8 @@ msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"General Ledger can be computed only if selected company have only one "
"unaffected earnings account."
"General Ledger can be computed only if selected company have\n"
" only one unaffected earnings account."
msgstr ""
#. module: account_financial_report
@ -949,9 +933,13 @@ msgid "Hierarchy On"
msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__id
@ -960,7 +948,6 @@ msgstr ""
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__id
@ -1032,7 +1019,6 @@ msgstr ""
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.actions.act_window,name:account_financial_report.action_journal_ledger_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_html
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
#: model:ir.ui.menu,name:account_financial_report.menu_journal_ledger_wizard
#, python-format
msgid "Journal Ledger"
@ -1072,9 +1058,13 @@ msgid "Journals"
msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_group____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx____last_update
@ -1083,7 +1073,6 @@ msgstr ""
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger____last_update
@ -1354,6 +1343,7 @@ msgstr ""
#. module: account_financial_report
#. openerp-web
#: code:addons/account_financial_report/static/src/xml/report.xml:0
#: code:addons/account_financial_report/static/src/xml/report.xml:0
#, python-format
msgid "Print"
msgstr ""
@ -1667,8 +1657,8 @@ msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid ""
"Trial Balance can be computed only if selected company have only one "
"unaffected earnings account."
"Trial Balance can be computed only if selected company have only\n"
" one unaffected earnings account."
msgstr ""
#. module: account_financial_report
@ -1779,6 +1769,11 @@ msgstr ""
msgid "or"
msgstr ""
#. module: account_financial_report
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
msgid "ournal Ledger"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal
msgid "to"

51
account_financial_report/i18n/ar.po

@ -52,33 +52,14 @@ msgstr "91 - 120 يوم."
msgid "<b>Taxes summary</b>"
msgstr "‫<b>موجز الضرائب</b>"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.aged_partner_balance_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.open_items_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid "<span class=\"oe_inline\">To</span>"
msgstr ""
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_account_financial_report_abstract_report
msgid "Abstract Report"
msgstr ""
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_account_financial_report_abstract_wizard
msgid "Abstract Wizard"
@ -415,7 +396,6 @@ msgstr "الرمز"
#. module: account_financial_report
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__company_id
@ -631,9 +611,13 @@ msgid "Detail Taxes"
msgstr "تفصيل الضرائب"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__display_name
@ -642,7 +626,6 @@ msgstr "تفصيل الضرائب"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__display_name
@ -917,8 +900,8 @@ msgstr "الأستاذ العام إكسل"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"General Ledger can be computed only if selected company have only one "
"unaffected earnings account."
"General Ledger can be computed only if selected company have\n"
" only one unaffected earnings account."
msgstr ""
#. module: account_financial_report
@ -960,9 +943,13 @@ msgid "Hierarchy On"
msgstr "الشجرة مبنية على"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__id
@ -971,7 +958,6 @@ msgstr "الشجرة مبنية على"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__id
@ -1042,7 +1028,6 @@ msgstr ""
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.actions.act_window,name:account_financial_report.action_journal_ledger_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_html
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
#: model:ir.ui.menu,name:account_financial_report.menu_journal_ledger_wizard
#, python-format
msgid "Journal Ledger"
@ -1085,9 +1070,13 @@ msgid "Journals"
msgstr "اليوميات"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_group____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx____last_update
@ -1096,7 +1085,6 @@ msgstr "اليوميات"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger____last_update
@ -1683,8 +1671,8 @@ msgstr "الرصيد الختامي"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid ""
"Trial Balance can be computed only if selected company have only one "
"unaffected earnings account."
"Trial Balance can be computed only if selected company have only\n"
" one unaffected earnings account."
msgstr ""
#. module: account_financial_report
@ -1793,6 +1781,11 @@ msgstr ""
msgid "or"
msgstr ""
#. module: account_financial_report
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
msgid "ournal Ledger"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal
msgid "to"

51
account_financial_report/i18n/ca.po

@ -55,33 +55,14 @@ msgstr "91 - 120 d."
msgid "<b>Taxes summary</b>"
msgstr "<B>Resum d'impostos</b>"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.aged_partner_balance_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.open_items_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid "<span class=\"oe_inline\">To</span>"
msgstr ""
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_account_financial_report_abstract_report
msgid "Abstract Report"
msgstr ""
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_account_financial_report_abstract_wizard
msgid "Abstract Wizard"
@ -425,7 +406,6 @@ msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__company_id
@ -640,9 +620,13 @@ msgid "Detail Taxes"
msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__display_name
@ -651,7 +635,6 @@ msgstr ""
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__display_name
@ -921,8 +904,8 @@ msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"General Ledger can be computed only if selected company have only one "
"unaffected earnings account."
"General Ledger can be computed only if selected company have\n"
" only one unaffected earnings account."
msgstr ""
#. module: account_financial_report
@ -963,9 +946,13 @@ msgid "Hierarchy On"
msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__id
@ -974,7 +961,6 @@ msgstr ""
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__id
@ -1046,7 +1032,6 @@ msgstr ""
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.actions.act_window,name:account_financial_report.action_journal_ledger_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_html
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
#: model:ir.ui.menu,name:account_financial_report.menu_journal_ledger_wizard
#, python-format
msgid "Journal Ledger"
@ -1086,9 +1071,13 @@ msgid "Journals"
msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_group____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx____last_update
@ -1097,7 +1086,6 @@ msgstr ""
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger____last_update
@ -1681,8 +1669,8 @@ msgstr "Cancel·lar "
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid ""
"Trial Balance can be computed only if selected company have only one "
"unaffected earnings account."
"Trial Balance can be computed only if selected company have only\n"
" one unaffected earnings account."
msgstr ""
#. module: account_financial_report
@ -1792,6 +1780,11 @@ msgstr ""
msgid "or"
msgstr "o"
#. module: account_financial_report
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
msgid "ournal Ledger"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal
msgid "to"

75
account_financial_report/i18n/de.po

@ -57,34 +57,14 @@ msgstr "91-120 T."
msgid "<b>Taxes summary</b>"
msgstr "<b>Steuerbuchungen Zusammenfassung</b>"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.aged_partner_balance_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.open_items_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid "<span class=\"oe_inline\">To</span>"
msgstr ""
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_account_financial_report_abstract_report
#, fuzzy
msgid "Abstract Report"
msgstr "Steuerbericht"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_account_financial_report_abstract_wizard
msgid "Abstract Wizard"
@ -430,7 +410,6 @@ msgstr "Nummer"
#. module: account_financial_report
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__company_id
@ -646,9 +625,13 @@ msgid "Detail Taxes"
msgstr "Details zu Steuern"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__display_name
@ -657,7 +640,6 @@ msgstr "Details zu Steuern"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__display_name
@ -937,11 +919,9 @@ msgstr "Hauptbuch XLSX"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"General Ledger can be computed only if selected company have only one "
"unaffected earnings account."
"General Ledger can be computed only if selected company have\n"
" only one unaffected earnings account."
msgstr ""
"Das Hauptbuch für gewähltes Unternehmen kann nur korrekt kalkuliert werden, "
"wenn nur ein unangetastetes Überschusskonto besteht."
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__group_option
@ -981,9 +961,13 @@ msgid "Hierarchy On"
msgstr "Gruppieren über"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__id
@ -992,7 +976,6 @@ msgstr "Gruppieren über"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__id
@ -1064,7 +1047,6 @@ msgstr ""
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.actions.act_window,name:account_financial_report.action_journal_ledger_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_html
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
#: model:ir.ui.menu,name:account_financial_report.menu_journal_ledger_wizard
#, python-format
msgid "Journal Ledger"
@ -1106,9 +1088,13 @@ msgid "Journals"
msgstr "Journale"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_group____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx____last_update
@ -1117,7 +1103,6 @@ msgstr "Journale"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger____last_update
@ -1717,11 +1702,9 @@ msgstr "Stichtagssaldo XLSX"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid ""
"Trial Balance can be computed only if selected company have only one "
"unaffected earnings account."
"Trial Balance can be computed only if selected company have only\n"
" one unaffected earnings account."
msgstr ""
"Der Stichtagssaldo kann nur korrekt ermittelt werden, wenn für das gewählte "
"Unternehmen nur ein unberührtes Überschusskonto existiert."
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__unaffected_earnings_account
@ -1838,6 +1821,11 @@ msgstr ""
msgid "or"
msgstr "oder"
#. module: account_financial_report
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
msgid "ournal Ledger"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal
msgid "to"
@ -1879,6 +1867,20 @@ msgstr "Breite: 8,11%;"
#~ msgid "<span class=\"fa fa-print\"/> Print"
#~ msgstr "<span class=\"fa fa-print\"/> Druck"
#~ msgid ""
#~ "General Ledger can be computed only if selected company have only one "
#~ "unaffected earnings account."
#~ msgstr ""
#~ "Das Hauptbuch für gewähltes Unternehmen kann nur korrekt kalkuliert "
#~ "werden, wenn nur ein unangetastetes Überschusskonto besteht."
#~ msgid ""
#~ "Trial Balance can be computed only if selected company have only one "
#~ "unaffected earnings account."
#~ msgstr ""
#~ "Der Stichtagssaldo kann nur korrekt ermittelt werden, wenn für das "
#~ "gewählte Unternehmen nur ein unberührtes Überschusskonto existiert."
#~ msgid ""
#~ "Cost\n"
#~ " center"
@ -1889,6 +1891,11 @@ msgstr "Breite: 8,11%;"
#~ msgid "Cost center"
#~ msgstr "Kostenstelle"
#, fuzzy
#~| msgid "VAT Report"
#~ msgid "Abstract Report"
#~ msgstr "Steuerbericht"
#, fuzzy
#~| msgid "Account"
#~ msgid "Account ID"

133
account_financial_report/i18n/es.po

@ -7,7 +7,7 @@ msgstr ""
"Project-Id-Version: Odoo Server 12.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-05-21 13:00+0000\n"
"PO-Revision-Date: 2021-03-16 13:45+0000\n"
"PO-Revision-Date: 2021-03-10 18:45+0000\n"
"Last-Translator: Ana Suárez <ana.suarez@qubiq.es>\n"
"Language-Team: \n"
"Language: es\n"
@ -53,39 +53,14 @@ msgstr "91 - 120 d."
msgid "<b>Taxes summary</b>"
msgstr "<b>Resumen de Impuestos</b>"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
"<span class=\"oe_inline\">\n"
" A\n"
" </span>"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.aged_partner_balance_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.open_items_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
"<span class=\"oe_inline\">\n"
" A\n"
" </span>"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid "<span class=\"oe_inline\">To</span>"
msgstr "<span class=\"oe_inline\">A</span>"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_account_financial_report_abstract_report
msgid "Abstract Report"
msgstr "Informe Extracto"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_account_financial_report_abstract_wizard
msgid "Abstract Wizard"
@ -93,9 +68,8 @@ msgstr "Asistente de Extracto"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_account_financial_report_abstract_report_xlsx
#, fuzzy
msgid "Abstract XLSX Account Financial Report"
msgstr "Resumen XLSX Account Financial Report"
msgstr "Extracto XLSX Account Financial Report"
#. module: account_financial_report
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
@ -177,8 +151,8 @@ msgid ""
"Age ≤ 120\n"
" d."
msgstr ""
"Tiempo ≤ 120 \n"
" d."
"Tiempo ≤ 120\n"
" d."
#. module: account_financial_report
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
@ -340,7 +314,7 @@ msgstr "Total Act."
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
#, python-format
msgid "Analytic Account"
msgstr "Cuenta analítica"
msgstr "Cuenta Analítica"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_all_taxes
@ -427,7 +401,6 @@ msgstr "Código"
#. module: account_financial_report
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__company_id
@ -650,9 +623,13 @@ msgid "Detail Taxes"
msgstr "Detalle de impuestos"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__display_name
@ -661,7 +638,6 @@ msgstr "Detalle de impuestos"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__display_name
@ -826,8 +802,9 @@ msgstr "Filtro Cuentas"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
#, fuzzy
msgid "Filter analytic accounts"
msgstr "Filtrar cuentas analíticas"
msgstr "Filtrar por etiquetas analíticas"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__analytic_tag_ids
@ -925,6 +902,7 @@ msgstr "Asistente de informe de Libro Mayor"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_a_f_r_report_general_ledger_xlsx
#, fuzzy
msgid "General Ledger XLSL Report"
msgstr "Libro mayor XLSX"
@ -936,11 +914,9 @@ msgstr "Libro mayor XLSX"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"General Ledger can be computed only if selected company have only one "
"unaffected earnings account."
"General Ledger can be computed only if selected company have\n"
" only one unaffected earnings account."
msgstr ""
"El Libro mayor solo se puede calcular si la empresa seleccionada tiene solo "
"una cuenta de resultados no afectados."
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__group_option
@ -980,9 +956,13 @@ msgid "Hierarchy On"
msgstr "Jerarquía en"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__id
@ -991,7 +971,6 @@ msgstr "Jerarquía en"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__id
@ -1024,12 +1003,13 @@ msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_lines_header
#, fuzzy
msgid ""
"Initial\n"
" balance"
msgstr ""
"Balance\n"
" inicial"
" inicial moneda"
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
@ -1060,13 +1040,12 @@ msgstr "Apunte contable"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__domain
msgid "Journal Items Domain"
msgstr "Dominio Apuntes Contables"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.actions.act_window,name:account_financial_report.action_journal_ledger_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_html
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
#: model:ir.ui.menu,name:account_financial_report.menu_journal_ledger_wizard
#, python-format
msgid "Journal Ledger"
@ -1107,9 +1086,13 @@ msgid "Journals"
msgstr "Diarios"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_group____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx____last_update
@ -1118,7 +1101,6 @@ msgstr "Diarios"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger____last_update
@ -1433,9 +1415,8 @@ msgstr "Ref - Etiqueta"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_ir_actions_report
#, fuzzy
msgid "Report Action"
msgstr "Acción Informe"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
@ -1467,8 +1448,9 @@ msgstr "Mostrar"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__show_cost_center
#, fuzzy
msgid "Show Analytic Account"
msgstr "Mostrar cuenta analítica"
msgstr "Mostrar etiquetas analíticas"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__with_auto_sequence
@ -1652,8 +1634,6 @@ msgstr "El nivel de jerarquía a filtrar debe ser mayor que 0."
#: model:ir.model.fields,help:account_financial_report.field_general_ledger_report_wizard__domain
msgid "This domain will be used to select specific domain for Journal Items"
msgstr ""
"Este dominio se usará para seleccionar dominios específicos para Apuntes "
"Contables"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
@ -1702,17 +1682,16 @@ msgstr "Balance de Sumas y Saldos XLSX"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_a_f_r_report_trial_balance_xlsx
#, fuzzy
msgid "Trial Balance XLSX Report"
msgstr "Balance de Sumas y Saldos XLSX"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid ""
"Trial Balance can be computed only if selected company have only one "
"unaffected earnings account."
"Trial Balance can be computed only if selected company have only\n"
" one unaffected earnings account."
msgstr ""
"El balance de sumas y saldos solo puede calcularse si la compañía "
"seleccionada tiene una y solo una cuenta de ganancias."
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__unaffected_earnings_account
@ -1768,13 +1747,15 @@ msgstr "Informe de Impuestos"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_account_financial_report_vat_report
#, fuzzy
msgid "Vat Report Report"
msgstr "Informe de IVA"
msgstr "Informe de Impuestos"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_a_f_r_report_vat_report_xlsx
#, fuzzy
msgid "Vat Report XLSX Report"
msgstr "Informe de IVA XLSX"
msgstr "Informe de impuestos XLSX"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.aged_partner_balance_wizard
@ -1813,7 +1794,7 @@ msgstr "Si"
#: code:addons/account_financial_report/report/general_ledger.py:0
#, python-format
msgid "future"
msgstr "futuro"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.aged_partner_balance_wizard
@ -1825,6 +1806,11 @@ msgstr "futuro"
msgid "or"
msgstr "o"
#. module: account_financial_report
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
msgid "ournal Ledger"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal
msgid "to"
@ -1866,6 +1852,38 @@ msgstr "ancho: 8.11%;"
#~ msgid "<span class=\"fa fa-print\"/> Print"
#~ msgstr "<span class=\"fa fa-print\"/>Imprimir"
#~ msgid ""
#~ "<span class=\"oe_inline\">\n"
#~ " To\n"
#~ " </span>"
#~ msgstr ""
#~ "<span class=\"oe_inline\">\n"
#~ " A\n"
#~ " </span>"
#~ msgid ""
#~ "<span class=\"oe_inline\">\n"
#~ " To\n"
#~ " </span>"
#~ msgstr ""
#~ "<span class=\"oe_inline\">\n"
#~ " A\n"
#~ " </span>"
#~ msgid ""
#~ "General Ledger can be computed only if selected company have only one "
#~ "unaffected earnings account."
#~ msgstr ""
#~ "El Libro mayor solo se puede calcular si la empresa seleccionada tiene "
#~ "solo una cuenta de resultados no afectados."
#~ msgid ""
#~ "Trial Balance can be computed only if selected company have only one "
#~ "unaffected earnings account."
#~ msgstr ""
#~ "El balance de sumas y saldos solo puede calcularse si la compañía "
#~ "seleccionada tiene una y solo una cuenta de ganancias."
#~ msgid ""
#~ "Cost\n"
#~ " center"
@ -1874,6 +1892,9 @@ msgstr "ancho: 8.11%;"
#~ msgid "Cost center"
#~ msgstr "Centro de Costos"
#~ msgid "Abstract Report"
#~ msgstr "Informe Extracto"
#~ msgid "Account Code"
#~ msgstr "Cuenta"

113
account_financial_report/i18n/es_AR.po

@ -52,39 +52,14 @@ msgstr "91 - 120 d."
msgid "<b>Taxes summary</b>"
msgstr "<b>Resumen de Impuestos</b>"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
"<span class=\"oe_inline\">\n"
" Para\n"
" </span>"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.aged_partner_balance_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.open_items_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
"<span class=\"oe_inline\">\n"
" Para\n"
" </span>"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid "<span class=\"oe_inline\">To</span>"
msgstr "<span class=\"oe_inline\">Para</span>"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_account_financial_report_abstract_report
msgid "Abstract Report"
msgstr "Reporte Abstracto"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_account_financial_report_abstract_wizard
msgid "Abstract Wizard"
@ -176,7 +151,7 @@ msgid ""
" d."
msgstr ""
"Antigüedad ≤ 120\n"
" d."
" d."
#. module: account_financial_report
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
@ -191,7 +166,7 @@ msgid ""
" d."
msgstr ""
"Antigüedad ≤ 30\n"
" d."
" d."
#. module: account_financial_report
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
@ -206,7 +181,7 @@ msgid ""
" d."
msgstr ""
"Antigüedad ≤ 60\n"
" d."
" d."
#. module: account_financial_report
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
@ -221,7 +196,7 @@ msgid ""
" d."
msgstr ""
"Antigüedad ≤ 90\n"
" d."
" d."
#. module: account_financial_report
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
@ -424,7 +399,6 @@ msgstr "Código"
#. module: account_financial_report
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__company_id
@ -647,9 +621,13 @@ msgid "Detail Taxes"
msgstr "Detalle de impuestos"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__display_name
@ -658,7 +636,6 @@ msgstr "Detalle de impuestos"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__display_name
@ -933,11 +910,11 @@ msgstr "Libro mayor XLSX"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"General Ledger can be computed only if selected company have only one "
"unaffected earnings account."
"General Ledger can be computed only if selected company have\n"
" only one unaffected earnings account."
msgstr ""
"El Libro mayor solo se puede calcular si la empresa seleccionada tiene solo "
"una cuenta de resultados no afectados."
"El Libro Mayor solo se puede calcular si la empresa seleccionada tiene\n"
" solo una cuenta de ganancias no afectada."
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__group_option
@ -977,9 +954,13 @@ msgid "Hierarchy On"
msgstr "Jerarquía en"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__id
@ -988,7 +969,6 @@ msgstr "Jerarquía en"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__id
@ -1063,7 +1043,6 @@ msgstr "Dominio de los Apuntes Contables"
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.actions.act_window,name:account_financial_report.action_journal_ledger_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_html
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
#: model:ir.ui.menu,name:account_financial_report.menu_journal_ledger_wizard
#, python-format
msgid "Journal Ledger"
@ -1103,9 +1082,13 @@ msgid "Journals"
msgstr "Diarios"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_group____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx____last_update
@ -1114,7 +1097,6 @@ msgstr "Diarios"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger____last_update
@ -1325,7 +1307,7 @@ msgid ""
" cumul aged balance"
msgstr ""
"Saldo\n"
" acumulado de empresa"
" acumulado de Empresa"
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
@ -1409,7 +1391,7 @@ msgid ""
" Label"
msgstr ""
"Ref -\n"
" Etiqueta"
" Etiqueta"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_open_items_lines_header
@ -1706,11 +1688,12 @@ msgstr "Informe XLSX del Balance de Comprobación"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid ""
"Trial Balance can be computed only if selected company have only one "
"unaffected earnings account."
"Trial Balance can be computed only if selected company have only\n"
" one unaffected earnings account."
msgstr ""
"El balance de sumas y saldos solo puede calcularse si la compañía "
"seleccionada tiene una y solo una cuenta de ganancias."
"El saldo de prueba se puede calcular solo si la empresa seleccionada tiene "
"solo\n"
" una cuenta de ganancias no afectada."
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__unaffected_earnings_account
@ -1823,6 +1806,11 @@ msgstr "futuro"
msgid "or"
msgstr "o"
#. module: account_financial_report
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
msgid "ournal Ledger"
msgstr "Libro Mayor del Diario"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal
msgid "to"
@ -1858,12 +1846,47 @@ msgstr "ancho: 38.92%;"
msgid "width: 8.11%;"
msgstr "ancho: 8.11%;"
#~ msgid "Open Itemsr"
#~ msgstr "Abrir Itemsr"
#~ msgid "<span class=\"fa fa-download\"/> Export"
#~ msgstr "<span class=\"fa fa-download\"/>Exportar"
#~ msgid "<span class=\"fa fa-print\"/> Print"
#~ msgstr "<span class=\"fa fa-print\"/>Imprimir"
#~ msgid ""
#~ "<span class=\"oe_inline\">\n"
#~ " To\n"
#~ " </span>"
#~ msgstr ""
#~ "<span class=\"oe_inline\">\n"
#~ " Para\n"
#~ " </span>"
#~ msgid ""
#~ "<span class=\"oe_inline\">\n"
#~ " To\n"
#~ " </span>"
#~ msgstr ""
#~ "<span class=\"oe_inline\">\n"
#~ " Para\n"
#~ " </span>"
#~ msgid ""
#~ "General Ledger can be computed only if selected company have only one "
#~ "unaffected earnings account."
#~ msgstr ""
#~ "El Libro mayor solo se puede calcular si la empresa seleccionada tiene "
#~ "solo una cuenta de resultados no afectados."
#~ msgid ""
#~ "Trial Balance can be computed only if selected company have only one "
#~ "unaffected earnings account."
#~ msgstr ""
#~ "El balance de sumas y saldos solo puede calcularse si la compañía "
#~ "seleccionada tiene una y solo una cuenta de ganancias."
#~ msgid ""
#~ "Cost\n"
#~ " center"

1796
account_financial_report/i18n/es_MX.po
File diff suppressed because it is too large
View File

250
account_financial_report/i18n/fr.po

@ -9,15 +9,15 @@ msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-03-16 08:14+0000\n"
"PO-Revision-Date: 2019-12-24 12:05+0000\n"
"Last-Translator: Martronic SA <info@martronic.ch>\n"
"PO-Revision-Date: 2021-03-29 15:46+0000\n"
"Last-Translator: Yves Le Doeuff <yld@alliasys.fr>\n"
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
"Language: fr\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.9.1\n"
"X-Generator: Weblate 4.3.2\n"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_lines_header
@ -55,32 +55,13 @@ msgstr "91 - 120 j."
msgid "<b>Taxes summary</b>"
msgstr "<b> Synthèse des taxes</b>"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.aged_partner_balance_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.open_items_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid "<span class=\"oe_inline\">To</span>"
msgstr ""
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_account_financial_report_abstract_report
msgid "Abstract Report"
msgstr "Résumé du rapport"
msgstr "<span class=\"oe_inline\">à</span>"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_account_financial_report_abstract_wizard
@ -90,7 +71,7 @@ msgstr "Résumé du rapport"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_account_financial_report_abstract_report_xlsx
msgid "Abstract XLSX Account Financial Report"
msgstr ""
msgstr "Résumé du rapport financier comptable au format XLSX"
#. module: account_financial_report
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
@ -113,18 +94,16 @@ msgstr "Compte"
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__account_code_from
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__account_code_from
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__account_code_from
#, fuzzy
msgid "Account Code From"
msgstr "Code du compte"
msgstr "Du compte"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__account_code_to
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__account_code_to
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__account_code_to
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__account_code_to
#, fuzzy
msgid "Account Code To"
msgstr "Code du compte"
msgstr "Au compte"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_account_group
@ -142,7 +121,7 @@ msgstr "Nom du compte"
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
#, python-format
msgid "Account at 0 filter"
msgstr "Le compte a 0 filtre"
msgstr "Filtrer les comptes à 0"
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
@ -166,14 +145,14 @@ msgstr "Activer la centralisation"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid "Additional Filtering"
msgstr ""
msgstr "Filtre supplémentaire"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
msgid ""
"Age ≤ 120\n"
" d."
msgstr "≤ 120 jours"
msgstr "≤ 120"
#. module: account_financial_report
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
@ -237,9 +216,8 @@ msgstr "Balance âgée des tiers -"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_account_financial_report_aged_partner_balance
#, fuzzy
msgid "Aged Partner Balance Report"
msgstr "Balance âgée des tiers -"
msgstr "Balance âgée des tiers"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_aged_partner_balance_report_wizard
@ -248,7 +226,6 @@ msgstr "Assistant balance âgée des tiers"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_a_f_r_report_aged_partner_balance_xlsx
#, fuzzy
msgid "Aged Partner Balance XLSL Report"
msgstr "Balance âgée des tiers XLSX"
@ -305,7 +282,7 @@ msgstr "Toutes les écritures"
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
#, python-format
msgid "All posted entries"
msgstr "Toutes les écritures postées"
msgstr "Toutes les écritures comptabilisées"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_table_header
@ -328,9 +305,9 @@ msgstr "Montant Devise"
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_lines
#, fuzzy, python-format
#, python-format
msgid "Analytic Account"
msgstr "Filtrer les comptes"
msgstr "Compte analytique"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_all_taxes
@ -417,7 +394,6 @@ msgstr "Code"
#. module: account_financial_report
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__company_id
@ -641,9 +617,13 @@ msgid "Detail Taxes"
msgstr "Détail des taxes"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__display_name
@ -652,7 +632,6 @@ msgstr "Détail des taxes"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__display_name
@ -694,7 +673,6 @@ msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_open_items_lines_header
#, fuzzy
msgid ""
"Due\n"
" date"
@ -734,7 +712,7 @@ msgstr ""
#: model:ir.model.fields,help:account_financial_report.field_open_items_report_wizard__account_code_to
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__account_code_to
msgid "Ending account in a range"
msgstr ""
msgstr "Compte de fin dans une période"
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
@ -748,7 +726,6 @@ msgstr "Solde de clôture"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_lines_header
#, fuzzy
msgid ""
"Ending balance\n"
" cur."
@ -819,9 +796,8 @@ msgstr "Filtrer les comptes"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
#, fuzzy
msgid "Filter analytic accounts"
msgstr "Filtrer les étiquettes analytiques"
msgstr "Filtrer les comptes analytiques"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__analytic_tag_ids
@ -858,9 +834,8 @@ msgstr "Devise étrangère"
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.open_items_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
#, fuzzy
msgid "From Code"
msgstr "Code"
msgstr "Du code"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_filters
@ -878,15 +853,13 @@ msgstr "Du: %s au: %s"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__complete_code
#, fuzzy
msgid "Full Code"
msgstr "Code"
msgstr "Code complet"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__complete_name
#, fuzzy
msgid "Full Name"
msgstr "Nom"
msgstr "Nom complet"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__fy_start_date
@ -913,20 +886,18 @@ msgstr "Grand livre"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_account_financial_report_general_ledger
#, fuzzy
msgid "General Ledger Report"
msgstr "Assistant de rapport Grand livre"
msgstr "Etat du Grand livre"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_general_ledger_report_wizard
msgid "General Ledger Report Wizard"
msgstr "Assistant de rapport Grand livre"
msgstr "Assistant d'impression du Grand livre"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_a_f_r_report_general_ledger_xlsx
#, fuzzy
msgid "General Ledger XLSL Report"
msgstr "Grand livre XLSX"
msgstr "Grand livre au format XLSX"
#. module: account_financial_report
#: model:ir.actions.report,name:account_financial_report.action_report_general_ledger_xlsx
@ -936,16 +907,14 @@ msgstr "Grand livre XLSX"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"General Ledger can be computed only if selected company have only one "
"unaffected earnings account."
"General Ledger can be computed only if selected company have\n"
" only one unaffected earnings account."
msgstr ""
"La comptabilité générale ne peut être calculée que si l'entreprise "
"sélectionnée a un seul compte de résultat non affecté."
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__group_option
msgid "Group entries by"
msgstr "Grouper les entrées par"
msgstr "Grouper les écritures par"
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
@ -962,7 +931,7 @@ msgstr "Cacher"
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__hide_account_at_0
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__hide_account_at_0
msgid "Hide account ending balance at 0"
msgstr "Cacher les compte avec un solde à 0"
msgstr "Cacher les comptes avec un solde à 0"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__hide_account_at_0
@ -980,9 +949,13 @@ msgid "Hierarchy On"
msgstr "Hiérarchiser sur"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__id
@ -991,7 +964,6 @@ msgstr "Hiérarchiser sur"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__id
@ -1067,9 +1039,8 @@ msgstr ""
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.actions.act_window,name:account_financial_report.action_journal_ledger_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_html
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
#: model:ir.ui.menu,name:account_financial_report.menu_journal_ledger_wizard
#, fuzzy, python-format
#, python-format
msgid "Journal Ledger"
msgstr "Livre des journaux"
@ -1080,15 +1051,13 @@ msgstr "Livre des Journaux -"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_account_financial_report_journal_ledger
#, fuzzy
msgid "Journal Ledger Report"
msgstr "Dialogue du rapport du Livre des Journaux"
msgstr "Livre des Journaux"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_journal_ledger_report_wizard
#, fuzzy
msgid "Journal Ledger Report Wizard"
msgstr "Dialogue du rapport du Livre des Journaux"
msgstr "Assistant du Livre des Journaux"
#. module: account_financial_report
#: model:ir.actions.report,name:account_financial_report.action_report_journal_ledger_xlsx
@ -1097,9 +1066,8 @@ msgstr "Livre des Journaux XLSX"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_a_f_r_report_journal_ledger_xlsx
#, fuzzy
msgid "Journal Ledger XLSX Report"
msgstr "Livre des Journaux XLSX"
msgstr "Livre des journaux au format XLSX"
#. module: account_financial_report
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
@ -1110,9 +1078,13 @@ msgid "Journals"
msgstr "Journaux"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_group____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx____last_update
@ -1121,7 +1093,6 @@ msgstr "Journaux"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger____last_update
@ -1265,39 +1236,37 @@ msgstr "Plus ancien"
#: model:ir.ui.menu,name:account_financial_report.menu_open_items_wizard
#, python-format
msgid "Open Items"
msgstr "Postes ouverts"
msgstr "Ecritures non lettrées"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_open_items_base
msgid "Open Items -"
msgstr "Postes ouverts -"
msgstr "Ecritures non lettrées -"
#. module: account_financial_report
#: model:ir.actions.act_window,name:account_financial_report.act_action_open_items_wizard_partner_relation
msgid "Open Items Partner"
msgstr "Postes ouverts du partenaire"
msgstr "Ecritures non lettrées du partenaire"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_account_financial_report_open_items
#, fuzzy
msgid "Open Items Report"
msgstr "Dialogue du rapport des postes ouverts"
msgstr "Etat des Ecritures non lettrées"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_open_items_report_wizard
msgid "Open Items Report Wizard"
msgstr "Dialogue du rapport des postes ouverts"
msgstr "Assistant Etat des Ecritures non lettrées"
#. module: account_financial_report
#: model:ir.actions.report,name:account_financial_report.action_report_open_items_xlsx
msgid "Open Items XLSX"
msgstr "Postes ouverts XLSX"
msgstr "Ecritures non lettrées XLSX"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_a_f_r_report_open_items_xlsx
#, fuzzy
msgid "Open Items XLSX Report"
msgstr "Postes ouverts XLSX"
msgstr "Ecritures non lettrées XLSX"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.journal_ledger_wizard
@ -1443,7 +1412,7 @@ msgstr "Ref - Libellé"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_ir_actions_report
msgid "Report Action"
msgstr ""
msgstr "Reporter une action"
#. module: account_financial_report
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
@ -1453,7 +1422,7 @@ msgstr ""
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_open_items_lines_header
#, python-format
msgid "Residual"
msgstr ""
msgstr "Résiduel"
#. module: account_financial_report
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
@ -1475,9 +1444,8 @@ msgstr "Afficher"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__show_cost_center
#, fuzzy
msgid "Show Analytic Account"
msgstr "Afficher les étiquettes analytiques"
msgstr "Afficher le compte analytique"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__with_auto_sequence
@ -1536,7 +1504,7 @@ msgstr "Date de début"
#: model:ir.model.fields,help:account_financial_report.field_open_items_report_wizard__account_code_from
#: model:ir.model.fields,help:account_financial_report.field_trial_balance_report_wizard__account_code_from
msgid "Starting account in a range"
msgstr ""
msgstr "Compte de début dans une période"
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
@ -1566,7 +1534,7 @@ msgstr "Écritures ciblées"
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
#, python-format
msgid "Target moves filter"
msgstr "Filtre sur les écritures cible"
msgstr "Filtre sur les écritures cibles"
#. module: account_financial_report
#: code:addons/account_financial_report/report/vat_report_xlsx.py:0
@ -1629,8 +1597,7 @@ msgid ""
"The Company in the General Ledger Report Wizard and in Date Range must be "
"the same."
msgstr ""
"La société dans le dialogue du rapport du Grand livre et dans la plage de "
"dates doit être la même."
"La société dans le Grand livre et dans la plage de dates doit être la même."
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:0
@ -1639,8 +1606,8 @@ msgid ""
"The Company in the Trial Balance Report Wizard and in Date Range must be the "
"same."
msgstr ""
"La société dans le rapport de balance générale et dans la plage de dates "
"doivent être les mêmes."
"La société dans la balance générale et dans la plage de dates doivent être "
"les mêmes."
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/vat_report_wizard.py:0
@ -1648,25 +1615,26 @@ msgstr ""
msgid ""
"The Company in the Vat Report Wizard and in Date Range must be the same."
msgstr ""
"La société dans le dialogue du rapport des taxes et dans la plage de dates "
"doit être la même."
"La société dans le rapport des taxes et dans la plage de dates doit être la "
"même."
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:0
#, python-format
msgid "The hierarchy level to filter on must be greater than 0."
msgstr "Le niveau de hiérarchie à filtrer doit être plus rand que 0."
msgstr "Le niveau de hiérarchie à filtrer doit être plus grand que 0."
#. module: account_financial_report
#: model:ir.model.fields,help:account_financial_report.field_general_ledger_report_wizard__domain
msgid "This domain will be used to select specific domain for Journal Items"
msgstr ""
"Ce domaine sera utilisé pour sélectionner un domaine spécifique pour les "
"écritures de journal"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
#, fuzzy
msgid "To"
msgstr "Au:"
msgstr "Au"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_filters
@ -1695,14 +1663,13 @@ msgstr "Balance générale -"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_account_financial_report_trial_balance
#, fuzzy
msgid "Trial Balance Report"
msgstr "Dialogue du rapport de balance générale"
msgstr "Rapport de balance générale"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_trial_balance_report_wizard
msgid "Trial Balance Report Wizard"
msgstr "Dialogue du rapport de balance générale"
msgstr "Assistant de balance générale"
#. module: account_financial_report
#: model:ir.actions.report,name:account_financial_report.action_report_trial_balance_xlsx
@ -1711,18 +1678,15 @@ msgstr "Balance générale XLSX"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_a_f_r_report_trial_balance_xlsx
#, fuzzy
msgid "Trial Balance XLSX Report"
msgstr "Balance générale XLSX"
msgstr "Balance générale au format XLSX"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid ""
"Trial Balance can be computed only if selected company have only one "
"unaffected earnings account."
"Trial Balance can be computed only if selected company have only\n"
" one unaffected earnings account."
msgstr ""
"La balance générale peut être calculée uniquement si la société sélectionnée "
"n'a qu'un seul compte de bénéfices/pertes à reporter."
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__unaffected_earnings_account
@ -1748,45 +1712,43 @@ msgstr ""
#: model:ir.actions.report,name:account_financial_report.action_print_report_vat_report_qweb
#: model:ir.ui.menu,name:account_financial_report.menu_vat_report_wizard
msgid "VAT Report"
msgstr "Rapport TVA"
msgstr "Etat de TVA"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_vat_report_base
msgid "VAT Report -"
msgstr "Rapport TVA -"
msgstr "Etat de TVA -"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.vat_report_wizard
msgid "VAT Report Options"
msgstr "Options du rapport TVA"
msgstr "Options de l'état de TVA"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_vat_report_wizard
msgid "VAT Report Wizard"
msgstr "Dialogue du rapport TVA"
msgstr "Assistant de l'état de TVA"
#. module: account_financial_report
#: model:ir.actions.report,name:account_financial_report.action_report_vat_report_xlsx
msgid "VAT Report XLSX"
msgstr "Rapport TVA XLSX"
msgstr "Etat de TVA XLSX"
#. module: account_financial_report
#: code:addons/account_financial_report/report/vat_report_xlsx.py:0
#, fuzzy, python-format
#, python-format
msgid "Vat Report"
msgstr "Rapport TVA"
msgstr "Etat de TVA"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_account_financial_report_vat_report
#, fuzzy
msgid "Vat Report Report"
msgstr "Options du rapport TVA"
msgstr "Options de l'état de TVA"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_a_f_r_report_vat_report_xlsx
#, fuzzy
msgid "Vat Report XLSX Report"
msgstr "Rapport TVA XLSX"
msgstr "Etat de TVA au format XLSX"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.aged_partner_balance_wizard
@ -1805,7 +1767,7 @@ msgid ""
"that have initial balance = debit = credit = end balance = 0"
msgstr ""
"Lorsque cette options est activée, la balance générale n'affichera pas les "
"comptes qui ont balance initiale = débit = crédit = solde de clôture = 0"
"comptes qui ont: Solde initial = débit = crédit = solde de clôture = 0"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__with_account_name
@ -1825,7 +1787,7 @@ msgstr "Oui"
#: code:addons/account_financial_report/report/general_ledger.py:0
#, python-format
msgid "future"
msgstr ""
msgstr "futur"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.aged_partner_balance_wizard
@ -1837,6 +1799,11 @@ msgstr ""
msgid "or"
msgstr "ou"
#. module: account_financial_report
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
msgid "ournal Ledger"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal
msgid "to"
@ -1850,12 +1817,12 @@ msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_table_header
msgid "width: 23.24%;"
msgstr ""
msgstr "largeur : 23,24%;"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_table_header
msgid "width: 23.78%;"
msgstr ""
msgstr "largeur : 23,78%;"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_table_header
@ -1865,18 +1832,50 @@ msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_table_header
msgid "width: 38.92%;"
msgstr ""
msgstr "Largeur : 38,92%;"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_table_header
msgid "width: 8.11%;"
msgstr ""
msgstr "largeur : 8.11% ;"
#~ msgid "<span class=\"fa fa-download\"/> Export"
#~ msgstr "Exporter"
#~ msgstr "<span class=\"fa fa-download\"/> Exporter"
#~ msgid "<span class=\"fa fa-print\"/> Print"
#~ msgstr "Imprimer"
#~ msgstr "<span class=\"fa fa-print\"/> Imprimer"
#~ msgid ""
#~ "<span class=\"oe_inline\">\n"
#~ " To\n"
#~ " </span>"
#~ msgstr ""
#~ "<span class=\"oe_inline\">\n"
#~ " à\n"
#~ " </span>"
#~ msgid ""
#~ "<span class=\"oe_inline\">\n"
#~ " To\n"
#~ " </span>"
#~ msgstr ""
#~ "<span class=\"oe_inline\">\n"
#~ " à\n"
#~ " </span>"
#~ msgid ""
#~ "General Ledger can be computed only if selected company have only one "
#~ "unaffected earnings account."
#~ msgstr ""
#~ "Le Grand Livre ne peut être calculé que si l'entreprise sélectionnée a un "
#~ "seul compte de résultat non affecté."
#~ msgid ""
#~ "Trial Balance can be computed only if selected company have only one "
#~ "unaffected earnings account."
#~ msgstr ""
#~ "La balance générale peut être calculée uniquement si la société "
#~ "sélectionnée n'a qu'un seul compte de bénéfices/pertes à reporter."
#~ msgid ""
#~ "Cost\n"
@ -1888,6 +1887,9 @@ msgstr ""
#~ msgid "Cost center"
#~ msgstr "Centre de coût"
#~ msgid "Abstract Report"
#~ msgstr "Résumé du rapport"
#~ msgid "Account ID"
#~ msgstr "ID du compte"

72
account_financial_report/i18n/fr_CH.po

@ -52,33 +52,14 @@ msgstr "91 - 120 j."
msgid "<b>Taxes summary</b>"
msgstr "<b> Synthèse des taxes</b>"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.aged_partner_balance_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.open_items_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid "<span class=\"oe_inline\">To</span>"
msgstr ""
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_account_financial_report_abstract_report
msgid "Abstract Report"
msgstr "Résumé du rapport"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_account_financial_report_abstract_wizard
msgid "Abstract Wizard"
@ -414,7 +395,6 @@ msgstr "Code"
#. module: account_financial_report
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__company_id
@ -638,9 +618,13 @@ msgid "Detail Taxes"
msgstr "Détail des taxes"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__display_name
@ -649,7 +633,6 @@ msgstr "Détail des taxes"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__display_name
@ -932,11 +915,9 @@ msgstr "Grand livre XLSX"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"General Ledger can be computed only if selected company have only one "
"unaffected earnings account."
"General Ledger can be computed only if selected company have\n"
" only one unaffected earnings account."
msgstr ""
"La comptabilité générale ne peut être calculée que si l'entreprise "
"sélectionnée a un seul compte de résultat non affecté."
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__group_option
@ -976,9 +957,13 @@ msgid "Hierarchy On"
msgstr "Hiérarchiser sur"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__id
@ -987,7 +972,6 @@ msgstr "Hiérarchiser sur"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__id
@ -1063,7 +1047,6 @@ msgstr ""
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.actions.act_window,name:account_financial_report.action_journal_ledger_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_html
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
#: model:ir.ui.menu,name:account_financial_report.menu_journal_ledger_wizard
#, python-format
msgid "Journal Ledger"
@ -1105,9 +1088,13 @@ msgid "Journals"
msgstr "Journaux"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_group____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx____last_update
@ -1116,7 +1103,6 @@ msgstr "Journaux"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger____last_update
@ -1713,11 +1699,9 @@ msgstr "Balance générale XLSX"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid ""
"Trial Balance can be computed only if selected company have only one "
"unaffected earnings account."
"Trial Balance can be computed only if selected company have only\n"
" one unaffected earnings account."
msgstr ""
"La balance générale peut être calculée uniquement si la société sélectionnée "
"n'a qu'un seul compte de bénéfices/pertes à reporter."
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__unaffected_earnings_account
@ -1832,6 +1816,11 @@ msgstr ""
msgid "or"
msgstr "ou"
#. module: account_financial_report
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
msgid "ournal Ledger"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal
msgid "to"
@ -1873,6 +1862,20 @@ msgstr ""
#~ msgid "<span class=\"fa fa-print\"/> Print"
#~ msgstr "Imprimer"
#~ msgid ""
#~ "General Ledger can be computed only if selected company have only one "
#~ "unaffected earnings account."
#~ msgstr ""
#~ "La comptabilité générale ne peut être calculée que si l'entreprise "
#~ "sélectionnée a un seul compte de résultat non affecté."
#~ msgid ""
#~ "Trial Balance can be computed only if selected company have only one "
#~ "unaffected earnings account."
#~ msgstr ""
#~ "La balance générale peut être calculée uniquement si la société "
#~ "sélectionnée n'a qu'un seul compte de bénéfices/pertes à reporter."
#~ msgid ""
#~ "Cost\n"
#~ " center"
@ -1883,6 +1886,9 @@ msgstr ""
#~ msgid "Cost center"
#~ msgstr "Centre de coût"
#~ msgid "Abstract Report"
#~ msgstr "Résumé du rapport"
#~ msgid "Account ID"
#~ msgstr "ID du compte"

1834
account_financial_report/i18n/fr_FR.po
File diff suppressed because it is too large
View File

51
account_financial_report/i18n/hr.po

@ -53,33 +53,14 @@ msgstr ""
msgid "<b>Taxes summary</b>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.aged_partner_balance_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.open_items_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid "<span class=\"oe_inline\">To</span>"
msgstr ""
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_account_financial_report_abstract_report
msgid "Abstract Report"
msgstr ""
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_account_financial_report_abstract_wizard
msgid "Abstract Wizard"
@ -412,7 +393,6 @@ msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__company_id
@ -627,9 +607,13 @@ msgid "Detail Taxes"
msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__display_name
@ -638,7 +622,6 @@ msgstr ""
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__display_name
@ -902,8 +885,8 @@ msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"General Ledger can be computed only if selected company have only one "
"unaffected earnings account."
"General Ledger can be computed only if selected company have\n"
" only one unaffected earnings account."
msgstr ""
#. module: account_financial_report
@ -944,9 +927,13 @@ msgid "Hierarchy On"
msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__id
@ -955,7 +942,6 @@ msgstr ""
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__id
@ -1024,7 +1010,6 @@ msgstr ""
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.actions.act_window,name:account_financial_report.action_journal_ledger_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_html
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
#: model:ir.ui.menu,name:account_financial_report.menu_journal_ledger_wizard
#, python-format
msgid "Journal Ledger"
@ -1064,9 +1049,13 @@ msgid "Journals"
msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_group____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx____last_update
@ -1075,7 +1064,6 @@ msgstr ""
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger____last_update
@ -1653,8 +1641,8 @@ msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid ""
"Trial Balance can be computed only if selected company have only one "
"unaffected earnings account."
"Trial Balance can be computed only if selected company have only\n"
" one unaffected earnings account."
msgstr ""
#. module: account_financial_report
@ -1763,6 +1751,11 @@ msgstr ""
msgid "or"
msgstr "ili"
#. module: account_financial_report
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
msgid "ournal Ledger"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal
msgid "to"

51
account_financial_report/i18n/hr_HR.po

@ -56,33 +56,14 @@ msgstr ""
msgid "<b>Taxes summary</b>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.aged_partner_balance_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.open_items_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid "<span class=\"oe_inline\">To</span>"
msgstr ""
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_account_financial_report_abstract_report
msgid "Abstract Report"
msgstr ""
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_account_financial_report_abstract_wizard
msgid "Abstract Wizard"
@ -420,7 +401,6 @@ msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__company_id
@ -635,9 +615,13 @@ msgid "Detail Taxes"
msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__display_name
@ -646,7 +630,6 @@ msgstr ""
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__display_name
@ -910,8 +893,8 @@ msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"General Ledger can be computed only if selected company have only one "
"unaffected earnings account."
"General Ledger can be computed only if selected company have\n"
" only one unaffected earnings account."
msgstr ""
#. module: account_financial_report
@ -952,9 +935,13 @@ msgid "Hierarchy On"
msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__id
@ -963,7 +950,6 @@ msgstr ""
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__id
@ -1032,7 +1018,6 @@ msgstr ""
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.actions.act_window,name:account_financial_report.action_journal_ledger_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_html
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
#: model:ir.ui.menu,name:account_financial_report.menu_journal_ledger_wizard
#, python-format
msgid "Journal Ledger"
@ -1072,9 +1057,13 @@ msgid "Journals"
msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_group____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx____last_update
@ -1083,7 +1072,6 @@ msgstr ""
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger____last_update
@ -1664,8 +1652,8 @@ msgstr "Otkaži"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid ""
"Trial Balance can be computed only if selected company have only one "
"unaffected earnings account."
"Trial Balance can be computed only if selected company have only\n"
" one unaffected earnings account."
msgstr ""
#. module: account_financial_report
@ -1777,6 +1765,11 @@ msgstr ""
msgid "or"
msgstr "ili"
#. module: account_financial_report
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
msgid "ournal Ledger"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal
msgid "to"

54
account_financial_report/i18n/it.po

@ -53,33 +53,14 @@ msgstr "91 - 120 g."
msgid "<b>Taxes summary</b>"
msgstr "<b>Riepilogo imposte</b>"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.aged_partner_balance_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.open_items_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid "<span class=\"oe_inline\">To</span>"
msgstr ""
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_account_financial_report_abstract_report
msgid "Abstract Report"
msgstr "Report astratto"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_account_financial_report_abstract_wizard
#, fuzzy
@ -424,7 +405,6 @@ msgstr "Codice"
#. module: account_financial_report
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__company_id
@ -647,9 +627,13 @@ msgid "Detail Taxes"
msgstr "Dettaglio imposte"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__display_name
@ -658,7 +642,6 @@ msgstr "Dettaglio imposte"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__display_name
@ -938,8 +921,8 @@ msgstr "Mastrino XLSX"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"General Ledger can be computed only if selected company have only one "
"unaffected earnings account."
"General Ledger can be computed only if selected company have\n"
" only one unaffected earnings account."
msgstr ""
#. module: account_financial_report
@ -980,9 +963,13 @@ msgid "Hierarchy On"
msgstr "Gerarchia su"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__id
@ -991,7 +978,6 @@ msgstr "Gerarchia su"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__id
@ -1063,7 +1049,6 @@ msgstr ""
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.actions.act_window,name:account_financial_report.action_journal_ledger_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_html
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
#: model:ir.ui.menu,name:account_financial_report.menu_journal_ledger_wizard
#, python-format
msgid "Journal Ledger"
@ -1105,9 +1090,13 @@ msgid "Journals"
msgstr "Sezionali"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_group____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx____last_update
@ -1116,7 +1105,6 @@ msgstr "Sezionali"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger____last_update
@ -1707,8 +1695,8 @@ msgstr "Bilancio di verifica XLSX"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid ""
"Trial Balance can be computed only if selected company have only one "
"unaffected earnings account."
"Trial Balance can be computed only if selected company have only\n"
" one unaffected earnings account."
msgstr ""
#. module: account_financial_report
@ -1819,6 +1807,11 @@ msgstr ""
msgid "or"
msgstr "o"
#. module: account_financial_report
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
msgid "ournal Ledger"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal
msgid "to"
@ -1870,6 +1863,9 @@ msgstr ""
#~ msgid "Cost center"
#~ msgstr "Centro di costo"
#~ msgid "Abstract Report"
#~ msgstr "Report astratto"
#~ msgid "Account ID"
#~ msgstr "ID conto"

51
account_financial_report/i18n/ja.po

@ -53,33 +53,14 @@ msgstr "91 - 120 日"
msgid "<b>Taxes summary</b>"
msgstr "<b>税サマリ</b>"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.aged_partner_balance_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.open_items_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid "<span class=\"oe_inline\">To</span>"
msgstr ""
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_account_financial_report_abstract_report
msgid "Abstract Report"
msgstr ""
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_account_financial_report_abstract_wizard
msgid "Abstract Wizard"
@ -413,7 +394,6 @@ msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__company_id
@ -628,9 +608,13 @@ msgid "Detail Taxes"
msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__display_name
@ -639,7 +623,6 @@ msgstr ""
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__display_name
@ -903,8 +886,8 @@ msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"General Ledger can be computed only if selected company have only one "
"unaffected earnings account."
"General Ledger can be computed only if selected company have\n"
" only one unaffected earnings account."
msgstr ""
#. module: account_financial_report
@ -945,9 +928,13 @@ msgid "Hierarchy On"
msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__id
@ -956,7 +943,6 @@ msgstr ""
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__id
@ -1025,7 +1011,6 @@ msgstr ""
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.actions.act_window,name:account_financial_report.action_journal_ledger_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_html
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
#: model:ir.ui.menu,name:account_financial_report.menu_journal_ledger_wizard
#, python-format
msgid "Journal Ledger"
@ -1065,9 +1050,13 @@ msgid "Journals"
msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_group____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx____last_update
@ -1076,7 +1065,6 @@ msgstr ""
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger____last_update
@ -1654,8 +1642,8 @@ msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid ""
"Trial Balance can be computed only if selected company have only one "
"unaffected earnings account."
"Trial Balance can be computed only if selected company have only\n"
" one unaffected earnings account."
msgstr ""
#. module: account_financial_report
@ -1765,6 +1753,11 @@ msgstr ""
msgid "or"
msgstr ""
#. module: account_financial_report
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
msgid "ournal Ledger"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal
msgid "to"

89
account_financial_report/i18n/nl.po

@ -55,33 +55,13 @@ msgstr "91 - 120 d."
msgid "<b>Taxes summary</b>"
msgstr "<b>Belasting samenvatting</b>"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.aged_partner_balance_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.open_items_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid "<span class=\"oe_inline\">To</span>"
msgstr ""
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_account_financial_report_abstract_report
#, fuzzy
msgid "Abstract Report"
msgstr "BTW rapport"
msgstr "<span class=\"oe_inline\">tot</span>"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_account_financial_report_abstract_wizard
@ -427,7 +407,6 @@ msgstr "Code"
#. module: account_financial_report
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__company_id
@ -643,9 +622,13 @@ msgid "Detail Taxes"
msgstr "Detail belastingen"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__display_name
@ -654,7 +637,6 @@ msgstr "Detail belastingen"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__display_name
@ -683,7 +665,7 @@ msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__hide_parent_hierarchy_level
msgid "Do not display parent levels"
msgstr ""
msgstr "Geef bovenliggende niveaus niet weer"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_aged_partner_balance_move_lines
@ -821,9 +803,8 @@ msgstr "Filter rekeningen"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
#, fuzzy
msgid "Filter analytic accounts"
msgstr "Filter rekeningen"
msgstr "Filter kostenplaatsen"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__analytic_tag_ids
@ -939,11 +920,9 @@ msgstr "Grootboek XLSX"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"General Ledger can be computed only if selected company have only one "
"unaffected earnings account."
"General Ledger can be computed only if selected company have\n"
" only one unaffected earnings account."
msgstr ""
"Grootboek kan alleen worden opgemaakt als het geselecteerde bedrijf slechts "
"één huidige jaarwinst grootboekrekening heeft."
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__group_option
@ -976,7 +955,7 @@ msgstr "Verberg rekeningen met balans 0"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__show_hierarchy_level
msgid "Hierarchy Levels to display"
msgstr ""
msgstr "Hierarchie niveaus om weer te geven"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__hierarchy_on
@ -984,9 +963,13 @@ msgid "Hierarchy On"
msgstr "Hiërarchie aan"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__id
@ -995,7 +978,6 @@ msgstr "Hiërarchie aan"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__id
@ -1072,7 +1054,6 @@ msgstr ""
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.actions.act_window,name:account_financial_report.action_journal_ledger_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_html
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
#: model:ir.ui.menu,name:account_financial_report.menu_journal_ledger_wizard
#, python-format
msgid "Journal Ledger"
@ -1115,9 +1096,13 @@ msgid "Journals"
msgstr "Dagboeken"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_group____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx____last_update
@ -1126,7 +1111,6 @@ msgstr "Dagboeken"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger____last_update
@ -1276,7 +1260,7 @@ msgstr "Openstaande posten"
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_open_items_base
#, fuzzy
msgid "Open Items -"
msgstr "Openstaande posten -"
msgstr "Openstaande posten"
#. module: account_financial_report
#: model:ir.actions.act_window,name:account_financial_report.act_action_open_items_wizard_partner_relation
@ -1666,7 +1650,7 @@ msgstr ""
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_trial_balance_filters
#, fuzzy
msgid "To"
msgstr "Naar"
msgstr "Naar:"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_general_ledger_filters
@ -1719,11 +1703,9 @@ msgstr "Proefbalans XLSX"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid ""
"Trial Balance can be computed only if selected company have only one "
"unaffected earnings account."
"Trial Balance can be computed only if selected company have only\n"
" one unaffected earnings account."
msgstr ""
"Proefbalans kan alleen worden berekend als het geselecteerde bedrijf slechts "
"één huidige jaarwinst rekening heeft."
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__unaffected_earnings_account
@ -1838,6 +1820,11 @@ msgstr "toekomstig"
msgid "or"
msgstr "of"
#. module: account_financial_report
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
msgid "ournal Ledger"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal
msgid "to"
@ -1850,7 +1837,6 @@ msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal_table_header
#, fuzzy
msgid "width: 23.24%;"
msgstr "breedte: 23.24%;"
@ -1883,6 +1869,20 @@ msgstr "breedte: 8.11%;"
#~ msgid "<span class=\"fa fa-print\"/> Print"
#~ msgstr "Printen"
#~ msgid ""
#~ "General Ledger can be computed only if selected company have only one "
#~ "unaffected earnings account."
#~ msgstr ""
#~ "Grootboek kan alleen worden opgemaakt als het geselecteerde bedrijf "
#~ "slechts één huidige jaarwinst grootboekrekening heeft."
#~ msgid ""
#~ "Trial Balance can be computed only if selected company have only one "
#~ "unaffected earnings account."
#~ msgstr ""
#~ "Proefbalans kan alleen worden berekend als het geselecteerde bedrijf "
#~ "slechts één huidige jaarwinst rekening heeft."
#~ msgid ""
#~ "Cost\n"
#~ " center"
@ -1893,6 +1893,11 @@ msgstr "breedte: 8.11%;"
#~ msgid "Cost center"
#~ msgstr "Kostenplaats"
#, fuzzy
#~| msgid "VAT Report"
#~ msgid "Abstract Report"
#~ msgstr "BTW rapport"
#, fuzzy
#~| msgid "Account"
#~ msgid "Account ID"

51
account_financial_report/i18n/nl_NL.po

@ -55,33 +55,14 @@ msgstr ""
msgid "<b>Taxes summary</b>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.aged_partner_balance_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.open_items_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid "<span class=\"oe_inline\">To</span>"
msgstr ""
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_account_financial_report_abstract_report
msgid "Abstract Report"
msgstr ""
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_account_financial_report_abstract_wizard
msgid "Abstract Wizard"
@ -419,7 +400,6 @@ msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__company_id
@ -634,9 +614,13 @@ msgid "Detail Taxes"
msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__display_name
@ -645,7 +629,6 @@ msgstr ""
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__display_name
@ -909,8 +892,8 @@ msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"General Ledger can be computed only if selected company have only one "
"unaffected earnings account."
"General Ledger can be computed only if selected company have\n"
" only one unaffected earnings account."
msgstr ""
#. module: account_financial_report
@ -951,9 +934,13 @@ msgid "Hierarchy On"
msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__id
@ -962,7 +949,6 @@ msgstr ""
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__id
@ -1031,7 +1017,6 @@ msgstr ""
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.actions.act_window,name:account_financial_report.action_journal_ledger_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_html
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
#: model:ir.ui.menu,name:account_financial_report.menu_journal_ledger_wizard
#, python-format
msgid "Journal Ledger"
@ -1071,9 +1056,13 @@ msgid "Journals"
msgstr ""
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_group____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx____last_update
@ -1082,7 +1071,6 @@ msgstr ""
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger____last_update
@ -1663,8 +1651,8 @@ msgstr "Annuleer"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid ""
"Trial Balance can be computed only if selected company have only one "
"unaffected earnings account."
"Trial Balance can be computed only if selected company have only\n"
" one unaffected earnings account."
msgstr ""
#. module: account_financial_report
@ -1773,6 +1761,11 @@ msgstr ""
msgid "or"
msgstr ""
#. module: account_financial_report
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
msgid "ournal Ledger"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal
msgid "to"

549
account_financial_report/i18n/pt.po
File diff suppressed because it is too large
View File

72
account_financial_report/i18n/pt_BR.po

@ -52,33 +52,14 @@ msgstr "91 - 120 d."
msgid "<b>Taxes summary</b>"
msgstr "<b>Resumo de Impostos</b>"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.aged_partner_balance_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.open_items_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid "<span class=\"oe_inline\">To</span>"
msgstr ""
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_account_financial_report_abstract_report
msgid "Abstract Report"
msgstr "Relatório Resumido"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_account_financial_report_abstract_wizard
msgid "Abstract Wizard"
@ -422,7 +403,6 @@ msgstr "Código"
#. module: account_financial_report
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__company_id
@ -645,9 +625,13 @@ msgid "Detail Taxes"
msgstr "Detalhes dos Impostos"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__display_name
@ -656,7 +640,6 @@ msgstr "Detalhes dos Impostos"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__display_name
@ -939,11 +922,9 @@ msgstr "Razão Geral XLSX"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"General Ledger can be computed only if selected company have only one "
"unaffected earnings account."
"General Ledger can be computed only if selected company have\n"
" only one unaffected earnings account."
msgstr ""
"O Razão Geral somente pode ser calculado se a empresa selecionada tiver "
"apenas uma conta de receitas não afetada."
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__group_option
@ -983,9 +964,13 @@ msgid "Hierarchy On"
msgstr "Hierarquia Habilitada"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__id
@ -994,7 +979,6 @@ msgstr "Hierarquia Habilitada"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__id
@ -1070,7 +1054,6 @@ msgstr ""
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.actions.act_window,name:account_financial_report.action_journal_ledger_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_html
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
#: model:ir.ui.menu,name:account_financial_report.menu_journal_ledger_wizard
#, python-format
msgid "Journal Ledger"
@ -1112,9 +1095,13 @@ msgid "Journals"
msgstr "Diários"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_group____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx____last_update
@ -1123,7 +1110,6 @@ msgstr "Diários"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger____last_update
@ -1720,11 +1706,9 @@ msgstr "Balancete XLSX"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid ""
"Trial Balance can be computed only if selected company have only one "
"unaffected earnings account."
"Trial Balance can be computed only if selected company have only\n"
" one unaffected earnings account."
msgstr ""
"O Balancete poderá ser calculado somente se a empresa selecionada tiver "
"apenas uma conta de receitas não afetada."
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__unaffected_earnings_account
@ -1839,6 +1823,11 @@ msgstr ""
msgid "or"
msgstr "ou"
#. module: account_financial_report
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
msgid "ournal Ledger"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal
msgid "to"
@ -1880,6 +1869,20 @@ msgstr "largura: 8.11%;"
#~ msgid "<span class=\"fa fa-print\"/> Print"
#~ msgstr "<span class=\"fa fa-print\"/> Imprimir"
#~ msgid ""
#~ "General Ledger can be computed only if selected company have only one "
#~ "unaffected earnings account."
#~ msgstr ""
#~ "O Razão Geral somente pode ser calculado se a empresa selecionada tiver "
#~ "apenas uma conta de receitas não afetada."
#~ msgid ""
#~ "Trial Balance can be computed only if selected company have only one "
#~ "unaffected earnings account."
#~ msgstr ""
#~ "O Balancete poderá ser calculado somente se a empresa selecionada tiver "
#~ "apenas uma conta de receitas não afetada."
#~ msgid ""
#~ "Cost\n"
#~ " center"
@ -1890,6 +1893,9 @@ msgstr "largura: 8.11%;"
#~ msgid "Cost center"
#~ msgstr "Centro de Custos"
#~ msgid "Abstract Report"
#~ msgstr "Relatório Resumido"
#~ msgid "Account ID"
#~ msgstr "ID da Conta"

81
account_financial_report/i18n/ro.po

@ -56,40 +56,14 @@ msgstr "91 - 120 d."
msgid "<b>Taxes summary</b>"
msgstr "<b>Rezumat taxe</b>"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
"<span class=\"oe_inline\">\n"
" La\n"
" </span>"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.aged_partner_balance_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
#: model_terms:ir.ui.view,arch_db:account_financial_report.open_items_wizard
msgid ""
"<span class=\"oe_inline\">\n"
" To\n"
" </span>"
msgstr ""
"<span class=\"oe_inline\">\n"
" La\n"
" </span>"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid "<span class=\"oe_inline\">To</span>"
msgstr "<span class=\"oe_inline\">Către</span>"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_report_account_financial_report_abstract_report
#, fuzzy
msgid "Abstract Report"
msgstr "Raport TVA"
#. module: account_financial_report
#: model:ir.model,name:account_financial_report.model_account_financial_report_abstract_wizard
msgid "Abstract Wizard"
@ -429,7 +403,6 @@ msgstr "Cod"
#. module: account_financial_report
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__company_id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__company_id
@ -644,9 +617,13 @@ msgid "Detail Taxes"
msgstr "Detalii impozite"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__display_name
@ -655,7 +632,6 @@ msgstr "Detalii impozite"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__display_name
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__display_name
@ -927,8 +903,8 @@ msgstr "Carte mare XLSX"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.general_ledger_wizard
msgid ""
"General Ledger can be computed only if selected company have only one "
"unaffected earnings account."
"General Ledger can be computed only if selected company have\n"
" only one unaffected earnings account."
msgstr ""
#. module: account_financial_report
@ -969,9 +945,13 @@ msgid "Hierarchy On"
msgstr "Activare ierarhie"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_group__id
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line__id
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx__id
@ -980,7 +960,6 @@ msgstr "Activare ierarhie"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance__id
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger__id
@ -1052,7 +1031,6 @@ msgstr "Domeniul articolelor din jurnal"
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:0
#: model:ir.actions.act_window,name:account_financial_report.action_journal_ledger_wizard
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_html
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
#: model:ir.ui.menu,name:account_financial_report.menu_journal_ledger_wizard
#, fuzzy, python-format
msgid "Journal Ledger"
@ -1095,9 +1073,13 @@ msgid "Journals"
msgstr "Jurnale"
#. module: account_financial_report
#: model:ir.model.fields,field_description:account_financial_report.field_account_account____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_financial_report_abstract_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_group____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_account_move_line____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_aged_partner_balance_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_ir_actions_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_journal_ledger_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_aged_partner_balance_xlsx____last_update
@ -1106,7 +1088,6 @@ msgstr "Jurnale"
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_open_items_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_trial_balance_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_a_f_r_report_vat_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_abstract_report_xlsx____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_aged_partner_balance____last_update
#: model:ir.model.fields,field_description:account_financial_report.field_report_account_financial_report_general_ledger____last_update
@ -1687,8 +1668,8 @@ msgstr "Balanță verificare"
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.trial_balance_wizard
msgid ""
"Trial Balance can be computed only if selected company have only one "
"unaffected earnings account."
"Trial Balance can be computed only if selected company have only\n"
" one unaffected earnings account."
msgstr ""
#. module: account_financial_report
@ -1805,6 +1786,11 @@ msgstr "viitor"
msgid "or"
msgstr "sau"
#. module: account_financial_report
#: model:ir.actions.report,name:account_financial_report.action_print_journal_ledger_wizard_qweb
msgid "ournal Ledger"
msgstr ""
#. module: account_financial_report
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_journal_ledger_journal
msgid "to"
@ -1846,9 +1832,32 @@ msgstr "lățime: 8,11%;"
#~ msgid "<span class=\"fa fa-print\"/> Print"
#~ msgstr "<span class=\"fa fa-print\"/>Tipărește"
#~ msgid ""
#~ "<span class=\"oe_inline\">\n"
#~ " To\n"
#~ " </span>"
#~ msgstr ""
#~ "<span class=\"oe_inline\">\n"
#~ " La\n"
#~ " </span>"
#~ msgid ""
#~ "<span class=\"oe_inline\">\n"
#~ " To\n"
#~ " </span>"
#~ msgstr ""
#~ "<span class=\"oe_inline\">\n"
#~ " La\n"
#~ " </span>"
#~ msgid "Cost center"
#~ msgstr "Centrul de cost"
#, fuzzy
#~| msgid "VAT Report"
#~ msgid "Abstract Report"
#~ msgstr "Raport TVA"
#, fuzzy
#~| msgid "Account"
#~ msgid "Account ID"

2
account_financial_report/models/__init__.py

@ -1,4 +1,4 @@
from . import account
from . import account_group
from . import account
from . import account_move_line
from . import ir_actions_report

12
account_financial_report/models/account_group.py

@ -10,7 +10,7 @@ class AccountGroup(models.Model):
group_child_ids = fields.One2many(
comodel_name="account.group", inverse_name="parent_id", string="Child Groups"
)
level = fields.Integer(string="Level", compute="_compute_level", store=True)
level = fields.Integer(string="Level", compute="_compute_level")
account_ids = fields.One2many(
comodel_name="account.account", inverse_name="group_id", string="Accounts"
)
@ -31,15 +31,15 @@ class AccountGroup(models.Model):
else:
self.complete_name = self.name
@api.depends("code_prefix", "parent_id.complete_code")
@api.depends("code_prefix_start", "parent_id.complete_code")
def _compute_complete_code(self):
""" Forms complete code of location from parent location to child location. """
if self.parent_id.complete_code:
self.complete_code = "{}/{}".format(
self.parent_id.complete_code, self.code_prefix
self.parent_id.complete_code, self.code_prefix_start
)
else:
self.complete_code = self.code_prefix
self.complete_code = self.code_prefix_start
@api.depends("parent_id", "parent_id.level")
def _compute_level(self):
@ -50,7 +50,7 @@ class AccountGroup(models.Model):
group.level = group.parent_id.level + 1
@api.depends(
"code_prefix",
"code_prefix_start",
"account_ids",
"account_ids.code",
"group_child_ids",
@ -60,6 +60,6 @@ class AccountGroup(models.Model):
account_obj = self.env["account.account"]
accounts = account_obj.search([])
for group in self:
prefix = group.code_prefix if group.code_prefix else group.name
prefix = group.code_prefix_start if group.code_prefix_start else group.name
gr_acc = accounts.filtered(lambda a: a.code.startswith(prefix)).ids
group.compute_account_ids = [(6, 0, gr_acc)]

2
account_financial_report/readme/CONTRIBUTORS.rst

@ -21,9 +21,9 @@
* Pedro M. Baeza
* Sergio Teruel
* Ernesto Tejeda
* João Marques
* Alexandre D. Díaz
* Lois Rilo <lois.rilo@forgeflow.com>
* `Sygel <https://www.sygel.es>`__:
* Harald Panten

1
account_financial_report/report/__init__.py

@ -3,7 +3,6 @@
# © 2016 Julien Coux (Camptocamp)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).-
from . import abstract_report
from . import abstract_report_xlsx
from . import aged_partner_balance
from . import aged_partner_balance_xlsx

126
account_financial_report/report/abstract_report.py

@ -1,126 +0,0 @@
# Copyright 2020 ForgeFlow S.L. (https://www.forgeflow.com)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import api, models
class AgedPartnerBalanceReport(models.AbstractModel):
_name = "report.account_financial_report.abstract_report"
_description = "Abstract Report"
@api.model
def _get_move_lines_domain_not_reconciled(
self, company_id, account_ids, partner_ids, only_posted_moves, date_from
):
domain = [
("account_id", "in", account_ids),
("company_id", "=", company_id),
("reconciled", "=", False),
]
if partner_ids:
domain += [("partner_id", "in", partner_ids)]
if only_posted_moves:
domain += [("move_id.state", "=", "posted")]
else:
domain += [("move_id.state", "in", ["posted", "draft"])]
if date_from:
domain += [("date", ">", date_from)]
return domain
@api.model
def _get_new_move_lines_domain(
self, new_ml_ids, account_ids, company_id, partner_ids, only_posted_moves
):
domain = [
("account_id", "in", account_ids),
("company_id", "=", company_id),
("id", "in", new_ml_ids),
]
if partner_ids:
domain += [("partner_id", "in", partner_ids)]
if only_posted_moves:
domain += [("move_id.state", "=", "posted")]
else:
domain += [("move_id.state", "in", ["posted", "draft"])]
return domain
def _recalculate_move_lines(
self,
move_lines,
debit_ids,
credit_ids,
debit_amount,
credit_amount,
ml_ids,
account_ids,
company_id,
partner_ids,
only_posted_moves,
):
debit_ids = set(debit_ids)
credit_ids = set(credit_ids)
in_credit_but_not_in_debit = credit_ids - debit_ids
reconciled_ids = list(debit_ids) + list(in_credit_but_not_in_debit)
reconciled_ids = set(reconciled_ids)
ml_ids = set(ml_ids)
new_ml_ids = reconciled_ids - ml_ids
new_ml_ids = list(new_ml_ids)
new_domain = self._get_new_move_lines_domain(
new_ml_ids, account_ids, company_id, partner_ids, only_posted_moves
)
ml_fields = [
"id",
"name",
"date",
"move_id",
"journal_id",
"account_id",
"partner_id",
"amount_residual",
"date_maturity",
"ref",
"debit",
"credit",
"reconciled",
"currency_id",
"amount_currency",
"amount_residual_currency",
]
new_move_lines = self.env["account.move.line"].search_read(
domain=new_domain, fields=ml_fields
)
move_lines = move_lines + new_move_lines
for move_line in move_lines:
ml_id = move_line["id"]
if ml_id in debit_ids:
move_line["amount_residual"] += debit_amount[ml_id]
if ml_id in credit_ids:
move_line["amount_residual"] -= credit_amount[ml_id]
return move_lines
def _get_accounts_data(self, accounts_ids):
accounts = self.env["account.account"].browse(accounts_ids)
accounts_data = {}
for account in accounts:
accounts_data.update(
{
account.id: {
"id": account.id,
"code": account.code,
"name": account.name,
"hide_account": False,
"group_id": account.group_id.id,
"currency_id": account.currency_id or False,
"currency_name": account.currency_id.name,
"centralized": account.centralized,
}
}
)
return accounts_data
def _get_journals_data(self, journals_ids):
journals = self.env["account.journal"].browse(journals_ids)
journals_data = {}
for journal in journals:
journals_data.update({journal.id: {"id": journal.id, "code": journal.code}})
return journals_data

607
account_financial_report/report/abstract_report_xlsx.py

@ -1,5 +1,6 @@
# Author: Julien Coux
# Copyright 2016 Camptocamp SA
# Copyright 2021 Tecnativa - João Marques
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import models
@ -9,57 +10,38 @@ class AbstractReportXslx(models.AbstractModel):
_description = "Abstract XLSX Account Financial Report"
_inherit = "report.report_xlsx.abstract"
def __init__(self, pool, cr):
# main sheet which will contains report
self.sheet = None
# columns of the report
self.columns = None
# row_pos must be incremented at each writing lines
self.row_pos = None
# Formats
self.format_right = None
self.format_left = None
self.format_right_bold_italic = None
self.format_bold = None
self.format_header_left = None
self.format_header_center = None
self.format_header_right = None
self.format_header_amount = None
self.format_amount = None
self.format_percent_bold_italic = None
def get_workbook_options(self):
return {"constant_memory": True}
vals = super().get_workbook_options()
vals.update({"constant_memory": True})
return vals
def generate_xlsx_report(self, workbook, data, objects):
report = objects
self.row_pos = 0
self._define_formats(workbook, data)
report_name = self._get_report_name(report, data=data)
# Initialize report variables
report_data = {
"workbook": None,
"sheet": None, # main sheet which will contains report
"columns": None, # columns of the report
"row_pos": None, # row_pos must be incremented at each writing lines
"formats": None,
}
self._define_formats(workbook, report_data)
# Get report data
report_name = self._get_report_name(objects, data=data)
report_footer = self._get_report_footer()
filters = self._get_report_filters(report)
self.columns = self._get_report_columns(report)
self.workbook = workbook
self.sheet = workbook.add_worksheet(report_name[:31])
self._set_column_width()
self._write_report_title(report_name)
self._write_filters(filters)
self._generate_report_content(workbook, report, data)
self._write_report_footer(report_footer)
def _define_formats(self, workbook, data):
""" Add cell formats to current workbook.
filters = self._get_report_filters(objects)
report_data["columns"] = self._get_report_columns(objects)
report_data["workbook"] = workbook
report_data["sheet"] = workbook.add_worksheet(report_name[:31])
self._set_column_width(report_data)
# Fill report
report_data["row_pos"] = 0
self._write_report_title(report_name, report_data)
self._write_filters(filters, report_data)
self._generate_report_content(workbook, objects, data, report_data)
self._write_report_footer(report_footer, report_data)
def _define_formats(self, workbook, report_data):
"""Add cell formats to current workbook.
Those formats can be used on all cell.
Available formats are :
* format_bold
@ -72,80 +54,75 @@ class AbstractReportXslx(models.AbstractModel):
* format_amount
* format_percent_bold_italic
"""
self.format_bold = workbook.add_format({"bold": True})
self.format_right = workbook.add_format({"align": "right"})
self.format_left = workbook.add_format({"align": "left"})
self.format_right_bold_italic = workbook.add_format(
{"align": "right", "bold": True, "italic": True}
)
self.format_header_left = workbook.add_format(
{"bold": True, "border": True, "bg_color": "#FFFFCC"}
)
self.format_header_center = workbook.add_format(
{"bold": True, "align": "center", "border": True, "bg_color": "#FFFFCC"}
)
self.format_header_right = workbook.add_format(
{"bold": True, "align": "right", "border": True, "bg_color": "#FFFFCC"}
)
self.format_header_amount = workbook.add_format(
{"bold": True, "border": True, "bg_color": "#FFFFCC"}
)
company_id = data.get("company_id", False)
if company_id:
company = self.env["res.company"].browse(company_id)
currency = company.currency_id
else:
currency = self.env["res.company"]._get_user_currency()
self.format_header_amount.set_num_format(
"#,##0." + "0" * currency.decimal_places
)
self.format_amount = workbook.add_format()
self.format_amount.set_num_format("#,##0." + "0" * currency.decimal_places)
self.format_amount_bold = workbook.add_format({"bold": True})
self.format_amount_bold.set_num_format("#,##0." + "0" * currency.decimal_places)
self.format_percent_bold_italic = workbook.add_format(
{"bold": True, "italic": True}
)
self.format_percent_bold_italic.set_num_format("#,##0.00%")
def _set_column_width(self):
currency_id = self.env["res.company"]._default_currency_id()
report_data["formats"] = {
"format_bold": workbook.add_format({"bold": True}),
"format_right": workbook.add_format({"align": "right"}),
"format_left": workbook.add_format({"align": "left"}),
"format_right_bold_italic": workbook.add_format(
{"align": "right", "bold": True, "italic": True}
),
"format_header_left": workbook.add_format(
{"bold": True, "border": True, "bg_color": "#FFFFCC"}
),
"format_header_center": workbook.add_format(
{"bold": True, "align": "center", "border": True, "bg_color": "#FFFFCC"}
),
"format_header_right": workbook.add_format(
{"bold": True, "align": "right", "border": True, "bg_color": "#FFFFCC"}
),
"format_header_amount": workbook.add_format(
{"bold": True, "border": True, "bg_color": "#FFFFCC"}
).set_num_format("#,##0." + "0" * currency_id.decimal_places),
"format_amount": workbook.add_format().set_num_format(
"#,##0." + "0" * currency_id.decimal_places
),
"format_amount_bold": workbook.add_format({"bold": True}).set_num_format(
"#,##0." + "0" * currency_id.decimal_places
),
"format_percent_bold_italic": workbook.add_format(
{"bold": True, "italic": True}
).set_num_format("#,##0.00%"),
}
def _set_column_width(self, report_data):
"""Set width for all defined columns.
Columns are defined with `_get_report_columns` method.
"""
for position, column in self.columns.items():
self.sheet.set_column(position, position, column["width"])
for position, column in report_data["columns"].items():
report_data["sheet"].set_column(position, position, column["width"])
def _write_report_title(self, title):
def _write_report_title(self, title, report_data):
"""Write report title on current line using all defined columns width.
Columns are defined with `_get_report_columns` method.
"""
self.sheet.merge_range(
self.row_pos,
report_data["sheet"].merge_range(
report_data["row_pos"],
0,
self.row_pos,
len(self.columns) - 1,
report_data["row_pos"],
len(report_data["columns"]) - 1,
title,
self.format_bold,
report_data["formats"]["format_bold"],
)
self.row_pos += 3
report_data["row_pos"] += 3
def _write_report_footer(self, footer):
def _write_report_footer(self, footer, report_data):
"""Write report footer .
Columns are defined with `_get_report_columns` method.
"""
if footer:
self.row_pos += 1
self.sheet.merge_range(
self.row_pos,
report_data["row_pos"] += 1
report_data["sheet"].merge_range(
report_data["row_pos"],
0,
self.row_pos,
len(self.columns) - 1,
report_data["row_pos"],
len(report_data["columns"]) - 1,
footer,
self.format_left,
report_data["formats"]["format_left"],
)
self.row_pos += 1
report_data["row_pos"] += 1
def _write_filters(self, filters):
def _write_filters(self, filters, report_data):
"""Write one line per filters on starting on current line.
Columns number for filter name is defined
with `_get_col_count_filter_name` method.
@ -157,92 +134,102 @@ class AbstractReportXslx(models.AbstractModel):
col_count_filter_value = self._get_col_count_filter_value()
col_value = col_name + col_count_filter_name + 1
for title, value in filters:
self.sheet.merge_range(
self.row_pos,
report_data["sheet"].merge_range(
report_data["row_pos"],
col_name,
self.row_pos,
report_data["row_pos"],
col_name + col_count_filter_name - 1,
title,
self.format_header_left,
report_data["formats"]["format_header_left"],
)
self.sheet.merge_range(
self.row_pos,
report_data["sheet"].merge_range(
report_data["row_pos"],
col_value,
self.row_pos,
report_data["row_pos"],
col_value + col_count_filter_value - 1,
value,
)
self.row_pos += 1
self.row_pos += 2
report_data["row_pos"] += 1
report_data["row_pos"] += 2
def write_array_title(self, title):
def write_array_title(self, title, report_data):
"""Write array title on current line using all defined columns width.
Columns are defined with `_get_report_columns` method.
"""
self.sheet.merge_range(
self.row_pos,
report_data["sheet"].merge_range(
report_data["row_pos"],
0,
self.row_pos,
len(self.columns) - 1,
report_data["row_pos"],
len(report_data["columns"]) - 1,
title,
self.format_bold,
report_data["formats"]["format_bold"],
)
self.row_pos += 1
report_data["row_pos"] += 1
def write_array_header(self):
def write_array_header(self, report_data):
"""Write array header on current line using all defined columns name.
Columns are defined with `_get_report_columns` method.
"""
for col_pos, column in self.columns.items():
self.sheet.write(
self.row_pos, col_pos, column["header"], self.format_header_center
for col_pos, column in report_data["columns"].items():
report_data["sheet"].write(
report_data["row_pos"],
col_pos,
column["header"],
report_data["formats"]["format_header_center"],
)
self.row_pos += 1
report_data["row_pos"] += 1
def write_line(self, line_object):
def write_line(self, line_object, report_data):
"""Write a line on current line using all defined columns field name.
Columns are defined with `_get_report_columns` method.
"""
for col_pos, column in self.columns.items():
for col_pos, column in report_data["columns"].items():
value = getattr(line_object, column["field"])
cell_type = column.get("type", "string")
if cell_type == "many2one":
self.sheet.write_string(
self.row_pos, col_pos, value.name or "", self.format_right
report_data["sheet"].write_string(
report_data["row_pos"],
col_pos,
value.name or "",
report_data["formats"]["format_right"],
)
elif cell_type == "string":
if (
hasattr(line_object, "account_group_id")
and line_object.account_group_id
):
self.sheet.write_string(
self.row_pos, col_pos, value or "", self.format_bold
report_data["sheet"].write_string(
report_data["row_pos"],
col_pos,
value or "",
report_data["formats"]["format_bold"],
)
else:
self.sheet.write_string(self.row_pos, col_pos, value or "")
report_data["sheet"].write_string(
report_data["row_pos"], col_pos, value or ""
)
elif cell_type == "amount":
if (
hasattr(line_object, "account_group_id")
and line_object.account_group_id
):
cell_format = self.format_amount_bold
cell_format = report_data["formats"]["format_amount_bold"]
else:
cell_format = self.format_amount
self.sheet.write_number(
self.row_pos, col_pos, float(value), cell_format
cell_format = report_data["formats"]["format_amount"]
report_data["sheet"].write_number(
report_data["row_pos"], col_pos, float(value), cell_format
)
elif cell_type == "amount_currency":
if line_object.currency_id:
format_amt = self._get_currency_amt_format(line_object)
self.sheet.write_number(
self.row_pos, col_pos, float(value), format_amt
format_amt = self._get_currency_amt_format(line_object, report_data)
report_data["sheet"].write_number(
report_data["row_pos"], col_pos, float(value), format_amt
)
self.row_pos += 1
report_data["row_pos"] += 1
def write_line_from_dict(self, line_dict):
"""Write a line on current line
"""
for col_pos, column in self.columns.items():
def write_line_from_dict(self, line_dict, report_data):
"""Write a line on current line"""
for col_pos, column in report_data["columns"].items():
value = line_dict.get(column["field"], False)
cell_type = column.get("type", "string")
if cell_type == "string":
@ -250,8 +237,11 @@ class AbstractReportXslx(models.AbstractModel):
line_dict.get("account_group_id", False)
and line_dict["account_group_id"]
):
self.sheet.write_string(
self.row_pos, col_pos, value or "", self.format_bold
report_data["sheet"].write_string(
report_data["row_pos"],
col_pos,
value or "",
report_data["formats"]["format_bold"],
)
else:
if (
@ -260,223 +250,302 @@ class AbstractReportXslx(models.AbstractModel):
and not isinstance(value, int)
):
value = value and value.strftime("%d/%m/%Y")
self.sheet.write_string(self.row_pos, col_pos, value or "")
report_data["sheet"].write_string(
report_data["row_pos"], col_pos, value or ""
)
elif cell_type == "amount":
if (
line_dict.get("account_group_id", False)
and line_dict["account_group_id"]
):
cell_format = self.format_amount_bold
cell_format = report_data["formats"]["format_amount_bold"]
else:
cell_format = self.format_amount
self.sheet.write_number(
self.row_pos, col_pos, float(value), cell_format
cell_format = report_data["formats"]["format_amount"]
report_data["sheet"].write_number(
report_data["row_pos"], col_pos, float(value), cell_format
)
elif cell_type == "amount_currency":
if line_dict.get("currency_name", False):
format_amt = self._get_currency_amt_format_dict(line_dict)
self.sheet.write_number(
self.row_pos, col_pos, float(value), format_amt
format_amt = self._get_currency_amt_format_dict(
line_dict, report_data
)
report_data["sheet"].write_number(
report_data["row_pos"], col_pos, float(value), format_amt
)
elif cell_type == "currency_name":
self.sheet.write_string(
self.row_pos, col_pos, value or "", self.format_right
report_data["sheet"].write_string(
report_data["row_pos"],
col_pos,
value or "",
report_data["formats"]["format_right"],
)
self.row_pos += 1
report_data["row_pos"] += 1
def write_initial_balance(self, my_object, label):
def write_initial_balance(self, my_object, label, report_data):
"""Write a specific initial balance line on current line
using defined columns field_initial_balance name.
Columns are defined with `_get_report_columns` method.
"""
col_pos_label = self._get_col_pos_initial_balance_label()
self.sheet.write(self.row_pos, col_pos_label, label, self.format_right)
for col_pos, column in self.columns.items():
report_data["sheet"].write(
report_data["row_pos"],
col_pos_label,
label,
report_data["formats"]["format_right"],
)
for col_pos, column in report_data["columns"].items():
if column.get("field_initial_balance"):
value = getattr(my_object, column["field_initial_balance"])
cell_type = column.get("type", "string")
if cell_type == "string":
self.sheet.write_string(self.row_pos, col_pos, value or "")
report_data["sheet"].write_string(
report_data["row_pos"], col_pos, value or ""
)
elif cell_type == "amount":
self.sheet.write_number(
self.row_pos, col_pos, float(value), self.format_amount
report_data["sheet"].write_number(
report_data["row_pos"],
col_pos,
float(value),
report_data["formats"]["format_amount"],
)
elif cell_type == "amount_currency":
if my_object.currency_id:
format_amt = self._get_currency_amt_format(my_object)
self.sheet.write_number(
self.row_pos, col_pos, float(value), format_amt
format_amt = self._get_currency_amt_format(
my_object, report_data
)
report_data["sheet"].write_number(
report_data["row_pos"], col_pos, float(value), format_amt
)
elif column.get("field_currency_balance"):
value = getattr(my_object, column["field_currency_balance"])
cell_type = column.get("type", "string")
if cell_type == "many2one":
if my_object.currency_id:
self.sheet.write_string(
self.row_pos, col_pos, value.name or "", self.format_right
report_data["sheet"].write_string(
report_data["row_pos"],
col_pos,
value.name or "",
report_data["formats"]["format_right"],
)
self.row_pos += 1
report_data["row_pos"] += 1
def write_initial_balance_from_dict(self, my_object, label):
def write_initial_balance_from_dict(self, my_object, label, report_data):
"""Write a specific initial balance line on current line
using defined columns field_initial_balance name.
Columns are defined with `_get_report_columns` method.
"""
col_pos_label = self._get_col_pos_initial_balance_label()
self.sheet.write(self.row_pos, col_pos_label, label, self.format_right)
for col_pos, column in self.columns.items():
report_data["sheet"].write(
report_data["row_pos"],
col_pos_label,
label,
report_data["formats"]["format_right"],
)
for col_pos, column in report_data["columns"].items():
if column.get("field_initial_balance"):
value = my_object.get(column["field_initial_balance"], False)
cell_type = column.get("type", "string")
if cell_type == "string":
self.sheet.write_string(self.row_pos, col_pos, value or "")
report_data["sheet"].write_string(
report_data["row_pos"], col_pos, value or ""
)
elif cell_type == "amount":
self.sheet.write_number(
self.row_pos, col_pos, float(value), self.format_amount
report_data["sheet"].write_number(
report_data["row_pos"],
col_pos,
float(value),
report_data["formats"]["format_amount"],
)
elif cell_type == "amount_currency":
if my_object["currency_id"]:
format_amt = self._get_currency_amt_format(my_object)
self.sheet.write_number(
self.row_pos, col_pos, float(value), format_amt
format_amt = self._get_currency_amt_format(
my_object, report_data
)
report_data["sheet"].write_number(
report_data["row_pos"], col_pos, float(value), format_amt
)
elif column.get("field_currency_balance"):
value = my_object.get(column["field_currency_balance"], False)
cell_type = column.get("type", "string")
if cell_type == "many2one":
if my_object["currency_id"]:
self.sheet.write_string(
self.row_pos, col_pos, value.name or "", self.format_right
report_data["sheet"].write_string(
report_data["row_pos"],
col_pos,
value.name or "",
report_data["formats"]["format_right"],
)
self.row_pos += 1
report_data["row_pos"] += 1
def write_ending_balance(self, my_object, name, label):
def write_ending_balance(self, my_object, name, label, report_data):
"""Write a specific ending balance line on current line
using defined columns field_final_balance name.
Columns are defined with `_get_report_columns` method.
"""
for i in range(0, len(self.columns)):
self.sheet.write(self.row_pos, i, "", self.format_header_right)
for i in range(0, len(report_data["columns"])):
report_data["sheet"].write(
report_data["row_pos"],
i,
"",
report_data["formats"]["format_header_right"],
)
row_count_name = self._get_col_count_final_balance_name()
col_pos_label = self._get_col_pos_final_balance_label()
self.sheet.merge_range(
self.row_pos,
report_data["sheet"].merge_range(
report_data["row_pos"],
0,
self.row_pos,
report_data["row_pos"],
row_count_name - 1,
name,
self.format_header_left,
report_data["formats"]["format_header_left"],
)
report_data["sheet"].write(
report_data["row_pos"],
col_pos_label,
label,
report_data["formats"]["format_header_right"],
)
self.sheet.write(self.row_pos, col_pos_label, label, self.format_header_right)
for col_pos, column in self.columns.items():
for col_pos, column in report_data["columns"].items():
if column.get("field_final_balance"):
value = getattr(my_object, column["field_final_balance"])
cell_type = column.get("type", "string")
if cell_type == "string":
self.sheet.write_string(
self.row_pos, col_pos, value or "", self.format_header_right
report_data["sheet"].write_string(
report_data["row_pos"],
col_pos,
value or "",
report_data["formats"]["format_header_right"],
)
elif cell_type == "amount":
self.sheet.write_number(
self.row_pos, col_pos, float(value), self.format_header_amount
report_data["sheet"].write_number(
report_data["row_pos"],
col_pos,
float(value),
report_data["formats"]["format_header_amount"],
)
elif cell_type == "amount_currency":
if my_object.currency_id:
format_amt = self._get_currency_amt_header_format(my_object)
self.sheet.write_number(
self.row_pos, col_pos, float(value), format_amt
format_amt = self._get_currency_amt_header_format(
my_object, report_data
)
report_data["sheet"].write_number(
report_data["row_pos"], col_pos, float(value), format_amt
)
elif column.get("field_currency_balance"):
value = getattr(my_object, column["field_currency_balance"])
cell_type = column.get("type", "string")
if cell_type == "many2one":
if my_object.currency_id:
self.sheet.write_string(
self.row_pos,
report_data["sheet"].write_string(
report_data["row_pos"],
col_pos,
value.name or "",
self.format_header_right,
report_data["formats"]["format_header_right"],
)
self.row_pos += 1
report_data["row_pos"] += 1
def write_ending_balance_from_dict(self, my_object, name, label):
def write_ending_balance_from_dict(self, my_object, name, label, report_data):
"""Write a specific ending balance line on current line
using defined columns field_final_balance name.
Columns are defined with `_get_report_columns` method.
"""
for i in range(0, len(self.columns)):
self.sheet.write(self.row_pos, i, "", self.format_header_right)
for i in range(0, len(report_data["columns"])):
report_data["sheet"].write(
report_data["row_pos"],
i,
"",
report_data["formats"]["format_header_right"],
)
row_count_name = self._get_col_count_final_balance_name()
col_pos_label = self._get_col_pos_final_balance_label()
self.sheet.merge_range(
self.row_pos,
report_data["sheet"].merge_range(
report_data["row_pos"],
0,
self.row_pos,
report_data["row_pos"],
row_count_name - 1,
name,
self.format_header_left,
report_data["formats"]["format_header_left"],
)
report_data["sheet"].write(
report_data["row_pos"],
col_pos_label,
label,
report_data["formats"]["format_header_right"],
)
self.sheet.write(self.row_pos, col_pos_label, label, self.format_header_right)
for col_pos, column in self.columns.items():
for col_pos, column in report_data["columns"].items():
if column.get("field_final_balance"):
value = my_object.get(column["field_final_balance"], False)
cell_type = column.get("type", "string")
if cell_type == "string":
self.sheet.write_string(
self.row_pos, col_pos, value or "", self.format_header_right
report_data["sheet"].write_string(
report_data["row_pos"],
col_pos,
value or "",
report_data["formats"]["format_header_right"],
)
elif cell_type == "amount":
self.sheet.write_number(
self.row_pos, col_pos, float(value), self.format_header_amount
report_data["sheet"].write_number(
report_data["row_pos"],
col_pos,
float(value),
report_data["formats"]["format_header_amount"],
)
elif cell_type == "amount_currency":
if my_object["currency_id"] and value:
format_amt = self._get_currency_amt_format_dict(my_object)
self.sheet.write_number(
self.row_pos, col_pos, float(value), format_amt
format_amt = self._get_currency_amt_format_dict(
my_object, report_data
)
report_data["sheet"].write_number(
report_data["row_pos"], col_pos, float(value), format_amt
)
elif column.get("field_currency_balance"):
value = my_object.get(column["field_currency_balance"], False)
cell_type = column.get("type", "string")
if cell_type == "many2one":
if my_object["currency_id"]:
self.sheet.write_string(
self.row_pos, col_pos, value or "", self.format_header_right
report_data["sheet"].write_string(
report_data["row_pos"],
col_pos,
value or "",
report_data["formats"]["format_header_right"],
)
elif cell_type == "currency_name":
self.sheet.write_string(
self.row_pos, col_pos, value or "", self.format_header_right
report_data["sheet"].write_string(
report_data["row_pos"],
col_pos,
value or "",
report_data["formats"]["format_header_right"],
)
self.row_pos += 1
report_data["row_pos"] += 1
def _get_currency_amt_format(self, line_object):
def _get_currency_amt_format(self, line_object, report_data):
""" Return amount format specific for each currency. """
if "account_group_id" in line_object and line_object["account_group_id"]:
format_amt = self.format_amount_bold
format_amt = report_data["formats"]["format_amount_bold"]
field_prefix = "format_amount_bold"
else:
format_amt = self.format_amount
format_amt = report_data["formats"]["format_amount"]
field_prefix = "format_amount"
if "currency_id" in line_object and line_object.get("currency_id", False):
field_name = "{}_{}".format(field_prefix, line_object["currency_id"].name)
if hasattr(self, field_name):
format_amt = getattr(self, field_name)
else:
format_amt = self.workbook.add_format()
self.field_name = format_amt
format_amt = report_data["workbook"].add_format()
report_data["field_name"] = format_amt
format_amount = "#,##0." + (
"0" * line_object["currency_id"].decimal_places
)
format_amt.set_num_format(format_amount)
return format_amt
def _get_currency_amt_format_dict(self, line_dict):
def _get_currency_amt_format_dict(self, line_dict, report_data):
""" Return amount format specific for each currency. """
if line_dict.get("account_group_id", False) and line_dict["account_group_id"]:
format_amt = self.format_amount_bold
format_amt = report_data["formats"]["format_amount_bold"]
field_prefix = "format_amount_bold"
else:
format_amt = self.format_amount
format_amt = report_data["formats"]["format_amount"]
field_prefix = "format_amount"
if line_dict.get("currency_id", False) and line_dict["currency_id"]:
if isinstance(line_dict["currency_id"], int):
@ -487,51 +556,51 @@ class AbstractReportXslx(models.AbstractModel):
if hasattr(self, field_name):
format_amt = getattr(self, field_name)
else:
format_amt = self.workbook.add_format()
self.field_name = format_amt
format_amt = report_data["workbook"].add_format()
report_data["field_name"] = format_amt
format_amount = "#,##0." + ("0" * currency.decimal_places)
format_amt.set_num_format(format_amount)
return format_amt
def _get_currency_amt_header_format(self, line_object):
def _get_currency_amt_header_format(self, line_object, report_data):
""" Return amount header format for each currency. """
format_amt = self.format_header_amount
format_amt = report_data["formats"]["format_header_amount"]
if line_object.currency_id:
field_name = "format_header_amount_%s" % line_object.currency_id.name
if hasattr(self, field_name):
format_amt = getattr(self, field_name)
else:
format_amt = self.workbook.add_format(
format_amt = report_data["workbook"].add_format(
{"bold": True, "border": True, "bg_color": "#FFFFCC"}
)
self.field_name = format_amt
report_data["field_name"] = format_amt
format_amount = "#,##0." + (
"0" * line_object.currency_id.decimal_places
)
format_amt.set_num_format(format_amount)
return format_amt
def _get_currency_amt_header_format_dict(self, line_object):
def _get_currency_amt_header_format_dict(self, line_object, report_data):
""" Return amount header format for each currency. """
format_amt = self.format_header_amount
format_amt = report_data["formats"]["format_header_amount"]
if line_object["currency_id"]:
field_name = "format_header_amount_%s" % line_object["currency_name"]
if hasattr(self, field_name):
format_amt = getattr(self, field_name)
else:
format_amt = self.workbook.add_format(
format_amt = report_data["workbook"].add_format(
{"bold": True, "border": True, "bg_color": "#FFFFCC"}
)
self.field_name = format_amt
report_data["field_name"] = format_amt
format_amount = "#,##0." + (
"0" * line_object["currency_id"].decimal_places
)
format_amt.set_num_format(format_amount)
return format_amt
def _generate_report_content(self, workbook, report, data):
def _generate_report_content(self, workbook, report, data, report_data):
"""
Allow to fetch report content to be displayed.
Allow to fetch report content to be displayed.
"""
raise NotImplementedError()
@ -545,74 +614,74 @@ class AbstractReportXslx(models.AbstractModel):
def _get_report_name(self, report, data=False):
"""
Allow to define the report name.
Report name will be used as sheet name and as report title.
:return: the report name
Allow to define the report name.
Report name will be used as sheet name and as report title.
:return: the report name
"""
raise NotImplementedError()
def _get_report_footer(self):
"""
Allow to define the report footer.
:return: the report footer
Allow to define the report footer.
:return: the report footer
"""
return False
def _get_report_columns(self, report):
"""
Allow to define the report columns
which will be used to generate report.
:return: the report columns as dict
:Example:
{
0: {'header': 'Simple column',
'field': 'field_name_on_my_object',
'width': 11},
1: {'header': 'Amount column',
'field': 'field_name_on_my_object',
'type': 'amount',
'width': 14},
}
Allow to define the report columns
which will be used to generate report.
:return: the report columns as dict
:Example:
{
0: {'header': 'Simple column',
'field': 'field_name_on_my_object',
'width': 11},
1: {'header': 'Amount column',
'field': 'field_name_on_my_object',
'type': 'amount',
'width': 14},
}
"""
raise NotImplementedError()
def _get_report_filters(self, report):
"""
:return: the report filters as list
:Example:
[
['first_filter_name', 'first_filter_value'],
['second_filter_name', 'second_filter_value']
]
:return: the report filters as list
:Example:
[
['first_filter_name', 'first_filter_value'],
['second_filter_name', 'second_filter_value']
]
"""
raise NotImplementedError()
def _get_col_count_filter_name(self):
"""
:return: the columns number used for filter names.
:return: the columns number used for filter names.
"""
raise NotImplementedError()
def _get_col_count_filter_value(self):
"""
:return: the columns number used for filter values.
:return: the columns number used for filter values.
"""
raise NotImplementedError()
def _get_col_pos_initial_balance_label(self):
"""
:return: the columns position used for initial balance label.
:return: the columns position used for initial balance label.
"""
raise NotImplementedError()
def _get_col_count_final_balance_name(self):
"""
:return: the columns number used for final balance name.
:return: the columns number used for final balance name.
"""
raise NotImplementedError()
def _get_col_pos_final_balance_label(self):
"""
:return: the columns position used for final balance label.
:return: the columns position used for final balance label.
"""
raise NotImplementedError()

107
account_financial_report/report/aged_partner_balance.py

@ -12,7 +12,6 @@ from odoo.tools import float_is_zero
class AgedPartnerBalanceReport(models.AbstractModel):
_name = "report.account_financial_report.aged_partner_balance"
_description = "Aged Partner Balance Report"
_inherit = "report.account_financial_report.abstract_report"
@api.model
def _initialize_account(self, ag_pb_data, acc_id):
@ -41,6 +40,45 @@ class AgedPartnerBalanceReport(models.AbstractModel):
ag_pb_data[acc_id][prt_id]["move_lines"] = []
return ag_pb_data
def _get_journals_data(self, journals_ids):
journals = self.env["account.journal"].browse(journals_ids)
journals_data = {}
for journal in journals:
journals_data.update({journal.id: {"id": journal.id, "code": journal.code}})
return journals_data
def _get_accounts_data(self, accounts_ids):
accounts = self.env["account.account"].browse(accounts_ids)
accounts_data = {}
for account in accounts:
accounts_data.update(
{
account.id: {
"id": account.id,
"code": account.code,
"name": account.name,
}
}
)
return accounts_data
@api.model
def _get_move_lines_domain(
self, company_id, account_ids, partner_ids, only_posted_moves, date_from
):
domain = [
("account_id", "in", account_ids),
("company_id", "=", company_id),
("reconciled", "=", False),
]
if partner_ids:
domain += [("partner_id", "in", partner_ids)]
if only_posted_moves:
domain += [("move_id.state", "=", "posted")]
if date_from:
domain += [("date", ">", date_from)]
return domain
@api.model
def _calculate_amounts(
self, ag_pb_data, acc_id, prt_id, residual, due_date, date_at_object
@ -90,6 +128,70 @@ class AgedPartnerBalanceReport(models.AbstractModel):
)
return accounts_partial_reconcile, debit_amount, credit_amount
@api.model
def _get_new_move_lines_domain(
self, new_ml_ids, account_ids, company_id, partner_ids, only_posted_moves
):
domain = [
("account_id", "in", account_ids),
("company_id", "=", company_id),
("id", "in", new_ml_ids),
]
if partner_ids:
domain += [("partner_id", "in", partner_ids)]
if only_posted_moves:
domain += [("move_id.state", "=", "posted")]
return domain
def _recalculate_move_lines(
self,
move_lines,
debit_ids,
credit_ids,
debit_amount,
credit_amount,
ml_ids,
account_ids,
company_id,
partner_ids,
only_posted_moves,
):
debit_ids = set(debit_ids)
credit_ids = set(credit_ids)
in_credit_but_not_in_debit = credit_ids - debit_ids
reconciled_ids = list(debit_ids) + list(in_credit_but_not_in_debit)
reconciled_ids = set(reconciled_ids)
ml_ids = set(ml_ids)
new_ml_ids = reconciled_ids - ml_ids
new_ml_ids = list(new_ml_ids)
new_domain = self._get_new_move_lines_domain(
new_ml_ids, account_ids, company_id, partner_ids, only_posted_moves
)
ml_fields = [
"id",
"name",
"date",
"move_id",
"journal_id",
"account_id",
"partner_id",
"amount_residual",
"date_maturity",
"ref",
"reconciled",
]
new_move_lines = self.env["account.move.line"].search_read(
domain=new_domain, fields=ml_fields
)
move_lines = move_lines + new_move_lines
for move_line in move_lines:
ml_id = move_line["id"]
if ml_id in debit_ids:
move_line["amount_residual"] += debit_amount[ml_id]
if ml_id in credit_ids:
move_line["amount_residual"] -= credit_amount[ml_id]
return move_lines
def _get_move_lines_data(
self,
company_id,
@ -100,7 +202,7 @@ class AgedPartnerBalanceReport(models.AbstractModel):
only_posted_moves,
show_move_line_details,
):
domain = self._get_move_lines_domain_not_reconciled(
domain = self._get_move_lines_domain(
company_id, account_ids, partner_ids, only_posted_moves, date_from
)
ml_fields = [
@ -369,7 +471,6 @@ class AgedPartnerBalanceReport(models.AbstractModel):
"doc_model": "open.items.report.wizard",
"docs": self.env["open.items.report.wizard"].browse(wizard_id),
"company_name": company.display_name,
"company_currency": company.currency_id,
"currency_name": company.currency_id.name,
"date_at": date_at,
"only_posted_moves": only_posted_moves,

78
account_financial_report/report/aged_partner_balance_xlsx.py

@ -1,5 +1,6 @@
# Author: Julien Coux
# Copyright 2016 Camptocamp SA
# Copyright 2021 Tecnativa - João Marques
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import _, models
@ -177,7 +178,7 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
def _get_col_pos_final_balance_label(self):
return 5
def _generate_report_content(self, workbook, report, data):
def _generate_report_content(self, workbook, report, data, report_data):
res_data = self.env[
"report.account_financial_report.aged_partner_balance"
]._get_report_values(report, data)
@ -187,14 +188,16 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
# For each account
for account in aged_partner_balance:
# Write account title
self.write_array_title(account["code"] + " - " + account["name"])
self.write_array_title(
account["code"] + " - " + account["name"], report_data
)
# Display array header for partners lines
self.write_array_header()
self.write_array_header(report_data)
# Display partner lines
for partner in account["partners"]:
self.write_line_from_dict(partner)
self.write_line_from_dict(partner, report_data)
# Display account lines
self.write_account_footer_from_dict(
@ -202,45 +205,49 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
account,
("Total"),
"field_footer_total",
self.format_header_right,
self.format_header_amount,
report_data["formats"]["format_header_right"],
report_data["formats"]["format_header_amount"],
False,
report_data,
)
self.write_account_footer_from_dict(
report,
account,
("Percents"),
"field_footer_percent",
self.format_right_bold_italic,
self.format_percent_bold_italic,
report_data["formats"]["format_right_bold_italic"],
report_data["formats"]["format_percent_bold_italic"],
True,
report_data,
)
# 2 lines break
self.row_pos += 2
report_data["row_pos"] += 2
else:
# For each account
for account in aged_partner_balance:
# Write account title
self.write_array_title(account["code"] + " - " + account["name"])
self.write_array_title(
account["code"] + " - " + account["name"], report_data
)
# For each partner
for partner in account["partners"]:
# Write partner title
self.write_array_title(partner["name"])
self.write_array_title(partner["name"], report_data)
# Display array header for move lines
self.write_array_header()
self.write_array_header(report_data)
# Display account move lines
for line in partner["move_lines"]:
self.write_line_from_dict(line)
self.write_line_from_dict(line, report_data)
# Display ending balance line for partner
self.write_ending_balance_from_dict(partner)
self.write_ending_balance_from_dict(partner, report_data)
# Line break
self.row_pos += 1
report_data["row_pos"] += 1
# Display account lines
self.write_account_footer_from_dict(
@ -248,9 +255,10 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
account,
("Total"),
"field_footer_total",
self.format_header_right,
self.format_header_amount,
report_data["formats"]["format_header_right"],
report_data["formats"]["format_header_amount"],
False,
report_data,
)
self.write_account_footer_from_dict(
@ -258,24 +266,23 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
account,
("Percents"),
"field_footer_percent",
self.format_right_bold_italic,
self.format_percent_bold_italic,
report_data["formats"]["format_right_bold_italic"],
report_data["formats"]["format_percent_bold_italic"],
True,
report_data,
)
# 2 lines break
self.row_pos += 2
report_data["row_pos"] += 2
def write_ending_balance_from_dict(self, my_object):
def write_ending_balance_from_dict(self, my_object, report_data):
"""
Specific function to write ending partner balance
for Aged Partner Balance
Specific function to write ending partner balance
for Aged Partner Balance
"""
name = None
label = _("Partner cumul aged balance")
super(AgedPartnerBalanceXslx, self).write_ending_balance_from_dict(
my_object, name, label
)
super().write_ending_balance_from_dict(my_object, name, label, report_data)
def write_account_footer_from_dict(
self,
@ -286,12 +293,13 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
string_format,
amount_format,
amount_is_percent,
report_data,
):
"""
Specific function to write account footer for Aged Partner Balance
Specific function to write account footer for Aged Partner Balance
"""
col_pos_footer_label = self._get_col_pos_footer_label(report)
for col_pos, column in self.columns.items():
for col_pos, column in report_data["columns"].items():
if col_pos == col_pos_footer_label or column.get(field_name):
if col_pos == col_pos_footer_label:
value = label
@ -299,17 +307,19 @@ class AgedPartnerBalanceXslx(models.AbstractModel):
value = account.get(column[field_name], False)
cell_type = column.get("type", "string")
if cell_type == "string" or col_pos == col_pos_footer_label:
self.sheet.write_string(
self.row_pos, col_pos, value or "", string_format
report_data["sheet"].write_string(
report_data["row_pos"], col_pos, value or "", string_format
)
elif cell_type == "amount":
number = float(value)
if amount_is_percent:
number /= 100
self.sheet.write_number(
self.row_pos, col_pos, number, amount_format
report_data["sheet"].write_number(
report_data["row_pos"], col_pos, number, amount_format
)
else:
self.sheet.write_string(self.row_pos, col_pos, "", string_format)
report_data["sheet"].write_string(
report_data["row_pos"], col_pos, "", string_format
)
self.row_pos += 1
report_data["row_pos"] += 1

41
account_financial_report/report/general_ledger.py

@ -13,7 +13,32 @@ from odoo.tools import float_is_zero
class GeneralLedgerReport(models.AbstractModel):
_name = "report.account_financial_report.general_ledger"
_description = "General Ledger Report"
_inherit = "report.account_financial_report.abstract_report"
def _get_accounts_data(self, account_ids):
accounts = self.env["account.account"].browse(account_ids)
accounts_data = {}
for account in accounts:
accounts_data.update(
{
account.id: {
"id": account.id,
"code": account.code,
"name": account.name,
"group_id": account.group_id.id,
"currency_id": account.currency_id or False,
"currency_name": account.currency_id.name,
"centralized": account.centralized,
}
}
)
return accounts_data
def _get_journals_data(self, journals_ids):
journals = self.env["account.journal"].browse(journals_ids)
journals_data = {}
for journal in journals:
journals_data.update({journal.id: {"id": journal.id, "code": journal.code}})
return journals_data
def _get_tags_data(self, tags_ids):
tags = self.env["account.analytic.tag"].browse(tags_ids)
@ -170,8 +195,6 @@ class GeneralLedgerReport(models.AbstractModel):
base_domain += [("partner_id", "in", partner_ids)]
if only_posted_moves:
base_domain += [("move_id.state", "=", "posted")]
else:
base_domain += [("move_id.state", "in", ["posted", "draft"])]
if analytic_tag_ids:
base_domain += [("analytic_tag_ids", "in", analytic_tag_ids)]
if cost_center_ids:
@ -361,8 +384,6 @@ class GeneralLedgerReport(models.AbstractModel):
domain += [("partner_id", "in", partner_ids)]
if only_posted_moves:
domain += [("move_id.state", "=", "posted")]
else:
domain += [("move_id.state", "in", ["posted", "draft"])]
if analytic_tag_ids:
domain += [("analytic_tag_ids", "in", analytic_tag_ids)]
if cost_center_ids:
@ -607,7 +628,7 @@ class GeneralLedgerReport(models.AbstractModel):
hide_account_at_0,
):
general_ledger = []
rounding = self.env.company.currency_id.rounding
rounding = self.env.user.company_id.currency_id.rounding
for acc_id in gen_led_data.keys():
account = {}
account.update(
@ -740,12 +761,16 @@ class GeneralLedgerReport(models.AbstractModel):
for partner in account["list_partner"]:
for move_line in partner["move_lines"]:
centralized_ml = self._calculate_centralization(
centralized_ml, move_line, date_to,
centralized_ml,
move_line,
date_to,
)
else:
for move_line in account["move_lines"]:
centralized_ml = self._calculate_centralization(
centralized_ml, move_line, date_to,
centralized_ml,
move_line,
date_to,
)
list_centralized_ml = []
for jnl_id in centralized_ml.keys():

60
account_financial_report/report/general_ledger_xlsx.py

@ -1,6 +1,7 @@
# Author: Damien Crier
# Author: Julien Coux
# Copyright 2016 Camptocamp SA
# Copyright 2021 Tecnativa - João Marques
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import _, models
@ -135,7 +136,7 @@ class GeneralLedgerXslx(models.AbstractModel):
return 5
# flake8: noqa: C901
def _generate_report_content(self, workbook, report, data):
def _generate_report_content(self, workbook, report, data, report_data):
res_data = self.env[
"report.account_financial_report.general_ledger"
]._get_report_values(report, data)
@ -151,12 +152,13 @@ class GeneralLedgerXslx(models.AbstractModel):
for account in general_ledger:
# Write account title
self.write_array_title(
account["code"] + " - " + accounts_data[account["id"]]["name"]
account["code"] + " - " + accounts_data[account["id"]]["name"],
report_data,
)
if not account["partners"]:
# Display array header for move lines
self.write_array_header()
self.write_array_header(report_data)
# Display initial balance line for account
account.update(
@ -170,7 +172,7 @@ class GeneralLedgerXslx(models.AbstractModel):
account.update(
{"initial_bal_curr": account["init_bal"]["bal_curr"]}
)
self.write_initial_balance_from_dict(account)
self.write_initial_balance_from_dict(account, report_data)
# Display account move lines
for line in account["move_lines"]:
@ -195,9 +197,12 @@ class GeneralLedgerXslx(models.AbstractModel):
for tag_id in line["tag_ids"]:
tags += tags_data[tag_id]["name"] + " "
line.update(
{"taxes_description": taxes_description, "tags": tags,}
{
"taxes_description": taxes_description,
"tags": tags,
}
)
self.write_line_from_dict(line)
self.write_line_from_dict(line, report_data)
# Display ending balance line for account
account.update(
{
@ -208,18 +213,22 @@ class GeneralLedgerXslx(models.AbstractModel):
)
if foreign_currency:
account.update(
{"final_bal_curr": account["fin_bal"]["bal_curr"],}
{
"final_bal_curr": account["fin_bal"]["bal_curr"],
}
)
self.write_ending_balance_from_dict(account)
self.write_ending_balance_from_dict(account, report_data)
else:
# For each partner
for partner in account["list_partner"]:
# Write partner title
self.write_array_title(partners_data[partner["id"]]["name"])
self.write_array_title(
partners_data[partner["id"]]["name"], report_data
)
# Display array header for move lines
self.write_array_header()
self.write_array_header(report_data)
# Display initial balance line for partner
partner.update(
@ -234,9 +243,11 @@ class GeneralLedgerXslx(models.AbstractModel):
)
if foreign_currency:
partner.update(
{"initial_bal_curr": partner["init_bal"]["bal_curr"],}
{
"initial_bal_curr": partner["init_bal"]["bal_curr"],
}
)
self.write_initial_balance_from_dict(partner)
self.write_initial_balance_from_dict(partner, report_data)
# Display account move lines
for line in partner["move_lines"]:
@ -263,9 +274,12 @@ class GeneralLedgerXslx(models.AbstractModel):
for tag_id in line["tag_ids"]:
tags += tags_data[tag_id]["name"] + " "
line.update(
{"taxes_description": taxes_description, "tags": tags,}
{
"taxes_description": taxes_description,
"tags": tags,
}
)
self.write_line_from_dict(line)
self.write_line_from_dict(line, report_data)
# Display ending balance line for partner
partner.update(
@ -283,10 +297,10 @@ class GeneralLedgerXslx(models.AbstractModel):
"currency_id": partner["currency_id"].id,
}
)
self.write_ending_balance_from_dict(partner)
self.write_ending_balance_from_dict(partner, report_data)
# Line break
self.row_pos += 1
report_data["row_pos"] += 1
if not filter_partner_ids:
account.update(
@ -304,20 +318,22 @@ class GeneralLedgerXslx(models.AbstractModel):
"currency_id": account["currency_id"].id,
}
)
self.write_ending_balance_from_dict(account)
self.write_ending_balance_from_dict(account, report_data)
# 2 lines break
self.row_pos += 2
report_data["row_pos"] += 2
def write_initial_balance_from_dict(self, my_object):
def write_initial_balance_from_dict(self, my_object, report_data):
"""Specific function to write initial balance for General Ledger"""
if "partner" in my_object["type"]:
label = _("Partner Initial balance")
elif "account" in my_object["type"]:
label = _("Initial balance")
super(GeneralLedgerXslx, self).write_initial_balance_from_dict(my_object, label)
super(GeneralLedgerXslx, self).write_initial_balance_from_dict(
my_object, label, report_data
)
def write_ending_balance_from_dict(self, my_object):
def write_ending_balance_from_dict(self, my_object, report_data):
"""Specific function to write ending balance for General Ledger"""
if "partner" in my_object["type"]:
name = my_object["name"]
@ -326,5 +342,5 @@ class GeneralLedgerXslx(models.AbstractModel):
name = my_object["code"] + " - " + my_object["name"]
label = _("Ending balance")
super(GeneralLedgerXslx, self).write_ending_balance_from_dict(
my_object, name, label
my_object, name, label, report_data
)

2
account_financial_report/report/journal_ledger.py

@ -49,8 +49,6 @@ class JournalLedgerReport(models.AbstractModel):
]
if wizard.move_target != "all":
domain += [("state", "=", wizard.move_target)]
else:
domain += [("state", "in", ["posted", "draft"])]
return domain
def _get_moves_order(self, wizard, journal_ids):

71
account_financial_report/report/journal_ledger_xlsx.py

@ -1,6 +1,7 @@
# Author: Damien Crier
# Author: Julien Coux
# Copyright 2016 Camptocamp SA
# Copyright 2021 Tecnativa - João Marques
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import _, models
@ -154,24 +155,28 @@ class JournalLedgerXslx(models.AbstractModel):
],
]
def _generate_report_content(self, workbook, report, data):
def _generate_report_content(self, workbook, report, data, report_data):
res_data = self.env[
"report.account_financial_report.journal_ledger"
]._get_report_values(report, data)
group_option = report.group_option
if group_option == "journal":
for ledger in res_data["Journal_Ledgers"]:
self._generate_journal_content(workbook, report, res_data, ledger)
self._generate_journal_content(
workbook, report, res_data, ledger, report_data
)
elif group_option == "none":
self._generate_no_group_content(workbook, report, res_data)
self._generate_no_group_content(workbook, report, res_data, report_data)
def _generate_no_group_content(self, workbook, report, res_data):
def _generate_no_group_content(self, workbook, report, res_data, report_data):
self._generate_moves_content(
workbook, "Report", report, res_data, res_data["Moves"]
workbook, "Report", report, res_data, res_data["Moves"], report_data
)
self._generate_no_group_taxes_summary(workbook, report, res_data)
self._generate_no_group_taxes_summary(workbook, report, res_data, report_data)
def _generate_journal_content(self, workbook, report, res_data, ledger):
def _generate_journal_content(
self, workbook, report, res_data, ledger, report_data
):
journal = self.env["account.journal"].browse(ledger["id"])
currency_name = (
journal.currency_id
@ -180,14 +185,16 @@ class JournalLedgerXslx(models.AbstractModel):
)
sheet_name = "{} ({}) - {}".format(journal.code, currency_name, journal.name)
self._generate_moves_content(
workbook, sheet_name, report, res_data, ledger["report_moves"]
workbook, sheet_name, report, res_data, ledger["report_moves"], report_data
)
self._generate_journal_taxes_summary(workbook, ledger)
self._generate_journal_taxes_summary(workbook, ledger, report_data)
def _generate_no_group_taxes_summary(self, workbook, report, res_data):
self._generate_taxes_summary(workbook, "Tax Report", res_data["tax_line_data"])
def _generate_no_group_taxes_summary(self, workbook, report, res_data, report_data):
self._generate_taxes_summary(
workbook, "Tax Report", res_data["tax_line_data"], report_data
)
def _generate_journal_taxes_summary(self, workbook, ledger):
def _generate_journal_taxes_summary(self, workbook, ledger, report_data):
journal = self.env["account.journal"].browse(ledger["id"])
currency_name = (
journal.currency_id
@ -197,19 +204,23 @@ class JournalLedgerXslx(models.AbstractModel):
sheet_name = "Tax - {} ({}) - {}".format(
journal.code, currency_name, journal.name
)
self._generate_taxes_summary(workbook, sheet_name, ledger["tax_lines"])
self._generate_taxes_summary(
workbook, sheet_name, ledger["tax_lines"], report_data
)
def _generate_moves_content(self, workbook, sheet_name, report, res_data, moves):
self.workbook = workbook
self.sheet = workbook.add_worksheet(sheet_name)
self._set_column_width()
def _generate_moves_content(
self, workbook, sheet_name, report, res_data, moves, report_data
):
report_data["workbook"] = workbook
report_data["sheet"] = workbook.add_worksheet(sheet_name)
self._set_column_width(report_data)
self.row_pos = 1
report_data["row_pos"] = 1
self.write_array_title(sheet_name)
self.row_pos += 2
self.write_array_title(sheet_name, report_data)
report_data["row_pos"] += 2
self.write_array_header()
self.write_array_header(report_data)
account_ids_data = res_data["account_ids_data"]
partner_ids_data = res_data["partner_ids_data"]
currency_ids_data = res_data["currency_ids_data"]
@ -238,16 +249,18 @@ class JournalLedgerXslx(models.AbstractModel):
line["move_line_id"], False
),
)
self.write_line_from_dict(line)
self.row_pos += 1
self.write_line_from_dict(line, report_data)
report_data["row_pos"] += 1
def _generate_taxes_summary(self, workbook, sheet_name, tax_lines_dict):
self.workbook = workbook
self.sheet = workbook.add_worksheet(sheet_name)
def _generate_taxes_summary(
self, workbook, sheet_name, tax_lines_dict, report_data
):
report_data["workbook"] = workbook
report_data["sheet"] = workbook.add_worksheet(sheet_name)
self.row_pos = 1
self.write_array_title(sheet_name)
self.row_pos += 2
report_data["row_pos"] = 1
self.write_array_title(sheet_name, report_data)
report_data["row_pos"] += 2
def _get_partner_name(self, partner_id, partner_data):
if partner_id in partner_data.keys():

147
account_financial_report/report/open_items.py

@ -12,7 +12,23 @@ from odoo.tools import float_is_zero
class OpenItemsReport(models.AbstractModel):
_name = "report.account_financial_report.open_items"
_description = "Open Items Report"
_inherit = "report.account_financial_report.abstract_report"
@api.model
def get_html(self, given_context=None):
return self._get_html()
def _get_html(self):
result = {}
rcontext = {}
context = dict(self.env.context)
rcontext.update(context.get("data"))
active_id = context.get("active_id")
wiz = self.env["open.items.report.wizard"].browse(active_id)
rcontext["o"] = wiz
result["html"] = self.env.ref(
"account_financial_report.report_open_items"
).render(rcontext)
return result
def _get_account_partial_reconciled(self, company_id, date_at_object):
domain = [("max_date", ">", date_at_object), ("company_id", "=", company_id)]
@ -36,17 +52,128 @@ class OpenItemsReport(models.AbstractModel):
)
return accounts_partial_reconcile, debit_amount, credit_amount
@api.model
def _get_new_move_lines_domain(
self, new_ml_ids, account_ids, company_id, partner_ids, target_moves
):
domain = [
("account_id", "in", account_ids),
("company_id", "=", company_id),
("id", "in", new_ml_ids),
]
if partner_ids:
domain += [("partner_id", "in", partner_ids)]
if target_moves == "posted":
domain += [("move_id.state", "=", "posted")]
return domain
def _recalculate_move_lines(
self,
move_lines,
debit_ids,
credit_ids,
debit_amount,
credit_amount,
ml_ids,
account_ids,
company_id,
partner_ids,
target_moves,
):
debit_ids = set(debit_ids)
credit_ids = set(credit_ids)
in_credit_but_not_in_debit = credit_ids - debit_ids
reconciled_ids = list(debit_ids) + list(in_credit_but_not_in_debit)
reconciled_ids = set(reconciled_ids)
ml_ids = set(ml_ids)
new_ml_ids = reconciled_ids - ml_ids
new_ml_ids = list(new_ml_ids)
new_domain = self._get_new_move_lines_domain(
new_ml_ids, account_ids, company_id, partner_ids, target_moves
)
ml_fields = [
"id",
"name",
"date",
"move_id",
"journal_id",
"account_id",
"partner_id",
"amount_residual",
"date_maturity",
"ref",
"debit",
"credit",
"reconciled",
"currency_id",
"amount_currency",
"amount_residual_currency",
]
new_move_lines = self.env["account.move.line"].search_read(
domain=new_domain, fields=ml_fields
)
move_lines = move_lines + new_move_lines
for move_line in move_lines:
ml_id = move_line["id"]
if ml_id in debit_ids:
move_line["amount_residual"] += debit_amount[ml_id]
if ml_id in credit_ids:
move_line["amount_residual"] -= credit_amount[ml_id]
return move_lines
@api.model
def _get_move_lines_domain(
self, company_id, account_ids, partner_ids, target_move, date_from
):
domain = [
("account_id", "in", account_ids),
("company_id", "=", company_id),
("reconciled", "=", False),
]
if partner_ids:
domain += [("partner_id", "in", partner_ids)]
if target_move == "posted":
domain += [("move_id.state", "=", "posted")]
if date_from:
domain += [("date", ">", date_from)]
return domain
def _get_accounts_data(self, accounts_ids):
accounts = self.env["account.account"].browse(accounts_ids)
accounts_data = {}
for account in accounts:
accounts_data.update(
{
account.id: {
"id": account.id,
"code": account.code,
"name": account.name,
"hide_account": False,
"currency_id": account.currency_id or False,
"currency_name": account.currency_id.name,
}
}
)
return accounts_data
def _get_journals_data(self, journals_ids):
journals = self.env["account.journal"].browse(journals_ids)
journals_data = {}
for journal in journals:
journals_data.update({journal.id: {"id": journal.id, "code": journal.code}})
return journals_data
def _get_data(
self,
account_ids,
partner_ids,
date_at_object,
only_posted_moves,
target_move,
company_id,
date_from,
):
domain = self._get_move_lines_domain_not_reconciled(
company_id, account_ids, partner_ids, only_posted_moves, date_from
domain = self._get_move_lines_domain(
company_id, account_ids, partner_ids, target_move, date_from
)
ml_fields = [
"id",
@ -96,7 +223,7 @@ class OpenItemsReport(models.AbstractModel):
account_ids,
company_id,
partner_ids,
only_posted_moves,
target_move,
)
move_lines = [
move_line
@ -230,7 +357,7 @@ class OpenItemsReport(models.AbstractModel):
date_at = data["date_at"]
date_at_object = datetime.strptime(date_at, "%Y-%m-%d").date()
date_from = data["date_from"]
only_posted_moves = data["only_posted_moves"]
target_move = data["target_move"]
show_partner_details = data["show_partner_details"]
(
@ -240,12 +367,7 @@ class OpenItemsReport(models.AbstractModel):
accounts_data,
open_items_move_lines_data,
) = self._get_data(
account_ids,
partner_ids,
date_at_object,
only_posted_moves,
company_id,
date_from,
account_ids, partner_ids, date_at_object, target_move, company_id, date_from
)
total_amount = self._calculate_amounts(open_items_move_lines_data)
@ -259,7 +381,6 @@ class OpenItemsReport(models.AbstractModel):
"foreign_currency": data["foreign_currency"],
"show_partner_details": data["show_partner_details"],
"company_name": company.display_name,
"company_currency": company.currency_id,
"currency_name": company.currency_id.name,
"date_at": date_at_object.strftime("%d/%m/%Y"),
"hide_account_at_0": data["hide_account_at_0"],

43
account_financial_report/report/open_items_xlsx.py

@ -1,5 +1,6 @@
# Author: Julien Coux
# Copyright 2016 Camptocamp SA
# Copyright 2021 Tecnativa - João Marques
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import _, models
@ -100,7 +101,7 @@ class OpenItemsXslx(models.AbstractModel):
def _get_col_pos_final_balance_label(self):
return 5
def _generate_report_content(self, workbook, report, data):
def _generate_report_content(self, workbook, report, data, report_data):
res_data = self.env[
"report.account_financial_report.open_items"
]._get_report_values(report, data)
@ -116,7 +117,8 @@ class OpenItemsXslx(models.AbstractModel):
self.write_array_title(
accounts_data[account_id]["code"]
+ " - "
+ accounts_data[account_id]["name"]
+ accounts_data[account_id]["name"],
report_data,
)
# For each partner
@ -125,10 +127,12 @@ class OpenItemsXslx(models.AbstractModel):
for partner_id in Open_items[account_id]:
type_object = "partner"
# Write partner title
self.write_array_title(partners_data[partner_id]["name"])
self.write_array_title(
partners_data[partner_id]["name"], report_data
)
# Display array header for move lines
self.write_array_header()
self.write_array_header(report_data)
# Display account move lines
for line in Open_items[account_id][partner_id]:
@ -140,7 +144,7 @@ class OpenItemsXslx(models.AbstractModel):
],
}
)
self.write_line_from_dict(line)
self.write_line_from_dict(line, report_data)
# Display ending balance line for partner
partners_data[partner_id].update(
@ -155,15 +159,16 @@ class OpenItemsXslx(models.AbstractModel):
partners_data[partner_id],
type_object,
total_amount,
account_id,
partner_id,
report_data,
account_id=account_id,
partner_id=partner_id,
)
# Line break
self.row_pos += 1
report_data["row_pos"] += 1
else:
# Display array header for move lines
self.write_array_header()
self.write_array_header(report_data)
# Display account move lines
for line in Open_items[account_id]:
@ -173,19 +178,29 @@ class OpenItemsXslx(models.AbstractModel):
"journal": journals_data[line["journal_id"]]["code"],
}
)
self.write_line_from_dict(line)
self.write_line_from_dict(line, report_data)
# Display ending balance line for account
type_object = "account"
self.write_ending_balance_from_dict(
accounts_data[account_id], type_object, total_amount, account_id
accounts_data[account_id],
type_object,
total_amount,
report_data,
account_id=account_id,
)
# 2 lines break
self.row_pos += 2
report_data["row_pos"] += 2
def write_ending_balance_from_dict(
self, my_object, type_object, total_amount, account_id=False, partner_id=False
self,
my_object,
type_object,
total_amount,
report_data,
account_id=False,
partner_id=False,
):
"""Specific function to write ending balance for Open Items"""
if type_object == "partner":
@ -197,5 +212,5 @@ class OpenItemsXslx(models.AbstractModel):
my_object["residual"] = total_amount[account_id]["residual"]
label = _("Ending balance")
super(OpenItemsXslx, self).write_ending_balance_from_dict(
my_object, name, label
my_object, name, label, report_data
)

222
account_financial_report/report/templates/aged_partner_balance.xml

@ -15,9 +15,12 @@
<!-- Saved flag fields into variables, used to define columns display -->
<t t-set="show_move_line_details" t-value="show_move_line_details" />
<!-- Defines global variables used by internal layout -->
<t t-set="title">Aged Partner Balance - <t t-raw="company_name" /> - <t
t-raw="currency_name"
/></t>
<t t-set="title">
Aged Partner Balance -
<t t-raw="company_name" />
-
<t t-raw="currency_name" />
</t>
<div class="page">
<div class="row">
<h4
@ -122,7 +125,7 @@
<!--## age_120_days-->
<div class="act_as_cell" style="width: 9.64%;">91 - 120 d.</div>
<!--## older-->
<div class="act_as_cell" style="width: 9.64%;"> > 120 d.</div>
<div class="act_as_cell" style="width: 9.64%;">> 120 d.</div>
</div>
</div>
</template>
@ -137,49 +140,49 @@
<div class="act_as_cell amount">
<span
t-esc="partner['residual']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## current-->
<div class="act_as_cell amount">
<span
t-esc="partner['current']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## age_30_days-->
<div class="act_as_cell amount">
<span
t-esc="partner['30_days']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## age_60_days-->
<div class="act_as_cell amount">
<span
t-esc="partner['60_days']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## age_90_days-->
<div class="act_as_cell amount">
<span
t-esc="partner['90_days']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## age_120_days-->
<div class="act_as_cell amount">
<span
t-esc="partner['120_days']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## older-->
<div class="act_as_cell amount">
<span
t-esc="partner['older']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
</div>
@ -191,7 +194,8 @@
<div class="act_as_row labels">
<!--## date-->
<div class="act_as_cell first_column" style="width: 6.00%;">
Date</div>
Date
</div>
<!--## move-->
<div class="act_as_cell" style="width: 7.00%;">Entry</div>
<!--## journal-->
@ -199,31 +203,41 @@
<!--## account code-->
<div class="act_as_cell" style="width: 6.00%;">Account</div>
<!--## partner-->
<div class="act_as_cell" style="width: 10.50%;">Partner
</div>
<div class="act_as_cell" style="width: 10.50%;">Partner</div>
<!--## ref - label-->
<div class="act_as_cell" style="width: 18.00%;">Ref -
Label</div>
<div class="act_as_cell" style="width: 18.00%;">
Ref -
Label
</div>
<!--## date_due-->
<div class="act_as_cell" style="width: 6.00%;">Due
date</div>
<!--## amount_residual-->
<div class="act_as_cell" style="width: 6.00%;">Residual
<div class="act_as_cell" style="width: 6.00%;">
Due
date
</div>
<!--## amount_residual-->
<div class="act_as_cell" style="width: 6.00%;">Residual</div>
<!--## current-->
<div class="act_as_cell" style="width: 6.00%;">Current</div>
<!--## age_30_days-->
<div class="act_as_cell" style="width: 6.00%;">Age ≤ 30
d.</div>
<div class="act_as_cell" style="width: 6.00%;">
Age ≤ 30
d.
</div>
<!--## age_60_days-->
<div class="act_as_cell" style="width: 6.00%;">Age ≤ 60
d.</div>
<div class="act_as_cell" style="width: 6.00%;">
Age ≤ 60
d.
</div>
<!--## age_90_days-->
<div class="act_as_cell" style="width: 6.00%;">Age ≤ 90
d.</div>
<div class="act_as_cell" style="width: 6.00%;">
Age ≤ 90
d.
</div>
<!--## age_120_days-->
<div class="act_as_cell" style="width: 6.00%;">Age ≤ 120
d.</div>
<div class="act_as_cell" style="width: 6.00%;">
Age ≤ 120
d.
</div>
<!--## older-->
<div class="act_as_cell" style="width: 6.00%;">Older</div>
</div>
@ -315,7 +329,7 @@
>
<t
t-raw="line['residual']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</div>
@ -324,7 +338,7 @@
<t t-if="line.current == 0">
<span
t-field="line.current"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</t>
<t t-else="">
@ -334,7 +348,7 @@
>
<t
t-raw="line['current']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -344,7 +358,7 @@
<t t-if="line.age_30_days == 0">
<span
t-field="line.age_30_days"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</t>
<t t-else="">
@ -354,7 +368,7 @@
>
<t
t-raw="line['30_days']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -364,7 +378,7 @@
<t t-if="line.age_60_days == 0">
<span
t-field="line.age_60_days"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</t>
<t t-else="">
@ -374,7 +388,7 @@
>
<t
t-raw="line['60_days']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -384,7 +398,7 @@
<t t-if="line.age_90_days == 0">
<span
t-field="line.age_90_days"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</t>
<t t-else="">
@ -394,7 +408,7 @@
>
<t
t-raw="line['90_days']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -404,7 +418,7 @@
<t t-if="line.age_120_days == 0">
<span
t-field="line.age_120_days"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</t>
<t t-else="">
@ -414,7 +428,7 @@
>
<t
t-raw="line['120_days']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -424,7 +438,7 @@
<t t-if="line.older == 0">
<span
t-field="line.older"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</t>
<t t-else="">
@ -434,7 +448,7 @@
>
<t
t-raw="line['older']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -448,57 +462,59 @@
<div class="act_as_table list_table" style="width: 100%;">
<div class="act_as_row lines" style="font-weight: bold;">
<!--## date-->
<div class="act_as_cell right" style="width: 52.00%;">Partner
cumul aged balance</div>
<div class="act_as_cell right" style="width: 52.00%;">
Partner
cumul aged balance
</div>
<!--## date_due-->
<div class="act_as_cell" style="width: 6.00%;" />
<!--## amount_residual-->
<div class="act_as_cell amount" style="width: 6.00%;">
<span
t-esc="partner_cumul_line['residual']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## current-->
<div class="act_as_cell amount" style="width: 6.00%;">
<span
t-esc="partner_cumul_line['current']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## age_30_days-->
<div class="act_as_cell amount" style="width: 6.00%;">
<span
t-esc="partner_cumul_line['30_days']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## age_60_days-->
<div class="act_as_cell amount" style="width: 6.00%;">
<span
t-esc="partner_cumul_line['60_days']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## age_90_days-->
<div class="act_as_cell amount" style="width: 6.00%;">
<span
t-esc="partner_cumul_line['90_days']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## age_120_days-->
<div class="act_as_cell amount" style="width: 6.00%;">
<span
t-esc="partner_cumul_line['120_days']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## older-->
<div class="act_as_cell amount" style="width: 6.00%;">
<span
t-esc="partner_cumul_line['older']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
</div>
@ -515,49 +531,49 @@
<div class="act_as_cell amount" style="width: 9.64%;">
<span
t-esc="account['residual']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## current-->
<div class="act_as_cell amount" style="width: 9.64%;">
<span
t-esc="account['current']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## age_30_days-->
<div class="act_as_cell amount" style="width: 9.64%;">
<span
t-esc="account['30_days']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## age_60_days-->
<div class="act_as_cell amount" style="width: 9.64%;">
<span
t-esc="account['60_days']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## age_90_days-->
<div class="act_as_cell amount" style="width: 9.64%;">
<span
t-esc="account['90_days']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## age_120_days-->
<div class="act_as_cell amount" style="width: 9.64%;">
<span
t-esc="account['120_days']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## older-->
<div class="act_as_cell amount" style="width: 9.64%;">
<span
t-esc="account['older']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
</t>
@ -570,49 +586,49 @@
<div class="act_as_cell amount" style="width: 6.00%">
<span
t-esc="account['residual']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## current-->
<div class="act_as_cell amount" style="width: 6.00%">
<span
t-esc="account['current']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## age_30_days-->
<div class="act_as_cell amount" style="width: 6.00%">
<span
t-esc="account['30_days']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## age_60_days-->
<div class="act_as_cell amount" style="width: 6.00%">
<span
t-esc="account['60_days']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## age_90_days-->
<div class="act_as_cell amount" style="width: 6.00%">
<span
t-esc="account['90_days']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## age_120_days-->
<div class="act_as_cell amount" style="width: 6.00%">
<span
t-esc="account['120_days']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## older-->
<div class="act_as_cell amount" style="width: 6.00%">
<span
t-esc="account['older']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
</t>
@ -620,78 +636,76 @@
<div class="act_as_row" style="font-weight: bold; font-style: italic;">
<t t-if="not show_move_line_details">
<!--## total-->
<div class="act_as_cell right" style="width: 32.52%;">
Percents</div>
<div class="act_as_cell right" style="width: 32.52%;">Percents</div>
<!--## amount_residual-->
<div class="act_as_cell amount" style="width: 9.64%;" />
<!--## current-->
<div class="act_as_cell amount" style="width: 9.64%;"><span
t-esc="account['percent_current']"
/>%
<div class="act_as_cell amount" style="width: 9.64%;">
<span t-esc="account['percent_current']" />
%
</div>
<!--## age_30_days-->
<div class="act_as_cell amount" style="width: 9.64%;"><span
t-esc="account['percent_30_days']"
/>%
<div class="act_as_cell amount" style="width: 9.64%;">
<span t-esc="account['percent_30_days']" />
%
</div>
<!--## age_60_days-->
<div class="act_as_cell amount" style="width: 9.64%;"><span
t-esc="account['percent_60_days']"
/>%
<div class="act_as_cell amount" style="width: 9.64%;">
<span t-esc="account['percent_60_days']" />
%
</div>
<!--## age_90_days-->
<div class="act_as_cell amount" style="width: 9.64%;"><span
t-esc="account['percent_90_days']"
/>%
<div class="act_as_cell amount" style="width: 9.64%;">
<span t-esc="account['percent_90_days']" />
%
</div>
<!--## age_120_days-->
<div class="act_as_cell amount" style="width: 9.64%;"><span
t-esc="account['percent_120_days']"
/>%
<div class="act_as_cell amount" style="width: 9.64%;">
<span t-esc="account['percent_120_days']" />
%
</div>
<!--## older-->
<div class="act_as_cell amount" style="width: 9.64%;"><span
t-esc="account['percent_older']"
/>%
<div class="act_as_cell amount" style="width: 9.64%;">
<span t-esc="account['percent_older']" />
%
</div>
</t>
<t t-if="show_move_line_details">
<!--## total-->
<div class="act_as_cell right" style="width: 52.00%;">
Percents</div>
<div class="act_as_cell right" style="width: 52.00%;">Percents</div>
<!--## date_due-->
<div class="act_as_cell" style="width: 6.00%;" />
<!--## amount_residual-->
<div class="act_as_cell amount" style="width: 6.00%" />
<!--## current-->
<div class="act_as_cell amount" style="width: 6.00%"><span
t-esc="account['percent_current']"
/>%
<div class="act_as_cell amount" style="width: 6.00%">
<span t-esc="account['percent_current']" />
%
</div>
<!--## age_30_days-->
<div class="act_as_cell amount" style="width: 6.00%"><span
t-esc="account['percent_30_days']"
/>%
<div class="act_as_cell amount" style="width: 6.00%">
<span t-esc="account['percent_30_days']" />
%
</div>
<!--## age_60_days-->
<div class="act_as_cell amount" style="width: 6.00%"><span
t-esc="account['percent_60_days']"
/>%
<div class="act_as_cell amount" style="width: 6.00%">
<span t-esc="account['percent_60_days']" />
%
</div>
<!--## age_90_days-->
<div class="act_as_cell amount" style="width: 6.00%"><span
t-esc="account['percent_90_days']"
/>%
<div class="act_as_cell amount" style="width: 6.00%">
<span t-esc="account['percent_90_days']" />
%
</div>
<!--## age_120_days-->
<div class="act_as_cell amount" style="width: 6.00%"><span
t-esc="account['percent_120_days']"
/>%
<div class="act_as_cell amount" style="width: 6.00%">
<span t-esc="account['percent_120_days']" />
%
</div>
<!--## older-->
<div class="act_as_cell amount" style="width: 6.00%"><span
t-esc="account['percent_older']"
/>%
<div class="act_as_cell amount" style="width: 6.00%">
<span t-esc="account['percent_older']" />
%
</div>
</t>
</div>

104
account_financial_report/report/templates/general_ledger.xml

@ -14,9 +14,12 @@
<t t-set="foreign_currency" t-value="foreign_currency" />
<t t-set="filter_partner_ids" t-value="filter_partner_ids" />
<!-- Defines global variables used by internal layout -->
<t t-set="title">General Ledger - <t t-raw="company_name" /> - <t
t-raw="currency_name"
/></t>
<t t-set="title">
General Ledger -
<t t-raw="company_name" />
-
<t t-raw="currency_name" />
</t>
<div class="page">
<div class="row">
<h4
@ -34,7 +37,8 @@
<div class="act_as_caption account_title" style="width: 100%">
<span
t-esc="o._get_atr_from_dict(account['id'], accounts_data, 'code')"
/> -
/>
-
<span
t-esc="o._get_atr_from_dict(account['id'], accounts_data, 'name')"
/>
@ -115,7 +119,10 @@
</div>
<div class="act_as_row">
<div class="act_as_cell">
From: <span t-esc="date_from" /> To: <span t-esc="date_to" />
From:
<span t-esc="date_from" />
To:
<span t-esc="date_to" />
</div>
<div class="act_as_cell">
<t t-if="only_posted_moves">All posted entries</t>
@ -143,7 +150,8 @@
<div class="act_as_row labels">
<!--## date-->
<div class="act_as_cell first_column" style="width: 3.51%;">
Date</div>
Date
</div>
<!--## move-->
<div class="act_as_cell" style="width: 8.03%">Entry</div>
<!--## journal-->
@ -153,17 +161,17 @@
<!--## account code-->
<div class="act_as_cell" style="width: 8.89%;">Taxes</div>
<!--## partner-->
<div class="act_as_cell" style="width: 12.01%;">Partner
</div>
<div class="act_as_cell" style="width: 12.01%;">Partner</div>
<!--## ref - label-->
<div class="act_as_cell" style="width: 16.9%;">Ref -
Label</div>
<div class="act_as_cell" style="width: 16.9%;">
Ref -
Label
</div>
<t t-if="show_cost_center">
<!--## cost_center-->
<div
class="act_as_cell"
style="width: 8.03%;"
>Analytic Account</div>
<div class="act_as_cell" style="width: 8.03%;">
Analytic Account
</div>
</t>
<t t-if="show_analytic_tags">
<!--## analytic tags-->
@ -176,18 +184,16 @@
<!--## credit-->
<div class="act_as_cell amount" style="width: 8.02%;">Credit</div>
<!--## balance cumulated-->
<div
class="act_as_cell amount"
style="width: 8.02%;"
>Cumul. Bal.</div>
<div class="act_as_cell amount" style="width: 8.02%;">
Cumul. Bal.
</div>
<t t-if="foreign_currency">
<!--## currency_name-->
<div class="act_as_cell" style="width: 2.08%;">Cur.</div>
<!--## amount_currency-->
<div
class="act_as_cell amount"
style="width: 5.19%;"
>Amount cur.</div>
<div class="act_as_cell amount" style="width: 5.19%;">
Amount cur.
</div>
</t>
</div>
</div>
@ -229,7 +235,7 @@
<span t-att-domain="domain" res-model="account.move.line">
<t
t-raw="account_or_partner_object['init_bal']['debit']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -244,7 +250,7 @@
<span t-att-domain="domain" res-model="account.move.line">
<t
t-raw="account_or_partner_object['init_bal']['debit']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -261,7 +267,7 @@
<span t-att-domain="domain" res-model="account.move.line">
<t
t-raw="account_or_partner_object['init_bal']['credit']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -276,7 +282,7 @@
<span t-att-domain="domain" res-model="account.move.line">
<t
t-raw="account_or_partner_object['init_bal']['credit']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -292,7 +298,7 @@
<span t-att-domain="domain" res-model="account.move.line">
<t
t-raw="account_or_partner_object['init_bal']['balance']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -306,7 +312,7 @@
<span t-att-domain="domain" res-model="account.move.line">
<t
t-raw="account_or_partner_object['init_bal']['balance']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -516,7 +522,7 @@
>
<t
t-raw="line['debit']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -524,7 +530,7 @@
<span>
<t
t-raw="line['debit']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -539,7 +545,7 @@
>
<t
t-raw="line['credit']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -547,7 +553,7 @@
<span>
<t
t-raw="line['credit']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -562,7 +568,7 @@
>
<t
t-raw="line['balance']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -570,7 +576,7 @@
<span>
<t
t-raw="line['balance']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -609,22 +615,24 @@
<div class="act_as_row labels" style="font-weight: bold;">
<!--## date-->
<t t-if='type == "account_type"'>
<div class="act_as_cell first_column" style="width: 41.32%;"><span
<div class="act_as_cell first_column" style="width: 41.32%;">
<span
t-esc="o._get_atr_from_dict(account['id'], accounts_data, 'code')"
/> - <span
/>
-
<span
t-esc="o._get_atr_from_dict(account['id'], accounts_data, 'name')"
/></div>
<div
class="act_as_cell right"
style="width: 16.9%;"
>Ending balance</div>
/>
</div>
<div class="act_as_cell right" style="width: 16.9%;">
Ending balance
</div>
</t>
<t t-if='type == "partner_type"'>
<div class="act_as_cell first_column" style="width: 41.32%;" />
<div
class="act_as_cell right"
style="width: 16.9%;"
>Partner ending balance</div>
<div class="act_as_cell right" style="width: 16.9%;">
Partner ending balance
</div>
</t>
<t t-if="show_cost_center">
<!--## cost_center-->
@ -640,21 +648,21 @@
<div class="act_as_cell amount" style="width: 8.02%;">
<span
t-esc="account_or_partner_object['fin_bal']['debit']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## credit-->
<div class="act_as_cell amount" style="width: 8.02%;">
<span
t-esc="account_or_partner_object['fin_bal']['credit']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## balance cumulated-->
<div class="act_as_cell amount" style="width: 8.02%;">
<span
t-esc="account_or_partner_object['fin_bal']['balance']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## currency_name + amount_currency-->

56
account_financial_report/report/templates/journal_ledger.xml

@ -15,9 +15,12 @@
<t t-set="with_auto_sequence" t-value="with_auto_sequence" />
<t t-set="display_currency" t-value="foreign_currency" />
<t t-set="display_account_name" t-value="with_account_name" />
<t t-set="title">Journal Ledger - <t t-raw="company_name" /> - <t
t-raw="currency_name"
/></t>
<t t-set="title">
Journal Ledger -
<t t-raw="company_name" />
-
<t t-raw="currency_name" />
</t>
<t t-set="company_name" t-value="Company_Name" />
<div class="page">
<div class="row">
@ -64,12 +67,16 @@
<template id="account_financial_report.report_journal_ledger_journal">
<div class="act_as_table list_table" style="margin-top: 10px;" />
<div class="act_as_caption account_title" style="width: 100%;">
<span t-esc="journal['name']" /> (<span
t-esc="journal['currency_name']"
/>) - <span t-esc="date_from" t-options="{'widget': 'date'}" /> to <span
t-esc="date_to"
t-options="{'widget': 'date'}"
/> - <span t-esc="move_target" /> Moves
<span t-esc="journal['name']" />
(
<span t-esc="journal['currency_name']" />
) -
<span t-esc="date_from" t-options="{'widget': 'date'}" />
to
<span t-esc="date_to" t-options="{'widget': 'date'}" />
-
<span t-esc="move_target" />
Moves
</div>
<div class="act_as_table data_table" style="width: 100%;">
<t
@ -85,9 +92,7 @@
</template>
<template id="account_financial_report.report_journal_ledger_journal_table_header">
<t t-if="not display_account_name">
<t t-set="account_column_style">
width: 8.11%;
</t>
<t t-set="account_column_style">width: 8.11%;</t>
<t t-if="not with_auto_sequence">
<t t-set="label_column_style">
width: 38.92%;
@ -100,7 +105,7 @@
</t>
</t>
<t t-else="">
<t t-if="not with_auto_sequence">
<t t-if="not with_auto_sequence">
<t t-set="account_column_style">
width: 23.78%;
</t>
@ -110,9 +115,7 @@
width: 16.21%;
</t>
</t>
<t t-set="label_column_style">
width: 23.24%;
</t>
<t t-set="label_column_style">width: 23.24%;</t>
</t>
<div class="act_as_thead">
<div class="act_as_row labels">
@ -133,9 +136,7 @@
>
Entry
</div>
<div class="act_as_cell" name="date" style="width: 5.41%;">
Date
</div>
<div class="act_as_cell" name="date" style="width: 5.41%;">Date</div>
<div
class="act_as_cell"
name="account"
@ -149,12 +150,8 @@
<div class="act_as_cell" name="label" t-att-style="label_column_style">
Ref - Label
</div>
<div class="act_as_cell" name="taxes" style="width: 7.57%;">
Taxes
</div>
<div class="act_as_cell" name="debit" style="width: 8.65%;">
Debit
</div>
<div class="act_as_cell" name="taxes" style="width: 7.57%;">Taxes</div>
<div class="act_as_cell" name="debit" style="width: 8.65%;">Debit</div>
<div class="act_as_cell" name="credit" style="width: 8.65%;">
Credit
</div>
@ -200,8 +197,10 @@
</div>
<t t-if="display_currency">
<div class="act_as_cell" name="currency_name">
</div>
<div class="act_as_cell amount" name="amount_currency">
</div>
</t>
</div>
@ -253,7 +252,8 @@
t-esc="o._get_atr_from_dict(move_line['account_id'], account_ids_data, 'code')"
/>
<span t-if="display_account_name">
- <span
-
<span
t-esc="o._get_atr_from_dict(move_line['account_id'], account_ids_data, 'name')"
/>
</span>
@ -439,7 +439,8 @@
</div>
</div>
</div>
<div class="act_as_table data_table" style="width: 100%;">10
<div class="act_as_table data_table" style="width: 100%;">
10
<div class="act_as_row labels">
<div
class="act_as_cell first_column"
@ -466,7 +467,6 @@
Balance
</div>
</div>
<t t-foreach="ReportTaxLines" t-as="tax_line">
<div class="act_as_row lines">
<div class="act_as_cell left" name="tax_name">

73
account_financial_report/report/templates/open_items.xml

@ -13,9 +13,12 @@
<!-- Saved flag fields into variables, used to define columns display -->
<t t-set="foreign_currency" t-value="foreign_currency" />
<!-- Defines global variables used by internal layout -->
<t t-set="title">Open Items - <t t-raw="company_name" /> - <t
t-raw="currency_name"
/></t>
<t t-set="title">
Open Items -
<t t-raw="company_name" />
-
<t t-raw="currency_name" />
</t>
<t t-set="company_name" t-value="Company_Name" />
<div class="page">
<div class="row">
@ -31,10 +34,10 @@
<!-- Display account header -->
<div class="act_as_table list_table" style="margin-top: 10px;" />
<div class="account_title" style="width: 100%;">
<span t-esc="accounts_data[account_id]['code']" />
-
<span t-esc="accounts_data[account_id]['name']" />
</div>
<span t-esc="accounts_data[account_id]['code']" />
-
<span t-esc="accounts_data[account_id]['name']" />
</div>
<t t-if="not show_partner_details">
<div class="act_as_table data_table" style="width: 100%;">
<t
@ -128,8 +131,7 @@
<div class="act_as_thead">
<div class="act_as_row labels">
<!--## date-->
<div class="act_as_cell first_column" style="width: 5.51%;">
Date</div>
<div class="act_as_cell first_column" style="width: 5.51%;">Date</div>
<!--## move-->
<div class="act_as_cell" style="width: 9.76%;">Entry</div>
<!--## journal-->
@ -137,32 +139,32 @@
<!--## account code-->
<div class="act_as_cell" style="width: 5.38%;">Account</div>
<!--## partner-->
<div class="act_as_cell" style="width: 15.07%;">Partner
</div>
<div class="act_as_cell" style="width: 15.07%;">Partner</div>
<!--## ref - label-->
<div class="act_as_cell" style="width: 24.5%;">Ref -
Label</div>
<div class="act_as_cell" style="width: 24.5%;">
Ref -
Label
</div>
<!--## date_due-->
<div class="act_as_cell" style="width: 6.47%;">Due
date</div>
<!--## amount_total_due-->
<div class="act_as_cell" style="width: 6.57%;">Original
<div class="act_as_cell" style="width: 6.47%;">
Due
date
</div>
<!--## amount_total_due-->
<div class="act_as_cell" style="width: 6.57%;">Original</div>
<!--## amount_residual-->
<div class="act_as_cell" style="width: 6.57%;">Residual</div>
<t t-if="foreign_currency">
<!--## currency_name-->
<div class="act_as_cell" style="width: 2.25%;">Cur.</div>
<!--## amount_total_due_currency-->
<div
class="act_as_cell amount"
style="width: 6.57%;"
>Cur. Original</div>
<div class="act_as_cell amount" style="width: 6.57%;">
Cur. Original
</div>
<!--## amount_residual_currency-->
<div
class="act_as_cell amount"
style="width: 6.57%;"
>Cur. Residual</div>
<div class="act_as_cell amount" style="width: 6.57%;">
Cur. Residual
</div>
</t>
</div>
</div>
@ -228,14 +230,14 @@
<span
t-if="line.get('original', False)"
t-esc="line['original']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## amount_residual-->
<div class="act_as_cell amount">
<span
t-esc="line['amount_residual']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<t t-if="foreign_currency">
@ -275,15 +277,16 @@
-
<span t-esc="accounts_data[account_id]['name']" />
</div>
<div class="act_as_cell right" style="width: 28.66%;">Ending
balance</div>
<div class="act_as_cell right" style="width: 28.66%;">
Ending
balance
</div>
</t>
<t t-if='type == "partner_type"'>
<div class="act_as_cell first_column" style="width: 36.34%;" />
<div
class="act_as_cell right"
style="width: 28.66%;"
>Partner ending balance</div>
<div class="act_as_cell right" style="width: 28.66%;">
Partner ending balance
</div>
</t>
<!--## date_due-->
<div class="act_as_cell" style="width: 6.47%;" />
@ -294,13 +297,13 @@
<t t-if='type == "account_type"'>
<span
t-esc="total_amount[account_id]['residual']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</t>
<t t-if='type == "partner_type"'>
<span
t-esc="total_amount[account_id][partner_id]['residual']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</t>
</div>

106
account_financial_report/report/templates/trial_balance.xml

@ -16,9 +16,12 @@
<t t-set="show_hierarchy_level" t-value="show_hierarchy_level" />
<t t-set="limit_hierarchy_level" t-value="limit_hierarchy_level" />
<!-- Defines global variables used by internal layout -->
<t t-set="title">Trial Balance - <t t-raw="company_name" /> - <t
t-raw="currency_name"
/></t>
<t t-set="title">
Trial Balance -
<t t-raw="company_name" />
-
<t t-raw="currency_name" />
</t>
<t t-set="company_name" t-value="Company_Name" />
<!-- <t t-set="res_company" t-value="company_id"/>-->
<t class="page">
@ -160,10 +163,10 @@
</div>
<div class="act_as_row">
<div class="act_as_cell">
From: <span
t-esc="date_from"
t-options="{'widget': 'date'}"
/> To <span t-esc="date_to" t-options="{'widget': 'date'}" />
From:
<span t-esc="date_from" t-options="{'widget': 'date'}" />
To
<span t-esc="date_to" t-options="{'widget': 'date'}" />
</div>
<div class="act_as_cell">
<t t-if="only_posted_moves">All posted entries</t>
@ -175,11 +178,10 @@
</div>
<div class="act_as_cell">
<t t-if="limit_hierarchy_level">
Level <span t-esc="show_hierarchy_level" />
</t>
<t t-if="not limit_hierarchy_level">
No limit
Level
<span t-esc="show_hierarchy_level" />
</t>
<t t-if="not limit_hierarchy_level">No limit</t>
</div>
</div>
</div>
@ -192,17 +194,17 @@
<!--## Code-->
<div class="act_as_cell" style="width: 8%;">Code</div>
<!--## Account-->
<div class="act_as_cell" style="width: 25%;">Account
</div>
<div class="act_as_cell" style="width: 25%;">Account</div>
</t>
<t t-if="show_partner_details">
<!--## Partner-->
<div class="act_as_cell" style="width: 33%;">Partner
</div>
<div class="act_as_cell" style="width: 33%;">Partner</div>
</t>
<!--## Initial balance-->
<div class="act_as_cell" style="width: 9%;">Initial
balance</div>
<div class="act_as_cell" style="width: 9%;">
Initial
balance
</div>
<!--## Debit-->
<div class="act_as_cell" style="width: 9%;">Debit</div>
<!--## Credit-->
@ -215,10 +217,14 @@
<!--## currency_name-->
<div class="act_as_cell" style="width: 4%;">Cur.</div>
<!--## amount_currency-->
<div class="act_as_cell" style="width: 9%;">Initial
balance cur.</div>
<div class="act_as_cell" style="width: 9%;">Ending balance
cur.</div>
<div class="act_as_cell" style="width: 9%;">
Initial
balance cur.
</div>
<div class="act_as_cell" style="width: 9%;">
Ending balance
cur.
</div>
</t>
</div>
</div>
@ -300,7 +306,7 @@
<t
t-att-style="style"
t-esc="balance['initial_balance']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -314,7 +320,7 @@
<t
t-att-style="style"
t-raw="balance['initial_balance']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -330,7 +336,7 @@
<t
t-att-style="style"
t-raw="total_amount[account_id][partner_id]['initial_balance']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -350,7 +356,7 @@
<t
t-att-style="style"
t-esc="balance['debit']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -366,7 +372,7 @@
<t
t-att-style="style"
t-raw="balance['debit']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -384,7 +390,7 @@
<t
t-att-style="style"
t-raw="total_amount[account_id][partner_id]['debit']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -404,7 +410,7 @@
<t
t-att-style="style"
t-esc="balance['credit']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -420,7 +426,7 @@
<t
t-att-style="style"
t-raw="balance['credit']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -438,7 +444,7 @@
<t
t-att-style="style"
t-raw="total_amount[account_id][partner_id]['credit']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -458,7 +464,7 @@
<t
t-att-style="style"
t-esc="balance['balance']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -473,7 +479,7 @@
<t
t-att-style="style"
t-raw="balance['balance']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -491,7 +497,7 @@
<t
t-att-style="style"
t-raw="total_amount[account_id][partner_id]['balance']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -509,7 +515,7 @@
<t
t-att-style="style"
t-esc="balance['ending_balance']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -522,7 +528,7 @@
<t
t-att-style="style"
t-raw="balance['ending_balance']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -538,7 +544,7 @@
<t
t-att-style="style"
t-esc="total_amount[account_id][partner_id]['ending_balance']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</t>
@ -716,7 +722,7 @@
<!-- t-att-data-res-model="'account.move.line'"-->
<!-- class="o_account_financial_reports_web_action_monetary_multi"-->
<!-- t-att-style="style">-->
<!-- <t t-att-style="style" t-raw="account.initial_balance" t-options="{'widget': 'monetary', 'display_currency': company_currency}"/></a>-->
<!-- <t t-att-style="style" t-raw="account.initial_balance" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/></a>-->
<!-- </span>-->
<!-- </div>-->
<!-- &lt;!&ndash;## Debit&ndash;&gt;-->
@ -731,7 +737,7 @@
<!-- t-att-data-res-model="'account.move.line'"-->
<!-- class="o_account_financial_reports_web_action_monetary_multi"-->
<!-- t-att-style="style">-->
<!-- <t t-att-style="style" t-raw="account.debit" t-options="{'widget': 'monetary', 'display_currency': company_currency}"/></a>-->
<!-- <t t-att-style="style" t-raw="account.debit" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/></a>-->
<!-- </span>-->
<!-- </div>-->
<!-- &lt;!&ndash;## Credit&ndash;&gt;-->
@ -746,7 +752,7 @@
<!-- t-att-data-res-model="'account.move.line'"-->
<!-- class="o_account_financial_reports_web_action_monetary_multi"-->
<!-- t-att-style="style">-->
<!-- <t t-att-style="style" t-raw="account.credit" t-options="{'widget': 'monetary', 'display_currency': company_currency}"/></a>-->
<!-- <t t-att-style="style" t-raw="account.credit" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/></a>-->
<!-- </span>-->
<!-- </div>-->
<!-- &lt;!&ndash;## Period Balance &ndash;&gt;-->
@ -761,7 +767,7 @@
<!-- t-att-data-res-model="'account.move.line'"-->
<!-- class="o_account_financial_reports_web_action_monetary_multi"-->
<!-- t-att-style="style">-->
<!-- <t t-att-style="style" t-raw="account.period_balance" t-options="{'widget': 'monetary', 'display_currency': company_currency}"/></a>-->
<!-- <t t-att-style="style" t-raw="account.period_balance" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/></a>-->
<!-- </span>-->
<!-- </div>-->
<!-- &lt;!&ndash;## Ending balance&ndash;&gt;-->
@ -773,7 +779,7 @@
<!-- t-att-data-res-model="'account.move.line'"-->
<!-- class="o_account_financial_reports_web_action_monetary_multi"-->
<!-- t-att-style="style" >-->
<!-- <t t-att-style="style" t-raw="account.final_balance" t-options="{'widget': 'monetary', 'display_currency': company_currency}"/></a>-->
<!-- <t t-att-style="style" t-raw="account.final_balance" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/></a>-->
<!-- </span>-->
<!-- </div>-->
<!-- <t t-if="foreign_currency">-->
@ -824,43 +830,43 @@
<div class="act_as_row labels" style="font-weight: bold;">
<!--## date-->
<div class="act_as_cell first_column" style="width: 33%;">
<span t-esc="accounts_data[account_id]['code']" />
-
<span t-esc="accounts_data[account_id]['name']" />
</div>
<span t-esc="accounts_data[account_id]['code']" />
-
<span t-esc="accounts_data[account_id]['name']" />
</div>
<!--## Initial Balance-->
<div class="act_as_cell amount" style="width: 9%;">
<span
t-esc="total_amount[account_id]['initial_balance']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## Debit-->
<div class="act_as_cell amount" style="width: 9%;">
<span
t-esc="total_amount[account_id]['debit']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## Credit-->
<div class="act_as_cell amount" style="width: 9%;">
<span
t-esc="total_amount[account_id]['credit']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## Period balance-->
<div class="act_as_cell amount" style="width: 9%;">
<span
t-esc="total_amount[account_id]['balance']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<!--## Ending balance-->
<div class="act_as_cell amount" style="width: 9%;">
<span
t-esc="total_amount[account_id]['ending_balance']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<t t-if="foreign_currency">

24
account_financial_report/report/templates/vat_report.xml

@ -10,9 +10,12 @@
</t>
</template>
<template id="account_financial_report.report_vat_report_base">
<t t-set="title">VAT Report - <t t-raw="company_name" /> - <t
t-raw="currency_name"
/></t>
<t t-set="title">
VAT Report -
<t t-raw="company_name" />
-
<t t-raw="currency_name" />
</t>
<t t-set="company_name" t-value="company_name" />
<div class="page">
<div class="row">
@ -30,10 +33,9 @@
<div class="act_as_thead">
<div class="act_as_row labels">
<!--## code-->
<div
class="act_as_cell first_column"
style="width: 5%;"
>Code</div>
<div class="act_as_cell first_column" style="width: 5%;">
Code
</div>
<!--## name-->
<div class="act_as_cell" style="width: 65%;">Name</div>
<!--## net-->
@ -72,14 +74,14 @@
<t
t-att-style="style"
t-raw="tag_or_group['net']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
<div class="act_as_cell amount" style="width: 15%;">
<t
t-att-style="style"
t-raw="tag_or_group['tax']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</div>
</div>
@ -114,7 +116,7 @@
<t
t-att-style="style"
t-raw="tax['net']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</div>
@ -133,7 +135,7 @@
<t
t-att-style="style"
t-raw="tax['tax']"
t-options="{'widget': 'monetary', 'display_currency': company_currency}"
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
/>
</span>
</div>

106
account_financial_report/report/trial_balance.py

@ -10,7 +10,42 @@ from odoo import api, models
class TrialBalanceReport(models.AbstractModel):
_name = "report.account_financial_report.trial_balance"
_description = "Trial Balance Report"
_inherit = "report.account_financial_report.abstract_report"
@api.model
def get_html(self, given_context=None):
return self._get_html()
def _get_html(self):
result = {}
rcontext = {}
context = dict(self.env.context)
rcontext.update(context.get("data"))
active_id = context.get("active_id")
wiz = self.env["open.items.report.wizard"].browse(active_id)
rcontext["o"] = wiz
result["html"] = self.env.ref(
"account_financial_report.report_trial_balance"
).render(rcontext)
return result
def _get_accounts_data(self, account_ids):
accounts = self.env["account.account"].browse(account_ids)
accounts_data = {}
for account in accounts:
accounts_data.update(
{
account.id: {
"id": account.id,
"code": account.code,
"name": account.name,
"group_id": account.group_id.id,
"hide_account": False,
"currency_id": account.currency_id or False,
"currency_name": account.currency_id.name,
}
}
)
return accounts_data
def _get_initial_balances_bs_ml_domain(
self,
@ -39,8 +74,6 @@ class TrialBalanceReport(models.AbstractModel):
domain += [("partner_id", "in", partner_ids)]
if only_posted_moves:
domain += [("move_id.state", "=", "posted")]
else:
domain += [("move_id.state", "in", ["posted", "draft"])]
if show_partner_details:
domain += [("account_id.internal_type", "in", ["receivable", "payable"])]
return domain
@ -73,8 +106,6 @@ class TrialBalanceReport(models.AbstractModel):
domain += [("partner_id", "in", partner_ids)]
if only_posted_moves:
domain += [("move_id.state", "=", "posted")]
else:
domain += [("move_id.state", "in", ["posted", "draft"])]
if show_partner_details:
domain += [("account_id.internal_type", "in", ["receivable", "payable"])]
return domain
@ -106,8 +137,6 @@ class TrialBalanceReport(models.AbstractModel):
domain += [("partner_id", "in", partner_ids)]
if only_posted_moves:
domain += [("move_id.state", "=", "posted")]
else:
domain += [("move_id.state", "in", ["posted", "draft"])]
if show_partner_details:
domain += [("account_id.internal_type", "in", ["receivable", "payable"])]
return domain
@ -139,8 +168,6 @@ class TrialBalanceReport(models.AbstractModel):
domain += [("partner_id", "in", partner_ids)]
if only_posted_moves:
domain += [("move_id.state", "=", "posted")]
else:
domain += [("move_id.state", "in", ["posted", "draft"])]
if show_partner_details:
domain += [("account_id.internal_type", "in", ["receivable", "payable"])]
return domain
@ -225,25 +252,6 @@ class TrialBalanceReport(models.AbstractModel):
)
return total_amount
@api.model
def _compute_acc_prt_amount(
self, total_amount, tb, acc_id, prt_id, foreign_currency
):
total_amount[acc_id][prt_id] = {}
total_amount[acc_id][prt_id]["credit"] = 0.0
total_amount[acc_id][prt_id]["debit"] = 0.0
total_amount[acc_id][prt_id]["balance"] = 0.0
total_amount[acc_id][prt_id]["initial_balance"] = tb["balance"]
total_amount[acc_id][prt_id]["ending_balance"] = tb["balance"]
if foreign_currency:
total_amount[acc_id][prt_id]["initial_currency_balance"] = round(
tb["amount_currency"], 2
)
total_amount[acc_id][prt_id]["ending_currency_balance"] = round(
tb["amount_currency"], 2
)
return total_amount
@api.model
def _compute_partner_amount(
self, total_amount, tb_initial_prt, tb_period_prt, foreign_currency
@ -279,14 +287,34 @@ class TrialBalanceReport(models.AbstractModel):
{prt_id: {"id": prt_id, "name": tb["partner_id"][1]}}
)
if acc_id not in total_amount.keys():
total_amount = self._compute_acc_prt_amount(
total_amount, tb, acc_id, prt_id, foreign_currency
)
total_amount[acc_id][prt_id] = {}
total_amount[acc_id][prt_id]["credit"] = 0.0
total_amount[acc_id][prt_id]["debit"] = 0.0
total_amount[acc_id][prt_id]["balance"] = 0.0
total_amount[acc_id][prt_id]["initial_balance"] = tb["balance"]
total_amount[acc_id][prt_id]["ending_balance"] = tb["balance"]
if foreign_currency:
total_amount[acc_id][prt_id][
"initial_currency_balance"
] = round(tb["amount_currency"], 2)
total_amount[acc_id][prt_id]["ending_currency_balance"] = round(
tb["amount_currency"], 2
)
partners_ids.add(tb["partner_id"])
elif prt_id not in total_amount[acc_id].keys():
total_amount = self._compute_acc_prt_amount(
total_amount, tb, acc_id, prt_id, foreign_currency
)
total_amount[acc_id][prt_id] = {}
total_amount[acc_id][prt_id]["credit"] = 0.0
total_amount[acc_id][prt_id]["debit"] = 0.0
total_amount[acc_id][prt_id]["balance"] = 0.0
total_amount[acc_id][prt_id]["initial_balance"] = tb["balance"]
total_amount[acc_id][prt_id]["ending_balance"] = tb["balance"]
if foreign_currency:
total_amount[acc_id][prt_id][
"initial_currency_balance"
] = round(tb["amount_currency"], 2)
total_amount[acc_id][prt_id]["ending_currency_balance"] = round(
tb["amount_currency"], 2
)
partners_ids.add(tb["partner_id"])
else:
total_amount[acc_id][prt_id]["initial_balance"] += tb["balance"]
@ -519,7 +547,7 @@ class TrialBalanceReport(models.AbstractModel):
groups_data[group.id].update(
{
"id": group.id,
"code": group.code_prefix,
"code": group.code_prefix_start,
"name": group.name,
"parent_id": group.parent_id.id,
"parent_path": group.parent_path,
@ -553,7 +581,7 @@ class TrialBalanceReport(models.AbstractModel):
{
group.id: {
"id": group.id,
"code": group.code_prefix,
"code": group.code_prefix_start,
"name": group.name,
"parent_id": group.parent_id.id,
"parent_path": group.parent_path,
@ -600,12 +628,12 @@ class TrialBalanceReport(models.AbstractModel):
groups = self.env["account.group"].search([("id", "!=", False)])
groups_data = {}
for group in groups:
len_group_code = len(group.code_prefix)
len_group_code = len(group.code_prefix_start)
groups_data.update(
{
group.id: {
"id": group.id,
"code": group.code_prefix,
"code": group.code_prefix_start,
"name": group.name,
"parent_id": group.parent_id.id,
"parent_path": group.parent_path,
@ -624,7 +652,7 @@ class TrialBalanceReport(models.AbstractModel):
groups_data[group.id]["initial_currency_balance"] = 0.0
groups_data[group.id]["ending_currency_balance"] = 0.0
for account in accounts_data.values():
if group.code_prefix == account["code"][:len_group_code]:
if group.code_prefix_start == account["code"][:len_group_code]:
acc_id = account["id"]
group_id = group.id
groups_data[group_id]["initial_balance"] += total_amount[acc_id][

72
account_financial_report/report/trial_balance_xlsx.py

@ -1,5 +1,6 @@
# Author: Julien Coux
# Copyright 2016 Camptocamp SA
# Copyright 2021 Tecnativa - João Marques
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
@ -173,7 +174,7 @@ class TrialBalanceXslx(models.AbstractModel):
def _get_col_count_filter_value(self):
return 3
def _generate_report_content(self, workbook, report, data):
def _generate_report_content(self, workbook, report, data, report_data):
res_data = self.env[
"report.account_financial_report.trial_balance"
]._get_report_values(report, data)
@ -188,7 +189,7 @@ class TrialBalanceXslx(models.AbstractModel):
limit_hierarchy_level = res_data["limit_hierarchy_level"]
if not show_partner_details:
# Display array header for account lines
self.write_array_header()
self.write_array_header(report_data)
# For each account
if not show_partner_details:
@ -197,29 +198,30 @@ class TrialBalanceXslx(models.AbstractModel):
if limit_hierarchy_level:
if show_hierarchy_level > balance["level"]:
# Display account lines
self.write_line_from_dict(balance)
self.write_line_from_dict(balance, report_data)
else:
self.write_line_from_dict(balance)
self.write_line_from_dict(balance, report_data)
elif hierarchy_on == "computed":
if balance["type"] == "account_type":
if limit_hierarchy_level:
if show_hierarchy_level > balance["level"]:
# Display account lines
self.write_line_from_dict(balance)
self.write_line_from_dict(balance, report_data)
else:
self.write_line_from_dict(balance)
self.write_line_from_dict(balance, report_data)
else:
self.write_line_from_dict(balance)
self.write_line_from_dict(balance, report_data)
else:
for account_id in total_amount:
# Write account title
self.write_array_title(
accounts_data[account_id]["code"]
+ "- "
+ accounts_data[account_id]["name"]
+ accounts_data[account_id]["name"],
report_data,
)
# Display array header for partner lines
self.write_array_header()
self.write_array_header(report_data)
# For each partner
for partner_id in total_amount[account_id]:
@ -228,6 +230,7 @@ class TrialBalanceXslx(models.AbstractModel):
self.write_line_from_dict_order(
total_amount[account_id][partner_id],
partners_data[partner_id],
report_data,
)
# Display account footer line
@ -256,16 +259,17 @@ class TrialBalanceXslx(models.AbstractModel):
accounts_data[account_id]["code"]
+ "- "
+ accounts_data[account_id]["name"],
report_data,
)
# Line break
self.row_pos += 2
report_data["row_pos"] += 2
def write_line_from_dict_order(self, total_amount, partner_data):
def write_line_from_dict_order(self, total_amount, partner_data, report_data):
total_amount.update({"name": str(partner_data["name"])})
self.write_line_from_dict(total_amount)
self.write_line_from_dict(total_amount, report_data)
def write_line(self, line_object, type_object):
def write_line(self, line_object, type_object, report_data):
"""Write a line on current line using all defined columns field name.
Columns are defined with `_get_report_columns` method.
"""
@ -273,33 +277,47 @@ class TrialBalanceXslx(models.AbstractModel):
line_object.currency_id = line_object.report_account_id.currency_id
elif type_object == "account":
line_object.currency_id = line_object.currency_id
super(TrialBalanceXslx, self).write_line(line_object)
super(TrialBalanceXslx, self).write_line(line_object, report_data)
def write_account_footer(self, account, name_value):
def write_account_footer(self, account, name_value, report_data):
"""Specific function to write account footer for Trial Balance"""
format_amt = self._get_currency_amt_header_format_dict(account)
for col_pos, column in self.columns.items():
format_amt = self._get_currency_amt_header_format_dict(account, report_data)
for col_pos, column in report_data["columns"].items():
if column["field"] == "name":
value = name_value
else:
value = account[column["field"]]
cell_type = column.get("type", "string")
if cell_type == "string":
self.sheet.write_string(
self.row_pos, col_pos, value or "", self.format_header_left
report_data["sheet"].write_string(
report_data["row_pos"],
col_pos,
value or "",
report_data["formats"]["format_header_left"],
)
elif cell_type == "amount":
self.sheet.write_number(
self.row_pos, col_pos, float(value), self.format_header_amount
report_data["sheet"].write_number(
report_data["row_pos"],
col_pos,
float(value),
report_data["formats"]["format_header_amount"],
)
elif cell_type == "many2one" and account["currency_id"]:
self.sheet.write_string(
self.row_pos, col_pos, value.name or "", self.format_header_right
report_data["sheet"].write_string(
report_data["row_pos"],
col_pos,
value.name or "",
report_data["formats"]["format_header_right"],
)
elif cell_type == "amount_currency" and account["currency_id"]:
self.sheet.write_number(self.row_pos, col_pos, float(value), format_amt)
report_data["sheet"].write_number(
report_data["row_pos"], col_pos, float(value), format_amt
)
else:
self.sheet.write_string(
self.row_pos, col_pos, "", self.format_header_right
report_data["sheet"].write_string(
report_data["row_pos"],
col_pos,
"",
report_data["formats"]["format_header_right"],
)
self.row_pos += 1
report_data["row_pos"] += 1

12
account_financial_report/report/vat_report.py

@ -40,8 +40,6 @@ class VATReport(models.AbstractModel):
]
if only_posted_moves:
domain += [("move_id.state", "=", "posted")]
else:
domain += [("move_id.state", "in", ["posted", "draft"])]
return domain
@api.model
@ -54,8 +52,6 @@ class VATReport(models.AbstractModel):
]
if only_posted_moves:
domain += [("move_id.state", "=", "posted")]
else:
domain += [("move_id.state", "in", ["posted", "draft"])]
return domain
def _get_vat_report_data(self, company_id, date_from, date_to, only_posted_moves):
@ -69,16 +65,17 @@ class VATReport(models.AbstractModel):
"tax_line_id",
"tax_ids",
"analytic_tag_ids",
"tag_ids",
]
tax_move_lines = self.env["account.move.line"].search_read(
domain=tax_domain, fields=ml_fields,
domain=tax_domain,
fields=ml_fields,
)
net_domain = self._get_net_report_domain(
company_id, date_from, date_to, only_posted_moves
)
taxed_move_lines = self.env["account.move.line"].search_read(
domain=net_domain, fields=ml_fields,
domain=net_domain,
fields=ml_fields,
)
taxed_move_lines = list(filter(lambda d: d["tax_ids"], taxed_move_lines))
vat_data = []
@ -229,7 +226,6 @@ class VATReport(models.AbstractModel):
"doc_model": "open.items.report.wizard",
"docs": self.env["open.items.report.wizard"].browse(wizard_id),
"company_name": company.display_name,
"company_currency": company.currency_id,
"currency_name": company.currency_id.name,
"date_to": data["date_to"],
"date_from": data["date_from"],

9
account_financial_report/report/vat_report_xlsx.py

@ -1,4 +1,5 @@
# Copyright 2018 Forest and Biomass Romania
# Copyright 2021 Tecnativa - João Marques
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import _, models
@ -42,19 +43,19 @@ class VATReportXslx(models.AbstractModel):
def _get_col_count_filter_value(self):
return 2
def _generate_report_content(self, workbook, report, data):
def _generate_report_content(self, workbook, report, data, report_data):
res_data = self.env[
"report.account_financial_report.vat_report"
]._get_report_values(report, data)
vat_report = res_data["vat_report"]
tax_detail = res_data["tax_detail"]
# For each tax_tag tax_group
self.write_array_header()
self.write_array_header(report_data)
for tag_or_group in vat_report:
# Write taxtag line
self.write_line_from_dict(tag_or_group)
self.write_line_from_dict(tag_or_group, report_data)
# For each tax if detail taxes
if tax_detail:
for tax in tag_or_group["taxes"]:
self.write_line_from_dict(tax)
self.write_line_from_dict(tax, report_data)

199
account_financial_report/reports.xml

@ -1,120 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<!-- PDF/HMTL REPORTS -->
<!-- General Ledger -->
<report
id="action_print_report_general_ledger_qweb"
model="general.ledger.report.wizard"
string="General Ledger"
report_type="qweb-pdf"
menu="False"
name="account_financial_report.general_ledger"
file="account_financial_report.general_ledger"
/>
<report
id="action_print_report_general_ledger_html"
model="general.ledger.report.wizard"
string="General Ledger"
report_type="qweb-html"
menu="False"
name="account_financial_report.general_ledger"
file="account_financial_report.general_ledger"
/>
<!-- Journal Ledger -->
<report
id="action_print_journal_ledger_wizard_qweb"
model="journal.ledger.report.wizard"
report_type="qweb-pdf"
menu="False"
string="Journal Ledger"
name="account_financial_report.journal_ledger"
file="account_financial_report.journal_ledger"
/>
<report
id="action_print_journal_ledger_wizard_html"
model="journal.ledger.report.wizard"
report_type="qweb-html"
menu="False"
string="Journal Ledger"
name="account_financial_report.journal_ledger"
file="account_financial_report.journal_ledger"
/>
<!-- Trial Balance -->
<report
id="action_report_trial_balance_qweb"
model="trial.balance.report.wizard"
string="Trial Balance"
menu="False"
report_type="qweb-pdf"
name="account_financial_report.trial_balance"
file="account_financial_report.trial_balance"
/>
<report
id="action_report_trial_balance_html"
model="trial.balance.report.wizard"
string="Trial Balance"
menu="False"
report_type="qweb-html"
name="account_financial_report.trial_balance"
file="account_financial_report.trial_balance"
/>
<!-- Open Items -->
<report
id="action_print_report_open_items_qweb"
model="open.items.report.wizard"
string="Open Items"
menu="False"
report_type="qweb-pdf"
name="account_financial_report.open_items"
file="account_financial_report.open_items"
/>
<report
id="action_print_report_open_items_html"
model="open.items.report.wizard"
string="Open Items"
menu="False"
report_type="qweb-html"
name="account_financial_report.open_items"
file="account_financial_report.open_items"
/>
<!-- Aged Partner Balance -->
<report
id="action_print_report_aged_partner_balance_qweb"
model="aged.partner.balance.report.wizard"
string="Aged Partner Balance"
report_type="qweb-pdf"
menu="False"
name="account_financial_report.aged_partner_balance"
file="account_financial_report.aged_partner_balance"
/>
<report
id="action_print_report_aged_partner_balance_html"
model="aged.partner.balance.report.wizard"
string="Aged Partner Balance"
report_type="qweb-html"
menu="False"
name="account_financial_report.aged_partner_balance"
file="account_financial_report.aged_partner_balance"
/>
<!-- VAT Report -->
<report
id="action_print_report_vat_report_qweb"
model="vat.report.wizard"
string="VAT Report"
report_type="qweb-pdf"
menu="False"
name="account_financial_report.vat_report"
file="account_financial_report.vat_report"
/>
<report
id="action_print_report_vat_report_html"
model="vat.report.wizard"
string="VAT Report"
report_type="qweb-html"
menu="False"
name="account_financial_report.vat_report"
file="account_financial_report.vat_report"
/>
<!-- PDF REPORTS : paperformat -->
<record id="report_qweb_paperformat" model="report.paperformat">
<field name="name">Account financial report qweb paperformat</field>
@ -131,27 +16,111 @@
<field name="header_spacing">10</field>
<field name="dpi">110</field>
</record>
<!-- PDF/HMTL REPORTS -->
<!-- General Ledger -->
<record id="action_print_report_general_ledger_qweb" model="ir.actions.report">
<field name="name">General Ledger</field>
<field name="model">general.ledger.report.wizard</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">account_financial_report.general_ledger</field>
<field name="report_file">account_financial_report.general_ledger</field>
<field name="paperformat_id" ref="report_qweb_paperformat" />
</record>
<record id="action_print_report_general_ledger_html" model="ir.actions.report">
<field name="name">General Ledger</field>
<field name="model">general.ledger.report.wizard</field>
<field name="report_type">qweb-html</field>
<field name="report_name">account_financial_report.general_ledger</field>
<field name="report_file">account_financial_report.general_ledger</field>
</record>
<!-- Journal Ledger -->
<record id="action_print_journal_ledger_wizard_qweb" model="ir.actions.report">
<field name="name">ournal Ledger</field>
<field name="model">journal.ledger.report.wizard</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">account_financial_report.journal_ledger</field>
<field name="report_file">account_financial_report.journal_ledger</field>
<field name="paperformat_id" ref="report_qweb_paperformat" />
</record>
<record id="action_print_journal_ledger_wizard_html" model="ir.actions.report">
<field name="name">Journal Ledger</field>
<field name="model">journal.ledger.report.wizard</field>
<field name="report_type">qweb-html</field>
<field name="report_name">account_financial_report.journal_ledger</field>
<field name="report_file">account_financial_report.journal_ledger</field>
</record>
<!-- Trial Balance -->
<record id="action_report_trial_balance_qweb" model="ir.actions.report">
<field name="name">Trial Balance</field>
<field name="model">trial.balance.report.wizard</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">account_financial_report.trial_balance</field>
<field name="report_file">account_financial_report.trial_balance</field>
<field name="paperformat_id" ref="report_qweb_paperformat" />
</record>
<record id="action_report_trial_balance_html" model="ir.actions.report">
<field name="name">Trial Balance</field>
<field name="model">trial.balance.report.wizard</field>
<field name="report_type">qweb-html</field>
<field name="report_name">account_financial_report.trial_balance</field>
<field name="report_file">account_financial_report.trial_balance</field>
</record>
<!-- Open Items -->
<record id="action_print_report_open_items_qweb" model="ir.actions.report">
<field name="name">Open Items</field>
<field name="model">open.items.report.wizard</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">account_financial_report.open_items</field>
<field name="report_file">account_financial_report.open_items</field>
<field name="paperformat_id" ref="report_qweb_paperformat" />
</record>
<record id="action_print_report_open_items_html" model="ir.actions.report">
<field name="name">Open Items</field>
<field name="model">open.items.report.wizard</field>
<field name="report_type">qweb-html</field>
<field name="report_name">account_financial_report.open_items</field>
<field name="report_file">account_financial_report.open_items</field>
</record>
<!-- Aged Partner Balance -->
<record
id="action_print_report_aged_partner_balance_qweb"
model="ir.actions.report"
>
<field name="name">Aged Partner Balance</field>
<field name="model">aged.partner.balance.report.wizard</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">account_financial_report.aged_partner_balance</field>
<field name="report_file">account_financial_report.aged_partner_balance</field>
<field name="paperformat_id" ref="report_qweb_paperformat" />
</record>
<record
id="action_print_report_aged_partner_balance_html"
model="ir.actions.report"
>
<field name="name">Aged Partner Balance</field>
<field name="model">aged.partner.balance.report.wizard</field>
<field name="report_type">qweb-html</field>
<field name="report_name">account_financial_report.aged_partner_balance</field>
<field name="report_file">account_financial_report.aged_partner_balance</field>
</record>
<!-- VAT Report -->
<record id="action_print_report_vat_report_qweb" model="ir.actions.report">
<field name="name">VAT Report</field>
<field name="model">vat.report.wizard</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">account_financial_report.vat_report</field>
<field name="report_file">account_financial_report.vat_report</field>
<field name="paperformat_id" ref="report_qweb_paperformat" />
</record>
<record id="action_print_report_vat_report_html" model="ir.actions.report">
<field name="name">VAT Report</field>
<field name="model">vat.report.wizard</field>
<field name="report_type">qweb-html</field>
<field name="report_name">account_financial_report.vat_report</field>
<field name="report_file">account_financial_report.vat_report</field>
</record>
<!-- XLSX REPORTS -->
<record id="action_report_general_ledger_xlsx" model="ir.actions.report">
<field name="name">General Ledger XLSX</field>

7
account_financial_report/security/ir.model.access.csv

@ -0,0 +1,7 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_aged_partner_balance_report_wizard,access_aged_partner_balance_report_wizard,model_aged_partner_balance_report_wizard,base.group_user,1,1,1,1
access_general_ledger_report_wizard,access_general_ledger_report_wizard,model_general_ledger_report_wizard,base.group_user,1,1,1,1
access_journal_ledger_report_wizard,access_journal_ledger_report_wizard,model_journal_ledger_report_wizard,base.group_user,1,1,1,1
access_open_items_report_wizard,access_open_items_report_wizard,model_open_items_report_wizard,base.group_user,1,1,1,1
access_trial_balance_report_wizard,access_trial_balance_report_wizard,model_trial_balance_report_wizard,base.group_user,1,1,1,1
access_vat_report_wizard,access_vat_report_wizard,model_vat_report_wizard,base.group_user,1,1,1,1

8
account_financial_report/static/description/index.html

@ -367,7 +367,7 @@ ul.auto-toc {
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/account-financial-reporting/tree/13.0/account_financial_report"><img alt="OCA/account-financial-reporting" src="https://img.shields.io/badge/github-OCA%2Faccount--financial--reporting-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/account-financial-reporting-13-0/account-financial-reporting-13-0-account_financial_report"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/91/13.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/account-financial-reporting/tree/14.0/account_financial_report"><img alt="OCA/account-financial-reporting" src="https://img.shields.io/badge/github-OCA%2Faccount--financial--reporting-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/account-financial-reporting-14-0/account-financial-reporting-14-0-account_financial_report"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/91/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>This module adds a set of financial reports. They are accessible under
Invoicing / Reporting / OCA accounting reports.</p>
<ul class="simple">
@ -444,7 +444,7 @@ in “Target Moves” field in a wizard</li>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/account-financial-reporting/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/account-financial-reporting/issues/new?body=module:%20account_financial_report%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/account-financial-reporting/issues/new?body=module:%20account_financial_report%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
@ -483,10 +483,10 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
<li>Pedro M. Baeza</li>
<li>Sergio Teruel</li>
<li>Ernesto Tejeda</li>
<li>João Marques</li>
<li>Alexandre D. Díaz</li>
</ul>
</li>
<li>Lois Rilo &lt;<a class="reference external" href="mailto:lois.rilo&#64;forgeflow.com">lois.rilo&#64;forgeflow.com</a>&gt;</li>
<li><a class="reference external" href="https://www.sygel.es">Sygel</a>:<ul>
<li>Harald Panten</li>
<li>Valentin Vinagre</li>
@ -503,7 +503,7 @@ April 2016.</p>
<p>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.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-financial-reporting/tree/13.0/account_financial_report">OCA/account-financial-reporting</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-financial-reporting/tree/14.0/account_financial_report">OCA/account-financial-reporting</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>

6
account_financial_report/static/src/js/action_manager_report.js

@ -1,4 +1,4 @@
odoo.define("account_financial_report.ReportActionManager", function(require) {
odoo.define("account_financial_report.ReportActionManager", function (require) {
"use strict";
const ActionManager = require("web.ActionManager");
@ -8,12 +8,12 @@ odoo.define("account_financial_report.ReportActionManager", function(require) {
/**
* @override
*/
_executeReportClientAction: function(action, options) {
_executeReportClientAction: function (action, options) {
const MODULE_NAME = "account_financial_report";
// When 'report_action' is called from the backend, Odoo hardcodes the action tag.
// We have to make a hack to use our own report controller.
if (action.report_file.startsWith(`${MODULE_NAME}.`)) {
if (action.report_name.startsWith(`${MODULE_NAME}.`)) {
const urls = this._makeReportUrls(action);
const clientActionOptions = _.extend({}, options, {
context: action.context,

17
account_financial_report/static/src/js/client_action.js

@ -1,4 +1,4 @@
odoo.define("account_financial_report.client_action", function(require) {
odoo.define("account_financial_report.client_action", function (require) {
"use strict";
var ReportAction = require("report.client_action");
@ -7,7 +7,7 @@ odoo.define("account_financial_report.client_action", function(require) {
var QWeb = core.qweb;
const AFRReportAction = ReportAction.extend({
start: function() {
start: function () {
return this._super.apply(this, arguments).then(() => {
this.$buttons = $(
QWeb.render(
@ -18,11 +18,15 @@ odoo.define("account_financial_report.client_action", function(require) {
this.$buttons.on("click", ".o_report_print", this.on_click_print);
this.$buttons.on("click", ".o_report_export", this.on_click_export);
this._update_control_panel();
this.controlPanelProps.cp_content = {
$buttons: this.$buttons,
};
this._controlPanelWrapper.update(this.controlPanelProps);
});
},
on_click_export: function() {
on_click_export: function () {
const action = {
type: "ir.actions.report",
report_type: "xlsx",
@ -39,7 +43,10 @@ odoo.define("account_financial_report.client_action", function(require) {
* @param {String} str
* @returns {String}
*/
_get_xlsx_name: function(str) {
_get_xlsx_name: function (str) {
if (!_.isString(str)) {
return str;
}
const parts = str.split(".");
return `a_f_r.report_${parts[parts.length - 1]}_xlsx`;
},

6
account_financial_report/static/src/js/report.js

@ -1,4 +1,4 @@
odoo.define("account_financial_report.report", function(require) {
odoo.define("account_financial_report.report", function (require) {
"use strict";
require("web.dom_ready");
@ -25,7 +25,7 @@ odoo.define("account_financial_report.report", function(require) {
.replaceAll(".", " ")
.replace(
/\w\S*/g,
txt => `${txt.charAt(0).toUpperCase()}${txt.substr(1).toLowerCase()}`
(txt) => `${txt.charAt(0).toUpperCase()}${txt.substr(1).toLowerCase()}`
);
}
@ -34,7 +34,7 @@ odoo.define("account_financial_report.report", function(require) {
$("[res-model][domain]")
.wrap("<a/>")
.attr("href", "#")
.on("click", function(ev) {
.on("click", function (ev) {
ev.preventDefault();
const res_model = $(this).attr("res-model");
const action = {

51
account_financial_report/tests/test_general_ledger.py

@ -7,35 +7,34 @@ import time
from datetime import date
from odoo import api, fields
from odoo.tests import common
class TestGeneralLedgerReport(common.TransactionCase):
def setUp(self):
super(TestGeneralLedgerReport, self).setUp()
self.before_previous_fy_year = fields.Date.from_string("2014-05-05")
self.previous_fy_date_start = fields.Date.from_string("2015-01-01")
self.previous_fy_date_end = fields.Date.from_string("2015-12-31")
self.fy_date_start = fields.Date.from_string("2016-01-01")
self.fy_date_end = fields.Date.from_string("2016-12-31")
self.receivable_account = self.env["account.account"].search(
[("user_type_id.name", "=", "Receivable")], limit=1
)
self.income_account = self.env["account.account"].search(
[("user_type_id.name", "=", "Income")], limit=1
)
self.unaffected_account = self.env["account.account"].search(
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
class TestGeneralLedgerReport(AccountTestInvoicingCommon):
@classmethod
def setUpClass(cls, chart_template_ref=None):
super().setUpClass(chart_template_ref=chart_template_ref)
cls.before_previous_fy_year = fields.Date.from_string("2014-05-05")
cls.previous_fy_date_start = fields.Date.from_string("2015-01-01")
cls.previous_fy_date_end = fields.Date.from_string("2015-12-31")
cls.fy_date_start = fields.Date.from_string("2016-01-01")
cls.fy_date_end = fields.Date.from_string("2016-12-31")
# Get accounts
cls.receivable_account = cls.company_data["default_account_receivable"]
cls.income_account = cls.company_data["default_account_revenue"]
cls.unaffected_account = cls.env["account.account"].search(
[
(
"user_type_id",
"=",
self.env.ref("account.data_unaffected_earnings").id,
)
cls.env.ref("account.data_unaffected_earnings").id,
),
("company_id", "=", cls.env.user.company_id.id),
],
limit=1,
)
self.partner = self.env.ref("base.res_partner_12")
cls.partner = cls.env.ref("base.res_partner_12")
def _add_move(
self,
@ -47,7 +46,9 @@ class TestGeneralLedgerReport(common.TransactionCase):
unaffected_debit=0,
unaffected_credit=0,
):
journal = self.env["account.journal"].search([], limit=1)
journal = self.env["account.journal"].search(
[("company_id", "=", self.env.user.company_id.id)], limit=1
)
partner = self.env.ref("base.res_partner_12")
move_vals = {
"journal_id": journal.id,
@ -86,13 +87,13 @@ class TestGeneralLedgerReport(common.TransactionCase):
],
}
move = self.env["account.move"].create(move_vals)
move.post()
move.action_post()
def _get_report_lines(self, with_partners=False, account_ids=False):
centralize = True
if with_partners:
centralize = False
company = self.env.ref("base.main_company")
company = self.env.user.company_id
general_ledger = self.env["general.ledger.report.wizard"].create(
{
"date_from": self.fy_date_start,
@ -692,7 +693,7 @@ class TestGeneralLedgerReport(common.TransactionCase):
self.assertEqual(wizard._default_partners(), expected_list)
def test_validate_date(self):
company_id = self.env.ref("base.main_company")
company_id = self.env.user.company_id
company_id.write({"fiscalyear_last_day": 31, "fiscalyear_last_month": "12"})
user = self.env.ref("base.user_root").with_context(company_id=company_id.id)
wizard = self.env["general.ledger.report.wizard"].with_context(user=user.id)

175
account_financial_report/tests/test_journal_ledger.py

@ -7,76 +7,46 @@ from datetime import datetime
from dateutil.relativedelta import relativedelta
from odoo.fields import Date
from odoo.tests.common import Form, TransactionCase
class TestJournalReport(TransactionCase):
def setUp(self):
super(TestJournalReport, self).setUp()
self.AccountObj = self.env["account.account"]
self.InvoiceObj = self.env["account.move"]
self.JournalObj = self.env["account.journal"]
self.MoveObj = self.env["account.move"]
self.TaxObj = self.env["account.tax"]
self.JournalLedgerReportWizard = self.env["journal.ledger.report.wizard"]
self.JournalLedgerReport = self.env[
from odoo.tests.common import Form
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
class TestJournalReport(AccountTestInvoicingCommon):
@classmethod
def setUpClass(cls, chart_template_ref=None):
super().setUpClass(chart_template_ref=chart_template_ref)
cls.AccountObj = cls.env["account.account"]
cls.InvoiceObj = cls.env["account.move"]
cls.JournalObj = cls.env["account.journal"]
cls.MoveObj = cls.env["account.move"]
cls.TaxObj = cls.env["account.tax"]
cls.JournalLedgerReportWizard = cls.env["journal.ledger.report.wizard"]
cls.JournalLedgerReport = cls.env[
"report.account_financial_report.journal_ledger"
]
self.company = self.env.ref("base.main_company")
self.company.account_sale_tax_id = False
self.company.account_purchase_tax_id = False
cls.company = cls.company_data["company"]
cls.company.account_sale_tax_id = False
cls.company.account_purchase_tax_id = False
today = datetime.today()
last_year = today - relativedelta(years=1)
self.previous_fy_date_start = Date.to_string(last_year.replace(month=1, day=1))
self.previous_fy_date_end = Date.to_string(last_year.replace(month=12, day=31))
self.fy_date_start = Date.to_string(today.replace(month=1, day=1))
self.fy_date_end = Date.to_string(today.replace(month=12, day=31))
self.receivable_account = self.AccountObj.search(
[("user_type_id.name", "=", "Receivable")], limit=1
)
self.income_account = self.AccountObj.search(
[("user_type_id.name", "=", "Income")], limit=1
)
self.expense_account = self.AccountObj.search(
[("user_type_id.name", "=", "Expenses")], limit=1
)
self.payable_account = self.AccountObj.search(
[("user_type_id.name", "=", "Payable")], limit=1
)
self.journal_sale = self.JournalObj.create(
{
"name": "Test journal sale",
"code": "TST-JRNL-S",
"type": "sale",
"company_id": self.company.id,
}
)
self.journal_purchase = self.JournalObj.create(
{
"name": "Test journal purchase",
"code": "TST-JRNL-P",
"type": "purchase",
"company_id": self.company.id,
}
)
self.tax_15_s = self.TaxObj.create(
{
"sequence": 30,
"name": "Tax 15.0% (Percentage of Price)",
"amount": 15.0,
"amount_type": "percent",
"include_base_amount": False,
"type_tax_use": "sale",
}
)
self.tax_20_s = self.TaxObj.create(
cls.previous_fy_date_start = Date.to_string(last_year.replace(month=1, day=1))
cls.previous_fy_date_end = Date.to_string(last_year.replace(month=12, day=31))
cls.fy_date_start = Date.to_string(today.replace(month=1, day=1))
cls.fy_date_end = Date.to_string(today.replace(month=12, day=31))
cls.receivable_account = cls.company_data["default_account_receivable"]
cls.income_account = cls.company_data["default_account_revenue"]
cls.expense_account = cls.company_data["default_account_expense"]
cls.payable_account = cls.company_data["default_account_payable"]
cls.journal_sale = cls.company_data["default_journal_sale"]
cls.journal_purchase = cls.company_data["default_journal_purchase"]
cls.tax_15_s = cls.company_data["default_tax_sale"]
cls.tax_15_s.sequence = 30
cls.tax_15_s.amount = 15.0
cls.tax_15_s.amount_type = "percent"
cls.tax_15_s.include_base_amount = False
cls.tax_15_s.type_tax_use = "sale"
cls.tax_20_s = cls.tax_15_s.copy(
{
"sequence": 30,
"name": "Tax 20.0% (Percentage of Price)",
@ -86,19 +56,13 @@ class TestJournalReport(TransactionCase):
"type_tax_use": "sale",
}
)
self.tax_15_p = self.TaxObj.create(
{
"sequence": 30,
"name": "Tax 15.0% (Percentage of Price)",
"amount": 15.0,
"amount_type": "percent",
"include_base_amount": False,
"type_tax_use": "purchase",
}
)
self.tax_20_p = self.TaxObj.create(
cls.tax_15_p = cls.company_data["default_tax_purchase"]
cls.tax_15_p.sequence = 30
cls.tax_15_p.amount = 15.0
cls.tax_15_p.amount_type = "percent"
cls.tax_15_p.include_base_amount = False
cls.tax_15_p.type_tax_use = "purchase"
cls.tax_20_p = cls.tax_15_p.copy(
{
"sequence": 30,
"name": "Tax 20.0% (Percentage of Price)",
@ -108,8 +72,7 @@ class TestJournalReport(TransactionCase):
"type_tax_use": "purchase",
}
)
self.partner_2 = self.env.ref("base.res_partner_2")
cls.partner_2 = cls.env.ref("base.res_partner_2")
def _add_move(
self,
@ -215,15 +178,15 @@ class TestJournalReport(TransactionCase):
res_data = self.JournalLedgerReport._get_report_values(wiz, data)
self.check_report_journal_debit_credit(res_data, 0, 0)
move1.post()
move1.action_post()
res_data = self.JournalLedgerReport._get_report_values(wiz, data)
self.check_report_journal_debit_credit(res_data, 100, 100)
move2.post()
move2.action_post()
res_data = self.JournalLedgerReport._get_report_values(wiz, data)
self.check_report_journal_debit_credit(res_data, 100, 100)
move3.post()
move3.action_post()
res_data = self.JournalLedgerReport._get_report_values(wiz, data)
self.check_report_journal_debit_credit(res_data, 200, 200)
@ -234,7 +197,7 @@ class TestJournalReport(TransactionCase):
def test_02_test_taxes_out_invoice(self):
move_form = Form(
self.env["account.move"].with_context(default_type="out_invoice")
self.env["account.move"].with_context(default_move_type="out_invoice")
)
move_form.partner_id = self.partner_2
move_form.journal_id = self.journal_sale
@ -252,7 +215,7 @@ class TestJournalReport(TransactionCase):
line_form.tax_ids.add(self.tax_15_s)
line_form.tax_ids.add(self.tax_20_s)
invoice = move_form.save()
invoice.post()
invoice.action_post()
wiz = self.JournalLedgerReportWizard.create(
{
@ -269,45 +232,12 @@ class TestJournalReport(TransactionCase):
self.check_report_journal_debit_credit_taxes(res_data, 0, 300, 0, 50)
def test_03_test_taxes_in_invoice(self):
# invoice_values = {
# "journal_id": self.journal_purchase.id,
# "partner_id": self.partner_2.id,
# "type": "in_invoice",
# "invoice_line_ids": [
# (
# 0,
# 0,
# {
# "quantity": 1.0,
# "price_unit": 100,
# "account_id": self.payable_account.id,
# "name": "Test",
# "tax_ids": [(6, 0, [self.tax_15_p.id])],
# },
# ),
# (
# 0,
# 0,
# {
# "quantity": 1.0,
# "price_unit": 100,
# "account_id": self.payable_account.id,
# "name": "Test",
# "tax_ids": [
# (6, 0, [self.tax_15_p.id, self.tax_20_p.id])
# ],
# },
# ),
# ],
# }
# invoice = self.InvoiceObj.create(invoice_values)
# invoice.post()
move_form = Form(
self.env["account.move"].with_context(default_type="in_invoice")
self.env["account.move"].with_context(default_move_type="in_invoice")
)
move_form.partner_id = self.partner_2
move_form.journal_id = self.journal_purchase
move_form.invoice_date = Date.today()
with move_form.invoice_line_ids.new() as line_form:
line_form.name = "test"
line_form.quantity = 1.0
@ -321,8 +251,9 @@ class TestJournalReport(TransactionCase):
line_form.account_id = self.expense_account
line_form.tax_ids.add(self.tax_15_p)
line_form.tax_ids.add(self.tax_20_p)
move_form.invoice_date = move_form.date
invoice = move_form.save()
invoice.post()
invoice.action_post()
wiz = self.JournalLedgerReportWizard.create(
{

8
account_financial_report/tests/test_open_items.py

@ -2,10 +2,14 @@
# Copyright 2016 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo.tests.common import TransactionCase
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
class TestOpenItems(TransactionCase):
class TestOpenItems(AccountTestInvoicingCommon):
@classmethod
def setUpClass(cls, chart_template_ref=None):
super().setUpClass(chart_template_ref=chart_template_ref)
def test_partner_filter(self):
partner_1 = self.env.ref("base.res_partner_1")
partner_2 = self.env.ref("base.res_partner_2")

135
account_financial_report/tests/test_trial_balance.py

@ -3,85 +3,89 @@
# Copyright 2020 ForgeFlow S.L. (https://www.forgeflow.com)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo.tests import common
class TestTrialBalanceReport(common.TransactionCase):
def setUp(self):
super(TestTrialBalanceReport, self).setUp()
group_obj = self.env["account.group"]
acc_obj = self.env["account.account"]
self.group1 = group_obj.create({"code_prefix": "1", "name": "Group 1"})
self.group11 = group_obj.create(
{"code_prefix": "11", "name": "Group 11", "parent_id": self.group1.id}
)
self.group2 = group_obj.create({"code_prefix": "2", "name": "Group 2"})
self.account100 = acc_obj.create(
{
"code": "100",
"name": "Account 100",
"group_id": self.group1.id,
"user_type_id": self.env.ref("account.data_account_type_receivable").id,
"reconcile": True,
}
)
self.account110 = self.env["account.account"].search(
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
class TestTrialBalanceReport(AccountTestInvoicingCommon):
@classmethod
def setUpClass(cls, chart_template_ref=None):
super().setUpClass(chart_template_ref=chart_template_ref)
# Remove previous account groups and related invoices to avoid conflicts
group_obj = cls.env["account.group"]
cls.group1 = group_obj.create({"code_prefix_start": "1", "name": "Group 1"})
cls.group11 = group_obj.create(
{"code_prefix_start": "11", "name": "Group 11", "parent_id": cls.group1.id}
)
cls.group2 = group_obj.create({"code_prefix_start": "2", "name": "Group 2"})
# Set accounts
cls.account100 = cls.company_data["default_account_receivable"]
cls.account100.group_id = cls.group1.id
cls.account110 = cls.env["account.account"].search(
[
(
"user_type_id",
"=",
self.env.ref("account.data_unaffected_earnings").id,
)
cls.env.ref("account.data_unaffected_earnings").id,
),
],
limit=1,
)
self.account200 = acc_obj.create(
cls.account200 = cls._create_account_account(
cls,
{
"code": "200",
"name": "Account 200",
"group_id": self.group2.id,
"user_type_id": self.env.ref(
"group_id": cls.group2.id,
"user_type_id": cls.env.ref(
"account.data_account_type_other_income"
).id,
}
},
)
self.account300 = acc_obj.create(
cls.account300 = cls._create_account_account(
cls,
{
"code": "300",
"name": "Account 300",
"user_type_id": self.env.ref(
"user_type_id": cls.env.ref(
"account.data_account_type_other_income"
).id,
}
},
)
self.account301 = acc_obj.create(
cls.account301 = cls._create_account_account(
cls,
{
"code": "301",
"name": "Account 301",
"group_id": self.group2.id,
"user_type_id": self.env.ref(
"group_id": cls.group2.id,
"user_type_id": cls.env.ref(
"account.data_account_type_other_income"
).id,
}
)
self.previous_fy_date_start = "2015-01-01"
self.previous_fy_date_end = "2015-12-31"
self.fy_date_start = "2016-01-01"
self.fy_date_end = "2016-12-31"
self.date_start = "2016-01-01"
self.date_end = "2016-12-31"
self.partner = self.env.ref("base.res_partner_12")
self.unaffected_account = self.env["account.account"].search(
},
)
cls.previous_fy_date_start = "2015-01-01"
cls.previous_fy_date_end = "2015-12-31"
cls.fy_date_start = "2016-01-01"
cls.fy_date_end = "2016-12-31"
cls.date_start = "2016-01-01"
cls.date_end = "2016-12-31"
cls.partner = cls.env.ref("base.res_partner_12")
cls.unaffected_account = cls.env["account.account"].search(
[
(
"user_type_id",
"=",
self.env.ref("account.data_unaffected_earnings").id,
)
cls.env.ref("account.data_unaffected_earnings").id,
),
],
limit=1,
)
def _create_account_account(self, vals):
item = self.env["account.account"].create(vals)
if "group_id" in vals:
item.group_id = vals["group_id"]
return item
def _add_move(
self,
date,
@ -92,7 +96,9 @@ class TestTrialBalanceReport(common.TransactionCase):
unaffected_debit=0,
unaffected_credit=0,
):
journal = self.env["account.journal"].search([], limit=1)
journal = self.env["account.journal"].search(
[("company_id", "=", self.env.user.company_id.id)], limit=1
)
partner = self.env.ref("base.res_partner_12")
move_vals = {
"journal_id": journal.id,
@ -151,12 +157,12 @@ class TestTrialBalanceReport(common.TransactionCase):
],
}
move = self.env["account.move"].create(move_vals)
move.post()
move.action_post()
def _get_report_lines(
self, with_partners=False, account_ids=False, hierarchy_on="computed"
):
company = self.env.ref("base.main_company")
company = self.env.user.company_id
trial_balance = self.env["trial.balance.report.wizard"].create(
{
"date_from": self.date_start,
@ -243,7 +249,14 @@ class TestTrialBalanceReport(common.TransactionCase):
# Change code of the P&L for not being automatically included
# in group 1 balances
earning_accs = self.env["account.account"].search(
[("user_type_id", "=", self.env.ref("account.data_unaffected_earnings").id)]
[
(
"user_type_id",
"=",
self.env.ref("account.data_unaffected_earnings").id,
),
("company_id", "=", self.env.user.company_id.id),
]
)
for acc in earning_accs:
acc.code = "999" + acc.code
@ -670,7 +683,9 @@ class TestTrialBalanceReport(common.TransactionCase):
def test_04_undistributed_pl(self):
# Add a P&L Move in the previous FY
journal = self.env["account.journal"].search([], limit=1)
journal = self.env["account.journal"].search(
[("company_id", "=", self.env.user.company_id.id)], limit=1
)
move_vals = {
"journal_id": journal.id,
"date": self.previous_fy_date_end,
@ -688,9 +703,9 @@ class TestTrialBalanceReport(common.TransactionCase):
],
}
move = self.env["account.move"].create(move_vals)
move.post()
move.action_post()
# Generate the trial balance line
company = self.env.ref("base.main_company")
company = self.env.user.company_id
trial_balance = self.env["trial.balance.report.wizard"].create(
{
"date_from": self.date_start,
@ -722,7 +737,9 @@ class TestTrialBalanceReport(common.TransactionCase):
self.assertEqual(unaffected_lines["credit"], 0)
self.assertEqual(unaffected_lines["final_balance"], -1000)
# Add a P&L Move to the current FY
journal = self.env["account.journal"].search([], limit=1)
journal = self.env["account.journal"].search(
[("company_id", "=", self.env.user.company_id.id)], limit=1
)
move_vals = {
"journal_id": journal.id,
"date": self.date_start,
@ -740,7 +757,7 @@ class TestTrialBalanceReport(common.TransactionCase):
],
}
move = self.env["account.move"].create(move_vals)
move.post()
move.action_post()
# Re Generate the trial balance line
trial_balance = self.env["trial.balance.report.wizard"].create(
{
@ -774,7 +791,9 @@ class TestTrialBalanceReport(common.TransactionCase):
self.assertEqual(unaffected_lines["credit"], 0)
self.assertEqual(unaffected_lines["final_balance"], -1000)
# Add a Move including Unaffected Earnings to the current FY
journal = self.env["account.journal"].search([], limit=1)
journal = self.env["account.journal"].search(
[("company_id", "=", self.env.user.company_id.id)], limit=1
)
move_vals = {
"journal_id": journal.id,
"date": self.date_start,
@ -792,7 +811,7 @@ class TestTrialBalanceReport(common.TransactionCase):
],
}
move = self.env["account.move"].create(move_vals)
move.post()
move.action_post()
# Re Generate the trial balance line
trial_balance = self.env["trial.balance.report.wizard"].create(
{

180
account_financial_report/tests/test_vat_report.py

@ -5,80 +5,103 @@
import time
from datetime import date
from odoo.tests import common
from odoo import fields
from odoo.tests.common import Form
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
class TestVATReport(common.TransactionCase):
def setUp(self):
super(TestVATReport, self).setUp()
self.date_from = time.strftime("%Y-%m-01")
self.date_to = time.strftime("%Y-%m-28")
self.company = self.env.ref("base.main_company")
self.receivable_account = self.env["account.account"].search(
[
("company_id", "=", self.company.id),
("user_type_id.name", "=", "Receivable"),
],
limit=1,
)
self.income_account = self.env["account.account"].search(
[
("company_id", "=", self.company.id),
("user_type_id.name", "=", "Income"),
],
limit=1,
)
self.tax_account = self.env["account.account"].search(
class TestVATReport(AccountTestInvoicingCommon):
@classmethod
def init_invoice(
cls,
move_type,
name=None,
partner=None,
invoice_date=None,
post=False,
lines=None,
taxes=None,
):
move_form = Form(
cls.env["account.move"].with_context(default_move_type=move_type)
)
move_form.invoice_date = invoice_date or fields.Date.from_string("2019-01-01")
move_form.partner_id = partner or cls.partner_a
move_form.name = name or "Test"
lines = lines or []
for line in lines:
with move_form.invoice_line_ids.new() as line_form:
line_form.product_id = line[0]
line_form.name = "Test"
line_form.account_id = line[1]
line_form.quantity = line[2]
line_form.price_unit = line[3]
if taxes:
line_form.tax_ids.clear()
line_form.tax_ids.add(taxes)
rslt = move_form.save()
if post:
rslt.action_post()
return rslt
@classmethod
def setUpClass(cls, chart_template_ref=None):
super().setUpClass(chart_template_ref=chart_template_ref)
cls.date_from = time.strftime("%Y-%m-01")
cls.date_to = time.strftime("%Y-%m-28")
cls.company = cls.env.user.company_id
cls.company.country_id = cls.env.ref("base.us").id
cls.receivable_account = cls.company_data["default_account_receivable"]
cls.income_account = cls.company_data["default_account_revenue"]
cls.expense_account = cls.company_data["default_account_expense"]
cls.tax_account = cls.env["account.account"].search(
[
("company_id", "=", self.company.id),
("company_id", "=", cls.company.id),
(
"user_type_id",
"=",
self.env.ref(
"account.data_account_type_non_current_liabilities"
).id,
cls.env.ref("account.data_account_type_non_current_liabilities").id,
),
],
limit=1,
)
self.bank_journal = self.env["account.journal"].search(
[("type", "=", "bank"), ("company_id", "=", self.company.id)], limit=1
)
self.tax_tag_01 = self.env["account.account.tag"].create(
cls.bank_journal = cls.company_data["default_journal_bank"]
cls.tax_tag_01 = cls.env["account.account.tag"].create(
{
"name": "Tag 01",
"applicability": "taxes",
"country_id": self.company.country_id.id,
"country_id": cls.company.country_id.id,
}
)
self.tax_tag_02 = self.env["account.account.tag"].create(
cls.tax_tag_02 = cls.env["account.account.tag"].create(
{
"name": "Tag 02",
"applicability": "taxes",
"country_id": self.company.country_id.id,
"country_id": cls.company.country_id.id,
}
)
self.tax_tag_03 = self.env["account.account.tag"].create(
cls.tax_tag_03 = cls.env["account.account.tag"].create(
{
"name": "Tag 03",
"applicability": "taxes",
"country_id": self.company.country_id.id,
"country_id": cls.company.country_id.id,
}
)
self.tax_group_10 = self.env["account.tax.group"].create(
cls.tax_group_10 = cls.env["account.tax.group"].create(
{"name": "Tax 10%", "sequence": 1}
)
self.tax_group_20 = self.env["account.tax.group"].create(
cls.tax_group_20 = cls.env["account.tax.group"].create(
{"name": "Tax 20%", "sequence": 2}
)
self.tax_10 = self.env["account.tax"].create(
cls.tax_10 = cls.env["account.tax"].create(
{
"name": "Tax 10.0%",
"amount": 10.0,
"amount_type": "percent",
"type_tax_use": "sale",
"company_id": self.company.id,
"tax_group_id": self.tax_group_10.id,
"company_id": cls.company.id,
"tax_group_id": cls.tax_group_10.id,
"invoice_repartition_line_ids": [
(0, 0, {"factor_percent": 100, "repartition_type": "base"}),
(
@ -87,10 +110,8 @@ class TestVATReport(common.TransactionCase):
{
"factor_percent": 100,
"repartition_type": "tax",
"account_id": self.tax_account.id,
"tag_ids": [
(6, 0, [self.tax_tag_01.id, self.tax_tag_02.id])
],
"account_id": cls.tax_account.id,
"tag_ids": [(6, 0, [cls.tax_tag_01.id, cls.tax_tag_02.id])],
},
),
],
@ -102,22 +123,22 @@ class TestVATReport(common.TransactionCase):
{
"factor_percent": 100,
"repartition_type": "tax",
"account_id": self.tax_account.id,
"account_id": cls.tax_account.id,
},
),
],
}
)
self.tax_20 = self.env["account.tax"].create(
cls.tax_20 = cls.env["account.tax"].create(
{
"sequence": 30,
"name": "Tax 20.0%",
"amount": 20.0,
"amount_type": "percent",
"type_tax_use": "sale",
"company_id": self.company.id,
"cash_basis_transition_account_id": self.tax_account.id,
"tax_group_id": self.tax_group_20.id,
"company_id": cls.company.id,
"cash_basis_transition_account_id": cls.tax_account.id,
"tax_group_id": cls.tax_group_20.id,
"invoice_repartition_line_ids": [
(0, 0, {"factor_percent": 100, "repartition_type": "base"}),
(
@ -126,10 +147,8 @@ class TestVATReport(common.TransactionCase):
{
"factor_percent": 100,
"repartition_type": "tax",
"account_id": self.tax_account.id,
"tag_ids": [
(6, 0, [self.tax_tag_02.id, self.tax_tag_03.id])
],
"account_id": cls.tax_account.id,
"tag_ids": [(6, 0, [cls.tax_tag_02.id, cls.tax_tag_03.id])],
},
),
],
@ -141,40 +160,39 @@ class TestVATReport(common.TransactionCase):
{
"factor_percent": 100,
"repartition_type": "tax",
"account_id": self.tax_account.id,
"account_id": cls.tax_account.id,
},
),
],
}
)
move_form = common.Form(
self.env["account.move"].with_context(default_type="out_invoice")
)
move_form.partner_id = self.env.ref("base.res_partner_2")
move_form.invoice_date = time.strftime("%Y-%m-03")
with move_form.invoice_line_ids.new() as line_form:
line_form.product_id = self.env.ref("product.product_product_4")
line_form.quantity = 1.0
line_form.price_unit = 100.0
line_form.account_id = self.income_account
line_form.tax_ids.add(self.tax_10)
invoice = move_form.save()
invoice.post()
move_form = common.Form(
self.env["account.move"].with_context(default_type="out_invoice")
cls.init_invoice(
"out_invoice",
name="Test invoice 1",
partner=cls.env.ref("base.res_partner_2"),
invoice_date=time.strftime("%Y-%m-03"),
post=True,
lines=[
(cls.env.ref("product.product_product_4"), cls.income_account, 1, 100.0)
],
taxes=cls.tax_10,
)
cls.init_invoice(
"out_invoice",
name="Test invoice 2",
partner=cls.env.ref("base.res_partner_2"),
invoice_date=time.strftime("%Y-%m-04"),
post=True,
lines=[
(
cls.env.ref("product.product_product_4"),
cls.income_account,
1,
250.0,
),
],
taxes=cls.tax_20,
)
move_form.partner_id = self.env.ref("base.res_partner_2")
move_form.invoice_date = time.strftime("%Y-%m-04")
with move_form.invoice_line_ids.new() as line_form:
line_form.product_id = self.env.ref("product.product_product_4")
line_form.quantity = 1.0
line_form.price_unit = 250.0
line_form.account_id = self.income_account
line_form.tax_ids.add(self.tax_20)
invoice = move_form.save()
invoice.post()
def _get_report_lines(self, taxgroups=False):
based_on = "taxtags"

25
account_financial_report/wizard/abstract_wizard.py

@ -1,7 +1,7 @@
# Copyright 2019 Lorenzo Battistini @ TAKOBI
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import fields, models
from odoo import models
class AbstractWizard(models.AbstractModel):
@ -27,26 +27,3 @@ class AbstractWizard(models.AbstractModel):
partners -= corp_partners
partners |= corp_partners.mapped("commercial_partner_id")
return partners.ids
company_id = fields.Many2one(
comodel_name="res.company",
default=lambda self: self.env.company.id,
required=False,
string="Company",
domain=lambda self: [("id", "in", self.env.companies.ids)],
)
def button_export_html(self):
self.ensure_one()
report_type = "qweb-html"
return self._export(report_type)
def button_export_pdf(self):
self.ensure_one()
report_type = "qweb-pdf"
return self._export(report_type)
def button_export_xlsx(self):
self.ensure_one()
report_type = "xlsx"
return self._export(report_type)

21
account_financial_report/wizard/aged_partner_balance_wizard.py

@ -13,6 +13,12 @@ class AgedPartnerBalanceWizard(models.TransientModel):
_description = "Aged Partner Balance Wizard"
_inherit = "account_financial_report_abstract_wizard"
company_id = fields.Many2one(
comodel_name="res.company",
default=lambda self: self.env.company,
required=False,
string="Company",
)
date_at = fields.Date(required=True, default=fields.Date.context_today)
date_from = fields.Date(string="Date From")
target_move = fields.Selection(
@ -127,6 +133,21 @@ class AgedPartnerBalanceWizard(models.TransientModel):
.report_action(self, data=data)
)
def button_export_html(self):
self.ensure_one()
report_type = "qweb-html"
return self._export(report_type)
def button_export_pdf(self):
self.ensure_one()
report_type = "qweb-pdf"
return self._export(report_type)
def button_export_xlsx(self):
self.ensure_one()
report_type = "xlsx"
return self._export(report_type)
def _prepare_report_aged_partner_balance(self):
self.ensure_one()
return {

19
account_financial_report/wizard/aged_partner_balance_wizard_view.xml

@ -44,9 +44,7 @@
class="oe_inline"
options="{'no_create': True}"
/>
<span class="oe_inline">
To
</span>
<span class="oe_inline">To</span>
<field
name="account_code_to"
class="oe_inline"
@ -88,12 +86,11 @@
</form>
</field>
</record>
<act_window
id="action_aged_partner_balance_wizard"
name="Aged Partner Balance"
res_model="aged.partner.balance.report.wizard"
view_mode="form"
view_id="aged_partner_balance_wizard"
target="new"
/>
<record id="action_aged_partner_balance_wizard" model="ir.actions.act_window">
<field name="name">Aged Partner Balance</field>
<field name="res_model">aged.partner.balance.report.wizard</field>
<field name="view_mode">form</field>
<field name="view_id" ref="aged_partner_balance_wizard" />
<field name="target">new</field>
</record>
</odoo>

49
account_financial_report/wizard/general_ledger_wizard.py

@ -12,6 +12,7 @@ from ast import literal_eval
from odoo import _, api, fields, models
from odoo.exceptions import ValidationError
from odoo.tools import date_utils
class GeneralLedgerReportWizard(models.TransientModel):
@ -21,6 +22,12 @@ class GeneralLedgerReportWizard(models.TransientModel):
_description = "General Ledger Report Wizard"
_inherit = "account_financial_report_abstract_wizard"
company_id = fields.Many2one(
comodel_name="res.company",
default=lambda self: self.env.company,
required=False,
string="Company",
)
date_range_id = fields.Many2one(comodel_name="date.range", string="Date range")
date_from = fields.Date(required=True, default=lambda self: self._init_date_from())
date_to = fields.Date(required=True, default=fields.Date.context_today)
@ -42,7 +49,9 @@ class GeneralLedgerReportWizard(models.TransientModel):
"If partners are filtered, "
"debits and credits totals will not match the trial balance.",
)
show_analytic_tags = fields.Boolean(string="Show analytic tags",)
show_analytic_tags = fields.Boolean(
string="Show analytic tags",
)
receivable_accounts_only = fields.Boolean()
payable_accounts_only = fields.Boolean()
partner_ids = fields.Many2many(
@ -80,8 +89,14 @@ class GeneralLedgerReportWizard(models.TransientModel):
string="Account Code To",
help="Ending account in a range",
)
show_partner_details = fields.Boolean(string="Show Partner Details", default=True,)
show_cost_center = fields.Boolean(string="Show Analytic Account", default=True,)
show_partner_details = fields.Boolean(
string="Show Partner Details",
default=True,
)
show_cost_center = fields.Boolean(
string="Show Analytic Account",
default=True,
)
domain = fields.Char(
string="Journal Items Domain",
default=[],
@ -113,9 +128,8 @@ class GeneralLedgerReportWizard(models.TransientModel):
def _init_date_from(self):
"""set start date to begin of current year if fiscal year running"""
today = fields.Date.context_today(self)
company = self.company_id or self.env.company
last_fsc_month = company.fiscalyear_last_month
last_fsc_day = company.fiscalyear_last_day
last_fsc_month = self.env.user.company_id.fiscalyear_last_month
last_fsc_day = self.env.user.company_id.fiscalyear_last_day
if (
today.month < int(last_fsc_month)
@ -133,8 +147,12 @@ class GeneralLedgerReportWizard(models.TransientModel):
def _compute_fy_start_date(self):
for wiz in self:
if wiz.date_from:
res = self.company_id.compute_fiscalyear_dates(wiz.date_from)
wiz.fy_start_date = res["date_from"]
date_from, date_to = date_utils.get_fiscal_year(
wiz.date_from,
day=self.company_id.fiscalyear_last_day,
month=int(self.company_id.fiscalyear_last_month),
)
wiz.fy_start_date = date_from
else:
wiz.fy_start_date = False
@ -279,6 +297,21 @@ class GeneralLedgerReportWizard(models.TransientModel):
.report_action(self, data=data)
)
def button_export_html(self):
self.ensure_one()
report_type = "qweb-html"
return self._export(report_type)
def button_export_pdf(self):
self.ensure_one()
report_type = "qweb-pdf"
return self._export(report_type)
def button_export_xlsx(self):
self.ensure_one()
report_type = "xlsx"
return self._export(report_type)
def _prepare_report_general_ledger(self):
self.ensure_one()
return {

60
account_financial_report/wizard/general_ledger_wizard_view.xml

@ -47,9 +47,7 @@
class="oe_inline"
options="{'no_create': True}"
/>
<span class="oe_inline">
To
</span>
<span class="oe_inline">To</span>
<field
name="account_code_to"
class="oe_inline"
@ -94,8 +92,9 @@
/>
</page>
<page string="Additional Filtering">
<style
>.o_domain_show_selection_button {display: none}</style>
<style>
.o_domain_show_selection_button {display: none}
</style>
<field
name="domain"
widget="domain"
@ -113,8 +112,10 @@
invisible="1"
/>
<group />
<h4
>General Ledger can be computed only if selected company have only one unaffected earnings account.</h4>
<h4>
General Ledger can be computed only if selected company have
only one unaffected earnings account.
</h4>
<group />
</div>
<footer>
@ -152,26 +153,31 @@
</form>
</field>
</record>
<act_window
id="action_general_ledger_wizard"
name="General Ledger"
res_model="general.ledger.report.wizard"
view_mode="form"
view_id="general_ledger_wizard"
target="new"
/>
<record id="action_general_ledger_wizard" model="ir.actions.act_window">
<field name="name">General Ledger</field>
<field name="res_model">general.ledger.report.wizard</field>
<field name="view_mode">form</field>
<field name="view_id" ref="general_ledger_wizard" />
<field name="target">new</field>
</record>
<!--Add to res.partner action-->
<act_window
<record
id="act_action_general_ledger_wizard_partner_relation"
name="General Ledger"
res_model="general.ledger.report.wizard"
binding_model="res.partner"
view_mode="form"
context="{
'default_receivable_accounts_only':1,
'default_payable_accounts_only':1,
}"
groups="account.group_account_manager"
target="new"
/>
model="ir.actions.act_window"
>
<field name="name">General Ledger</field>
<field name="res_model">general.ledger.report.wizard</field>
<field name="binding_model_id" ref="base.model_res_partner" />
<field name="view_mode">form</field>
<field name="view_id" ref="general_ledger_wizard" />
<field
name="context"
eval="{
'default_receivable_accounts_only':1,
'default_payable_accounts_only':1,
}"
/>
<field name="groups_id" eval="[(4, ref('account.group_account_manager'))]" />
<field name="target">new</field>
</record>
</odoo>

26
account_financial_report/wizard/journal_ledger_wizard.py

@ -9,8 +9,14 @@ class JournalLedgerReportWizard(models.TransientModel):
_name = "journal.ledger.report.wizard"
_description = "Journal Ledger Report Wizard"
_inherit = "account_financial_report_abstract_wizard"
company_id = fields.Many2one(
comodel_name="res.company",
default=lambda self: self.env.company,
string="Company",
required=False,
ondelete="cascade",
)
date_range_id = fields.Many2one(comodel_name="date.range", string="Date range")
date_from = fields.Date(string="Start date", required=True)
date_to = fields.Date(string="End date", required=True)
@ -89,6 +95,20 @@ class JournalLedgerReportWizard(models.TransientModel):
.report_action(self, data=data)
)
def button_export_html(self):
self.ensure_one()
report_type = "qweb-html"
return self._export(report_type)
def button_export_pdf(self):
report_type = "qweb-pdf"
return self._export(report_type)
def button_export_xlsx(self):
self.ensure_one()
report_type = "xlsx"
return self._export(report_type)
def _prepare_report_journal_ledger(self):
self.ensure_one()
journals = self.journal_ids
@ -134,8 +154,8 @@ class JournalLedgerReportWizard(models.TransientModel):
@api.model
def _get_partner_name(self, partner_id, partner_data):
if partner_id in partner_data.keys():
return partner_data[partner_id]["name"]
if str(partner_id) in partner_data.keys():
return partner_data[str(partner_id)]["name"]
else:
return ""

15
account_financial_report/wizard/journal_ledger_wizard_view.xml

@ -65,12 +65,11 @@
</form>
</field>
</record>
<act_window
id="action_journal_ledger_wizard"
name="Journal Ledger"
res_model="journal.ledger.report.wizard"
view_mode="form"
view_id="journal_ledger_wizard"
target="new"
/>
<record id="action_journal_ledger_wizard" model="ir.actions.act_window">
<field name="name">Journal Ledger</field>
<field name="res_model">journal.ledger.report.wizard</field>
<field name="view_mode">form</field>
<field name="view_id" ref="journal_ledger_wizard" />
<field name="target">new</field>
</record>
</odoo>

26
account_financial_report/wizard/open_items_wizard.py

@ -13,6 +13,12 @@ class OpenItemsReportWizard(models.TransientModel):
_description = "Open Items Report Wizard"
_inherit = "account_financial_report_abstract_wizard"
company_id = fields.Many2one(
comodel_name="res.company",
default=lambda self: self.env.company,
required=False,
string="Company",
)
date_at = fields.Date(required=True, default=fields.Date.context_today)
date_from = fields.Date(string="Date From")
target_move = fields.Selection(
@ -49,7 +55,10 @@ class OpenItemsReportWizard(models.TransientModel):
"will display initial and final balance in that currency.",
default=lambda self: self._default_foreign_currency(),
)
show_partner_details = fields.Boolean(string="Show Partner Details", default=True,)
show_partner_details = fields.Boolean(
string="Show Partner Details",
default=True,
)
account_code_from = fields.Many2one(
comodel_name="account.account",
string="Account Code From",
@ -148,6 +157,21 @@ class OpenItemsReportWizard(models.TransientModel):
.report_action(self, data=data)
)
def button_export_html(self):
self.ensure_one()
report_type = "qweb-html"
return self._export(report_type)
def button_export_pdf(self):
self.ensure_one()
report_type = "qweb-pdf"
return self._export(report_type)
def button_export_xlsx(self):
self.ensure_one()
report_type = "xlsx"
return self._export(report_type)
def _prepare_report_open_items(self):
self.ensure_one()
return {

49
account_financial_report/wizard/open_items_wizard_view.xml

@ -45,9 +45,7 @@
class="oe_inline"
options="{'no_create': True}"
/>
<span class="oe_inline">
To
</span>
<span class="oe_inline">To</span>
<field
name="account_code_to"
class="oe_inline"
@ -89,26 +87,31 @@
</form>
</field>
</record>
<act_window
id="action_open_items_wizard"
name="Open Items"
res_model="open.items.report.wizard"
view_mode="form"
view_id="open_items_wizard"
target="new"
/>
<record id="action_open_items_wizard" model="ir.actions.act_window">
<field name="name">Open Items</field>
<field name="res_model">open.items.report.wizard</field>
<field name="view_mode">form</field>
<field name="view_id" ref="open_items_wizard" />
<field name="target">new</field>
</record>
<!--Add to res.partner action-->
<act_window
<record
id="act_action_open_items_wizard_partner_relation"
name="Open Items Partner"
res_model="open.items.report.wizard"
binding_model="res.partner"
view_mode="form"
context="{
'default_receivable_accounts_only':1,
'default_payable_accounts_only':1,
}"
groups="account.group_account_manager"
target="new"
/>
model="ir.actions.act_window"
>
<field name="name">Open Items Partner</field>
<field name="res_model">open.items.report.wizard</field>
<field name="binding_model_id" ref="base.model_res_partner" />
<field name="view_mode">form</field>
<field name="view_id" ref="general_ledger_wizard" />
<field
name="context"
eval="{
'default_receivable_accounts_only':1,
'default_payable_accounts_only':1,
}"
/>
<field name="groups_id" eval="[(4, ref('account.group_account_manager'))]" />
<field name="target">new</field>
</record>
</odoo>

30
account_financial_report/wizard/trial_balance_wizard.py

@ -6,6 +6,7 @@
from odoo import _, api, fields, models
from odoo.exceptions import UserError, ValidationError
from odoo.tools import date_utils
class TrialBalanceReportWizard(models.TransientModel):
@ -15,6 +16,12 @@ class TrialBalanceReportWizard(models.TransientModel):
_description = "Trial Balance Report Wizard"
_inherit = "account_financial_report_abstract_wizard"
company_id = fields.Many2one(
comodel_name="res.company",
default=lambda self: self.env.company,
required=False,
string="Company",
)
date_range_id = fields.Many2one(comodel_name="date.range", string="Date range")
date_from = fields.Date(required=True)
date_to = fields.Date(required=True)
@ -112,8 +119,12 @@ class TrialBalanceReportWizard(models.TransientModel):
def _compute_fy_start_date(self):
for wiz in self:
if wiz.date_from:
res = self.company_id.compute_fiscalyear_dates(wiz.date_from)
wiz.fy_start_date = res["date_from"]
date_from, date_to = date_utils.get_fiscal_year(
wiz.date_from,
day=self.company_id.fiscalyear_last_day,
month=int(self.company_id.fiscalyear_last_month),
)
wiz.fy_start_date = date_from
else:
wiz.fy_start_date = False
@ -247,6 +258,21 @@ class TrialBalanceReportWizard(models.TransientModel):
.report_action(self, data=data)
)
def button_export_html(self):
self.ensure_one()
report_type = "qweb-html"
return self._export(report_type)
def button_export_pdf(self):
self.ensure_one()
report_type = "qweb-pdf"
return self._export(report_type)
def button_export_xlsx(self):
self.ensure_one()
report_type = "xlsx"
return self._export(report_type)
def _prepare_report_trial_balance(self):
self.ensure_one()
return {

21
account_financial_report/wizard/trial_balance_wizard_view.xml

@ -106,8 +106,10 @@
invisible="1"
/>
<group />
<h4
>Trial Balance can be computed only if selected company have only one unaffected earnings account.</h4>
<h4>
Trial Balance can be computed only if selected company have only
one unaffected earnings account.
</h4>
<group />
</div>
<footer>
@ -145,12 +147,11 @@
</form>
</field>
</record>
<act_window
id="action_trial_balance_wizard"
name="Trial Balance"
res_model="trial.balance.report.wizard"
view_mode="form"
view_id="trial_balance_wizard"
target="new"
/>
<record id="action_trial_balance_wizard" model="ir.actions.act_window">
<field name="name">Trial Balance</field>
<field name="res_model">trial.balance.report.wizard</field>
<field name="view_mode">form</field>
<field name="view_id" ref="trial_balance_wizard" />
<field name="target">new</field>
</record>
</odoo>

22
account_financial_report/wizard/vat_report_wizard.py

@ -8,8 +8,13 @@ from odoo.exceptions import ValidationError
class VATReportWizard(models.TransientModel):
_name = "vat.report.wizard"
_description = "VAT Report Wizard"
_inherit = "account_financial_report_abstract_wizard"
company_id = fields.Many2one(
comodel_name="res.company",
default=lambda self: self.env.company,
required=False,
string="Company",
)
date_range_id = fields.Many2one(comodel_name="date.range", string="Date range")
date_from = fields.Date("Start Date", required=True)
date_to = fields.Date("End Date", required=True)
@ -83,6 +88,21 @@ class VATReportWizard(models.TransientModel):
.report_action(self, data=data)
)
def button_export_html(self):
self.ensure_one()
report_type = "qweb-html"
return self._export(report_type)
def button_export_pdf(self):
self.ensure_one()
report_type = "qweb-pdf"
return self._export(report_type)
def button_export_xlsx(self):
self.ensure_one()
report_type = "xlsx"
return self._export(report_type)
def _prepare_vat_report(self):
self.ensure_one()
return {

15
account_financial_report/wizard/vat_report_wizard_view.xml

@ -50,12 +50,11 @@
</form>
</field>
</record>
<act_window
id="action_vat_report_wizard"
name="VAT Report"
res_model="vat.report.wizard"
view_mode="form"
view_id="vat_report_wizard"
target="new"
/>
<record id="action_vat_report_wizard" model="ir.actions.act_window">
<field name="name">VAT Report</field>
<field name="res_model">vat.report.wizard</field>
<field name="view_mode">form</field>
<field name="view_id" ref="vat_report_wizard" />
<field name="target">new</field>
</record>
</odoo>

11
account_tax_balance/README.rst

@ -14,13 +14,13 @@ Tax Balance
: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/13.0/account_tax_balance
:target: https://github.com/OCA/account-financial-reporting/tree/14.0/account_tax_balance
: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-13-0/account-financial-reporting-13-0-account_tax_balance
:target: https://translation.odoo-community.org/projects/account-financial-reporting-14-0/account-financial-reporting-14-0-account_tax_balance
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/91/13.0
:target: https://runbot.odoo-community.org/runbot/91/14.0
:alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5|
@ -49,7 +49,7 @@ 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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/account-financial-reporting/issues/new?body=module:%20account_tax_balance%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/account-financial-reporting/issues/new?body=module:%20account_tax_balance%0Aversion:%2014.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.
@ -73,6 +73,7 @@ Contributors
* Tecnativa - Pedro M. Baeza
* ACSONE SA/NV - Stéphane Bidoul
* Andrea Stirpe <a.stirpe@onestein.nl>
* Iván Antón <ozono@ozonomultimedia.com>
Maintainers
~~~~~~~~~~~
@ -87,6 +88,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-financial-reporting <https://github.com/OCA/account-financial-reporting/tree/13.0/account_tax_balance>`_ project on GitHub.
This module is part of the `OCA/account-financial-reporting <https://github.com/OCA/account-financial-reporting/tree/14.0/account_tax_balance>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

3
account_tax_balance/__manifest__.py

@ -6,7 +6,7 @@
{
"name": "Tax Balance",
"summary": "Compute tax balances based on date range",
"version": "13.0.1.0.1",
"version": "14.0.1.1.0",
"category": "Invoices & Payments",
"website": "https://github.com/OCA/account-financial-reporting",
"author": "Agile Business Group, Therp BV, Tecnativa, ACSONE SA/NV, "
@ -18,6 +18,7 @@
"wizard/open_tax_balances_view.xml",
"views/account_move_view.xml",
"views/account_tax_view.xml",
"security/ir.model.access.csv",
],
"images": ["images/tax_balance.png"],
"pre_init_hook": "pre_init_hook",

22
account_tax_balance/hooks.py

@ -7,14 +7,16 @@ from psycopg2 import sql
def pre_init_hook(cr):
""" Precreate move_type and fill with appropriate values to prevent
"""Precreate financial_type and fill with appropriate values to prevent
a MemoryError when the ORM attempts to call its compute method on a large
amount of preexisting moves. Note that the order of the mapping is
important as one move can have move lines on accounts of multiple types
and the move type is set in the order of precedence. """
and the move type is set in the order of precedence."""
logger = logging.getLogger(__name__)
logger.info("Add account_move.move_type column if it does not yet exist")
cr.execute("ALTER TABLE account_move ADD COLUMN IF NOT EXISTS move_type VARCHAR")
logger.info("Add account_move.financial_type column if it does not yet exist")
cr.execute(
"ALTER TABLE account_move ADD COLUMN IF NOT EXISTS financial_type VARCHAR"
)
MAPPING = [
("liquidity", "liquidity", False),
("payable", "payable", "AND aml.balance < 0"),
@ -23,22 +25,22 @@ def pre_init_hook(cr):
("receivable_refund", "receivable", "AND aml.balance >= 0"),
("other", False, False),
]
for move_type, internal_type, extra_where in MAPPING:
args = [move_type]
query = sql.SQL("UPDATE account_move am SET move_type = %s")
for financial_type, internal_type, extra_where in MAPPING:
args = [financial_type]
query = sql.SQL("UPDATE account_move am SET financial_type = %s")
if internal_type:
query += sql.SQL(
"""FROM account_move_line aml
WHERE aml.account_id IN (
SELECT id FROM account_account
WHERE internal_type = %s)
AND aml.move_id = am.id AND am.move_type IS NULL
AND aml.move_id = am.id AND am.financial_type IS NULL
"""
)
args.append(internal_type)
else:
query += sql.SQL("WHERE am.move_type IS NULL")
query += sql.SQL("WHERE am.financial_type IS NULL")
if extra_where:
query += sql.SQL(extra_where)
cr.execute(query, tuple(args))
logger.info("%s move set to type %s", move_type, cr.rowcount)
logger.info("%s move set to type %s", financial_type, cr.rowcount)

25
account_tax_balance/i18n/account_tax_balance.pot

@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
@ -86,10 +86,20 @@ msgid "Date Range"
msgstr ""
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_account_move__display_name
#: model:ir.model.fields,field_description:account_tax_balance.field_account_move_line__display_name
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax__display_name
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__display_name
msgid "Display Name"
msgstr ""
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_account_bank_statement_line__financial_type
#: model:ir.model.fields,field_description:account_tax_balance.field_account_move__financial_type
#: model:ir.model.fields,field_description:account_tax_balance.field_account_payment__financial_type
msgid "Financial Type"
msgstr ""
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__from_date
msgid "From Date"
@ -106,13 +116,16 @@ msgid "Has balance in period"
msgstr ""
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_account_move__id
#: model:ir.model.fields,field_description:account_tax_balance.field_account_move_line__id
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax__id
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__id
msgid "ID"
msgstr ""
#. module: account_tax_balance
#: model:ir.model,name:account_tax_balance.model_account_move
msgid "Journal Entries"
msgid "Journal Entry"
msgstr ""
#. module: account_tax_balance
@ -121,6 +134,9 @@ msgid "Journal Item"
msgstr ""
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_account_move____last_update
#: model:ir.model.fields,field_description:account_tax_balance.field_account_move_line____last_update
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax____last_update
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances____last_update
msgid "Last Modified on"
msgstr ""
@ -135,11 +151,6 @@ msgstr ""
msgid "Last Updated on"
msgstr ""
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_account_move__move_type
msgid "Move Type"
msgstr ""
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_account_move_filter
msgid "Move type"

17
account_tax_balance/i18n/es.po

@ -9,15 +9,15 @@ msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-19 01:37+0000\n"
"PO-Revision-Date: 2021-03-16 13:45+0000\n"
"Last-Translator: Ana Suárez <ana.suarez@qubiq.es>\n"
"PO-Revision-Date: 2019-07-22 21:43+0000\n"
"Last-Translator: Josep M <jmyepes@mac.com>\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"Language: es\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 4.3.2\n"
"X-Generator: Weblate 3.7.1\n"
#. module: account_tax_balance
#: code:addons/account_tax_balance/wizard/open_tax_balances.py:0
@ -73,8 +73,9 @@ msgstr "Cancelar"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__company_ids
#, fuzzy
msgid "Companies"
msgstr "Compañías"
msgstr "Compañía"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__create_uid
@ -88,8 +89,9 @@ msgstr "Creado en"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__date_range_id
#, fuzzy
msgid "Date Range"
msgstr "Rango de fechas"
msgstr "Periodo"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__display_name
@ -98,8 +100,9 @@ msgstr "Nombre a mostrar"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__from_date
#, fuzzy
msgid "From Date"
msgstr "Desde fecha"
msgstr "Desde"
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_search_balance
@ -194,7 +197,7 @@ msgstr "Tabla de impuestos"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__to_date
msgid "To Date"
msgstr "A Fecha"
msgstr ""
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance

266
account_tax_balance/i18n/fr_FR.po

@ -0,0 +1,266 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_tax_balance
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-04-10 15:46+0000\n"
"Last-Translator: Yves Le Doeuff <yld@alliasys.fr>\n"
"Language-Team: none\n"
"Language: fr_FR\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 4.3.2\n"
#. module: account_tax_balance
#: code:addons/account_tax_balance/wizard/open_tax_balances.py:0
#, python-format
msgid "%(name)s: %(target)s from %(from)s to %(to)s"
msgstr ""
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_search_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance
msgid "Account Tax"
msgstr "Impot de Compte"
#. module: account_tax_balance
#: model:ir.model.fields.selection,name:account_tax_balance.selection__wizard_open_tax_balances__target_move__all
msgid "All Entries"
msgstr "Écritures comptabilisées + non-comptabilisées"
#. module: account_tax_balance
#: model:ir.model.fields.selection,name:account_tax_balance.selection__wizard_open_tax_balances__target_move__posted
msgid "All Posted Entries"
msgstr "Écritures comptabilisées seulement"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax__balance_regular
msgid "Balance"
msgstr "Solde"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax__balance_refund
msgid "Balance Refund"
msgstr "Solde Rembourse"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax__base_balance_regular
msgid "Base Balance"
msgstr "Solde de Base"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax__base_balance_refund
msgid "Base Balance Refund"
msgstr "Remboursement de Solde de Base"
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance
msgid "Base Total"
msgstr "Solde Total de Base"
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.wizard_open_tax_balances
msgid "Cancel"
msgstr "Annuler"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__company_ids
msgid "Companies"
msgstr "Société"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__create_uid
msgid "Created by"
msgstr "Créé par"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__create_date
msgid "Created on"
msgstr "Créé le"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__date_range_id
msgid "Date Range"
msgstr "Plage de date"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_account_move__display_name
#: model:ir.model.fields,field_description:account_tax_balance.field_account_move_line__display_name
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax__display_name
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__display_name
msgid "Display Name"
msgstr "Nom affiché"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_account_bank_statement_line__financial_type
#: model:ir.model.fields,field_description:account_tax_balance.field_account_move__financial_type
#: model:ir.model.fields,field_description:account_tax_balance.field_account_payment__financial_type
msgid "Financial Type"
msgstr ""
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__from_date
msgid "From Date"
msgstr "A partir de la date"
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_search_balance
msgid "Group By"
msgstr "Groupe de"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax__has_moves
msgid "Has balance in period"
msgstr "Le Solde de la Periode"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_account_move__id
#: model:ir.model.fields,field_description:account_tax_balance.field_account_move_line__id
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax__id
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__id
msgid "ID"
msgstr "ID"
#. module: account_tax_balance
#: model:ir.model,name:account_tax_balance.model_account_move
msgid "Journal Entry"
msgstr ""
#. module: account_tax_balance
#: model:ir.model,name:account_tax_balance.model_account_move_line
msgid "Journal Item"
msgstr ""
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_account_move____last_update
#: model:ir.model.fields,field_description:account_tax_balance.field_account_move_line____last_update
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax____last_update
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances____last_update
msgid "Last Modified on"
msgstr "Dernière modification le"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__write_uid
msgid "Last Updated by"
msgstr "Dernière mise à jour par"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__write_date
msgid "Last Updated on"
msgstr "Dernière mise à jour le"
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_account_move_filter
msgid "Move type"
msgstr "Type change"
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.wizard_open_tax_balances
msgid "Open Taxes"
msgstr "Taxes Ouverts"
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_search_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance
msgid "Short Name"
msgstr "Nom Court"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__target_move
msgid "Target Moves"
msgstr "Écritures ciblées"
#. module: account_tax_balance
#: model:ir.model,name:account_tax_balance.model_account_tax
msgid "Tax"
msgstr "Impot"
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_search_balance
msgid "Tax Group"
msgstr "Groupe de Taxes"
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_search_balance
msgid "Tax Scope"
msgstr "But du Taxe"
#. module: account_tax_balance
#: model:ir.actions.act_window,name:account_tax_balance.action_open_tax_balances
#: model:ir.actions.act_window,name:account_tax_balance.action_tax_balances_tree
#: model:ir.ui.menu,name:account_tax_balance.menu_action_open_tax_balances
#: model:ir.ui.menu,name:account_tax_balance.menu_tax_balances
#: model_terms:ir.ui.view,arch_db:account_tax_balance.wizard_open_tax_balances
msgid "Taxes Balance"
msgstr "Taxes Totaux"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__to_date
msgid "To Date"
msgstr ""
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance
msgid "Total"
msgstr "Total"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax__balance
msgid "Total Balance"
msgstr "Solde Total"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax__base_balance
msgid "Total Base Balance"
msgstr "Solde de Base Total"
#. module: account_tax_balance
#: code:addons/account_tax_balance/models/account_tax.py:0
#, python-format
msgid "Unsupported search operator"
msgstr "Gestionnaire de Recherche Non-appuye"
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance
msgid "View base lines"
msgstr "Voir lignes de base"
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance
msgid "View base refund lines"
msgstr "Voir les lignes de base de la somme remboursee"
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance
msgid "View base regular lines"
msgstr "Voir lignes de bases regulieres"
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance
msgid "View tax lines"
msgstr "Visualiser les lignes d'impots"
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance
msgid "View tax refund lines"
msgstr "Visualiser les lignes des taxes remboursees"
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance
msgid "View tax regular lines"
msgstr "Voir lignes des taxes de la somme remboursee"
#. module: account_tax_balance
#: model:ir.model,name:account_tax_balance.model_wizard_open_tax_balances
msgid "Wizard Open Tax Balances"
msgstr "Mage Soldes de Taxes Ouverts"
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.wizard_open_tax_balances
msgid "or"
msgstr "ou"

27
account_tax_balance/i18n/pt.po

@ -9,20 +9,21 @@ msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-03-27 12:02+0000\n"
"PO-Revision-Date: 2018-03-27 12:02+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"PO-Revision-Date: 2021-07-02 22:50+0000\n"
"Last-Translator: Pedro Castro Silva <pedrocs@exo.pt>\n"
"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n"
"Language: pt\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 4.3.2\n"
#. module: account_tax_balance
#: code:addons/account_tax_balance/wizard/open_tax_balances.py:0
#, python-format
msgid "%(name)s: %(target)s from %(from)s to %(to)s"
msgstr ""
msgstr "%(name)s: %(target)s de %(from)s até %(to)s"
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_search_balance
@ -72,9 +73,8 @@ msgstr "Cancelar"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__company_ids
#, fuzzy
msgid "Companies"
msgstr "Empresa"
msgstr "Empresas"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__create_uid
@ -88,7 +88,6 @@ msgstr "Criado em"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__date_range_id
#, fuzzy
msgid "Date Range"
msgstr "Período"
@ -99,9 +98,8 @@ msgstr "Exibir nome"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__from_date
#, fuzzy
msgid "From Date"
msgstr "Da data"
msgstr "Data Inicial"
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_search_balance
@ -120,14 +118,13 @@ msgstr "ID"
#. module: account_tax_balance
#: model:ir.model,name:account_tax_balance.model_account_move
#, fuzzy
msgid "Journal Entries"
msgstr "Todos os lançamentos"
msgstr "Itens de Diários"
#. module: account_tax_balance
#: model:ir.model,name:account_tax_balance.model_account_move_line
msgid "Journal Item"
msgstr ""
msgstr "Item de Diário"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances____last_update
@ -146,9 +143,8 @@ msgstr "Última atualização por"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_account_move__move_type
#, fuzzy
msgid "Move Type"
msgstr "Tipo de movimento"
msgstr "Tipo de Movimento"
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_account_move_filter
@ -198,7 +194,7 @@ msgstr "Saldo de impostos"
#. module: account_tax_balance
#: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__to_date
msgid "To Date"
msgstr ""
msgstr "Data Final"
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance
@ -253,9 +249,8 @@ msgstr "Ver linhas de imposto de faturas"
#. module: account_tax_balance
#: model:ir.model,name:account_tax_balance.model_wizard_open_tax_balances
#, fuzzy
msgid "Wizard Open Tax Balances"
msgstr "wizard.open.tax.balances"
msgstr "Assistente de Saldos de Impostos Abertos"
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.wizard_open_tax_balances

31
account_tax_balance/migrations/14.0.1.0.0/pre-migration.py

@ -0,0 +1,31 @@
# Copyright 2020 Ozono Multimedia S.L.L.
# Copyright 2021 Simone Rubino - Agile Business Group
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openupgradelib import openupgrade
@openupgrade.migrate()
def migrate(env, version):
"""
Column `move_type` of table `account_move` has been renamed to `financial_type`
because `move_type` is now used by the core,
so the column is moved during migration of module `account` in the core.
Enterprise renames it to `move_type_custom`;
OpenUpgrade renames it to its legacy name.
Move data from the renamed column to the new `financial_type` column.
"""
old_move_type_column = "move_type"
new_move_type_column = "financial_type"
move_table_name = "account_move"
enterprise_move_type_rename = "move_type_custom"
ou_move_type_rename = openupgrade.get_legacy_name(old_move_type_column)
for move_type_rename in (enterprise_move_type_rename, ou_move_type_rename):
if openupgrade.column_exists(env.cr, move_table_name, move_type_rename):
openupgrade.rename_columns(
env.cr,
{
move_table_name: [(move_type_rename, new_move_type_column)],
},
)
break

20
account_tax_balance/models/account_move.py

@ -8,7 +8,7 @@ class AccountMove(models.Model):
_inherit = "account.move"
@api.model
def _selection_move_type(self):
def _selection_financial_type(self):
return [
("other", "Other"),
("liquidity", "Liquidity"),
@ -18,9 +18,9 @@ class AccountMove(models.Model):
("payable_refund", "Payable refund"),
]
move_type = fields.Selection(
selection="_selection_move_type",
compute="_compute_move_type",
financial_type = fields.Selection(
selection="_selection_financial_type",
compute="_compute_financial_type",
store=True,
readonly=True,
)
@ -30,7 +30,7 @@ class AccountMove(models.Model):
"line_ids.balance",
"line_ids.account_id.user_type_id.type",
)
def _compute_move_type(self):
def _compute_financial_type(self):
def _balance_get(line_ids, internal_type):
return sum(
line_ids.filtered(
@ -41,12 +41,14 @@ class AccountMove(models.Model):
for move in self:
internal_types = move.line_ids.mapped("account_id.internal_type")
if "liquidity" in internal_types:
move.move_type = "liquidity"
move.financial_type = "liquidity"
elif "payable" in internal_types:
balance = _balance_get(move.line_ids, "payable")
move.move_type = "payable" if balance < 0 else "payable_refund"
move.financial_type = "payable" if balance < 0 else "payable_refund"
elif "receivable" in internal_types:
balance = _balance_get(move.line_ids, "receivable")
move.move_type = "receivable" if balance > 0 else "receivable_refund"
move.financial_type = (
"receivable" if balance > 0 else "receivable_refund"
)
else:
move.move_type = "other"
move.financial_type = "other"

42
account_tax_balance/models/account_tax.py

@ -35,7 +35,7 @@ class AccountTax(models.Model):
)
def _account_tax_ids_with_moves(self):
""" Return all account.tax ids for which there is at least
"""Return all account.tax ids for which there is at least
one account.move.line in the context period
for the user company.
@ -86,24 +86,24 @@ class AccountTax(models.Model):
def _compute_balance(self):
for tax in self:
tax.balance_regular = tax.compute_balance(
tax_or_base="tax", move_type="regular"
tax_or_base="tax", financial_type="regular"
)
tax.base_balance_regular = tax.compute_balance(
tax_or_base="base", move_type="regular"
tax_or_base="base", financial_type="regular"
)
tax.balance_refund = tax.compute_balance(
tax_or_base="tax", move_type="refund"
tax_or_base="tax", financial_type="refund"
)
tax.base_balance_refund = tax.compute_balance(
tax_or_base="base", move_type="refund"
tax_or_base="base", financial_type="refund"
)
tax.balance = tax.balance_regular + tax.balance_refund
tax.base_balance = tax.base_balance_regular + tax.base_balance_refund
def get_target_type_list(self, move_type=None):
if move_type == "refund":
def get_target_type_list(self, financial_type=None):
if financial_type == "refund":
return ["receivable_refund", "payable_refund"]
elif move_type == "regular":
elif financial_type == "regular":
return ["receivable", "payable", "liquidity", "other"]
return []
@ -123,10 +123,10 @@ class AccountTax(models.Model):
("company_id", "in", company_ids),
]
def compute_balance(self, tax_or_base="tax", move_type=None):
def compute_balance(self, tax_or_base="tax", financial_type=None):
self.ensure_one()
domain = self.get_move_lines_domain(
tax_or_base=tax_or_base, move_type=move_type
tax_or_base=tax_or_base, financial_type=financial_type
)
# balance is debit - credit whereas on tax return you want to see what
# vat has to be paid so:
@ -144,7 +144,7 @@ class AccountTax(models.Model):
("tax_exigible", "=", True),
]
if type_list:
domain.append(("move_id.move_type", "in", type_list))
domain.append(("move_id.financial_type", "in", type_list))
return domain
def get_base_balance_domain(self, state_list, type_list):
@ -154,13 +154,13 @@ class AccountTax(models.Model):
("tax_exigible", "=", True),
]
if type_list:
domain.append(("move_id.move_type", "in", type_list))
domain.append(("move_id.financial_type", "in", type_list))
return domain
def get_move_lines_domain(self, tax_or_base="tax", move_type=None):
def get_move_lines_domain(self, tax_or_base="tax", financial_type=None):
from_date, to_date, company_ids, target_move = self.get_context_values()
state_list = self.get_target_state_list(target_move)
type_list = self.get_target_type_list(move_type)
type_list = self.get_target_type_list(financial_type)
domain = self.get_move_line_partial_domain(from_date, to_date, company_ids)
balance_domain = []
if tax_or_base == "tax":
@ -170,12 +170,12 @@ class AccountTax(models.Model):
domain.extend(balance_domain)
return domain
def get_lines_action(self, tax_or_base="tax", move_type=None):
def get_lines_action(self, tax_or_base="tax", financial_type=None):
domain = self.get_move_lines_domain(
tax_or_base=tax_or_base, move_type=move_type
tax_or_base=tax_or_base, financial_type=financial_type
)
action = self.env.ref("account.action_account_moves_all_tree")
vals = action.read()[0]
vals = action.sudo().read()[0]
vals["context"] = {}
vals["domain"] = domain
return vals
@ -190,16 +190,16 @@ class AccountTax(models.Model):
def view_tax_regular_lines(self):
self.ensure_one()
return self.get_lines_action(tax_or_base="tax", move_type="regular")
return self.get_lines_action(tax_or_base="tax", financial_type="regular")
def view_base_regular_lines(self):
self.ensure_one()
return self.get_lines_action(tax_or_base="base", move_type="regular")
return self.get_lines_action(tax_or_base="base", financial_type="regular")
def view_tax_refund_lines(self):
self.ensure_one()
return self.get_lines_action(tax_or_base="tax", move_type="refund")
return self.get_lines_action(tax_or_base="tax", financial_type="refund")
def view_base_refund_lines(self):
self.ensure_one()
return self.get_lines_action(tax_or_base="base", move_type="refund")
return self.get_lines_action(tax_or_base="base", financial_type="refund")

1
account_tax_balance/readme/CONTRIBUTORS.rst

@ -4,3 +4,4 @@
* Tecnativa - Pedro M. Baeza
* ACSONE SA/NV - Stéphane Bidoul
* Andrea Stirpe <a.stirpe@onestein.nl>
* Iván Antón <ozono@ozonomultimedia.com>

3
account_tax_balance/security/ir.model.access.csv

@ -0,0 +1,3 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_wizard_open_tax_balances_user,access_wizard_open_tax_balances,model_wizard_open_tax_balances,account.group_account_user,1,1,1,1
access_wizard_open_tax_balances_manager,access_wizard_open_tax_balances,model_wizard_open_tax_balances,account.group_account_manager,1,1,1,1

7
account_tax_balance/static/description/index.html

@ -367,7 +367,7 @@ ul.auto-toc {
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/account-financial-reporting/tree/13.0/account_tax_balance"><img alt="OCA/account-financial-reporting" src="https://img.shields.io/badge/github-OCA%2Faccount--financial--reporting-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/account-financial-reporting-13-0/account-financial-reporting-13-0-account_tax_balance"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/91/13.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/account-financial-reporting/tree/14.0/account_tax_balance"><img alt="OCA/account-financial-reporting" src="https://img.shields.io/badge/github-OCA%2Faccount--financial--reporting-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/account-financial-reporting-14-0/account-financial-reporting-14-0-account_tax_balance"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/91/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>This module allows to compute tax balances within a certain date range.
It depends on date_range module and exposes ‘compute’ methods that can be called by other modules
(like localization ones).</p>
@ -397,7 +397,7 @@ It depends on date_range module and exposes ‘compute’ methods that can be ca
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/account-financial-reporting/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/account-financial-reporting/issues/new?body=module:%20account_tax_balance%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/account-financial-reporting/issues/new?body=module:%20account_tax_balance%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
@ -420,6 +420,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
<li>Tecnativa - Pedro M. Baeza</li>
<li>ACSONE SA/NV - Stéphane Bidoul</li>
<li>Andrea Stirpe &lt;<a class="reference external" href="mailto:a.stirpe&#64;onestein.nl">a.stirpe&#64;onestein.nl</a>&gt;</li>
<li>Iván Antón &lt;<a class="reference external" href="mailto:ozono&#64;ozonomultimedia.com">ozono&#64;ozonomultimedia.com</a>&gt;</li>
</ul>
</div>
<div class="section" id="maintainers">
@ -429,7 +430,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
<p>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.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-financial-reporting/tree/13.0/account_tax_balance">OCA/account-financial-reporting</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-financial-reporting/tree/14.0/account_tax_balance">OCA/account-financial-reporting</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>

30
account_tax_balance/tests/test_account_tax_balance.py

@ -16,8 +16,10 @@ from odoo.tests.common import HttpCase
class TestAccountTaxBalance(HttpCase):
def setUp(self):
super().setUp()
self.company = self.env.user.company_id
self.range_type = self.env["date.range.type"].create(
{"name": "Fiscal year", "company_id": False, "allow_overlap": False}
{"name": "Fiscal year", "allow_overlap": False}
)
self.range_generator = self.env["date.range.generator"]
self.current_year = datetime.now().year
@ -36,6 +38,9 @@ class TestAccountTaxBalance(HttpCase):
self.range = self.env["date.range"]
def test_tax_balance(self):
previous_taxes_ids = (
self.env["account.tax"].search([("has_moves", "=", True)]).ids
)
tax_account_id = (
self.env["account.account"]
.create(
@ -69,7 +74,7 @@ class TestAccountTaxBalance(HttpCase):
invoice = self.env["account.move"].create(
{
"partner_id": self.env.ref("base.res_partner_2").id,
"type": "out_invoice",
"move_type": "out_invoice",
"invoice_line_ids": [
(
0,
@ -124,7 +129,9 @@ class TestAccountTaxBalance(HttpCase):
self.assertEqual(action["context"]["to_date"], current_range[0].date_end)
# exercise search has_moves = True
taxes = self.env["account.tax"].search([("has_moves", "=", True)])
taxes = self.env["account.tax"].search(
[("has_moves", "=", True), ("id", "not in", previous_taxes_ids)]
)
self.assertEqual(len(taxes), 1)
self.assertEqual(taxes[0].name, "Tax 10.0%")
@ -152,7 +159,7 @@ class TestAccountTaxBalance(HttpCase):
refund = self.env["account.move"].create(
{
"partner_id": self.env.ref("base.res_partner_2").id,
"type": "out_refund",
"move_type": "out_refund",
"invoice_line_ids": [
(
0,
@ -193,15 +200,24 @@ class TestAccountTaxBalance(HttpCase):
)
liquidity_account_id = (
self.env["account.account"]
.search([("internal_type", "=", "liquidity")], limit=1)
.search(
[
("internal_type", "=", "liquidity"),
("company_id", "=", self.company.id),
],
limit=1,
)
.id
)
move = self.env["account.move"].create(
{
"type": "entry",
"move_type": "entry",
"date": Date.context_today(self.env.user),
"journal_id": self.env["account.journal"]
.search([("type", "=", "bank")], limit=1)
.search(
[("type", "=", "bank"), ("company_id", "=", self.company.id)],
limit=1,
)
.id,
"name": "Test move",
"line_ids": [

8
account_tax_balance/views/account_move_view.xml

@ -8,7 +8,7 @@
<field name="inherit_id" ref="account.view_move_tree" />
<field name="arch" type="xml">
<field name="state" position="after">
<field name="move_type" />
<field name="financial_type" />
</field>
</field>
</record>
@ -18,7 +18,7 @@
<field name="inherit_id" ref="account.view_move_form" />
<field name="arch" type="xml">
<field name="ref" position="after">
<field name="move_type" />
<field name="financial_type" />
</field>
</field>
</record>
@ -29,10 +29,10 @@
<field name="arch" type="xml">
<group expand="0" position="inside">
<filter
name="move_type"
name="financial_type"
string="Move type"
domain="[]"
context="{'group_by':'move_type'}"
context="{'group_by':'financial_type'}"
/>
</group>
</field>

12
account_tax_balance/views/account_tax_view.xml

@ -15,42 +15,42 @@
<button
type="object"
name="view_tax_regular_lines"
string="View tax regular lines"
title="View tax regular lines"
icon="fa-search-plus"
/>
<field name="base_balance_regular" sum="Base Total" />
<button
type="object"
name="view_base_regular_lines"
string="View base regular lines"
title="View base regular lines"
icon="fa-search-plus"
/>
<field name="balance_refund" sum="Total" />
<button
type="object"
name="view_tax_refund_lines"
string="View tax refund lines"
title="View tax refund lines"
icon="fa-search-plus"
/>
<field name="base_balance_refund" sum="Base Total" />
<button
type="object"
name="view_base_refund_lines"
string="View base refund lines"
title="View base refund lines"
icon="fa-search-plus"
/>
<field name="balance" sum="Total" />
<button
type="object"
name="view_tax_lines"
string="View tax lines"
title="View tax lines"
icon="fa-search-plus"
/>
<field name="base_balance" sum="Base Total" />
<button
type="object"
name="view_base_lines"
string="View base lines"
title="View base lines"
icon="fa-search-plus"
/>
</tree>

2
account_tax_balance/wizard/open_tax_balances.py

@ -41,7 +41,7 @@ class WizardOpenTaxBalances(models.TransientModel):
def open_taxes(self):
self.ensure_one()
action = self.env.ref("account_tax_balance.action_tax_balances_tree")
act_vals = action.read()[0]
act_vals = action.sudo().read()[0]
# override action name doesn't work in v12 or v10
# we need to build a dynamic action on main keys
vals = {

8
account_tax_balance/wizard/open_tax_balances_view.xml

@ -18,15 +18,15 @@
<field name="target_move" />
</group>
<footer>
<button
<button
string="Open Taxes"
name="open_taxes"
type="object"
class="oe_highlight"
/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</footer>
or
<button string="Cancel" class="oe_link" special="cancel" />
</footer>
</form>
</field>
</record>

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save