Browse Source

[FIX] account_financial_report: multicompany+layout behaviour (#498)

* Fix wizards for proper multicompany behaviour.
* Fix layout issue
pull/749/head
Jordi Ballester Alomar 6 years ago
committed by João Marques
parent
commit
55fd97d711
  1. 7
      account_financial_report/README.rst
  2. 2
      account_financial_report/__manifest__.py
  3. 26
      account_financial_report/i18n/account_financial_report.pot
  4. 26
      account_financial_report/i18n/ar.po
  5. 26
      account_financial_report/i18n/ca.po
  6. 26
      account_financial_report/i18n/de.po
  7. 26
      account_financial_report/i18n/es.po
  8. 26
      account_financial_report/i18n/fr.po
  9. 26
      account_financial_report/i18n/hr_HR.po
  10. 26
      account_financial_report/i18n/it.po
  11. 26
      account_financial_report/i18n/nl.po
  12. 26
      account_financial_report/i18n/nl_NL.po
  13. 26
      account_financial_report/i18n/pt.po
  14. 26
      account_financial_report/i18n/ro.po
  15. 7
      account_financial_report/readme/HISTORY.rst
  16. 1
      account_financial_report/report/general_ledger.py
  17. 4
      account_financial_report/report/templates/aged_partner_balance.xml
  18. 4
      account_financial_report/report/templates/general_ledger.xml
  19. 4
      account_financial_report/report/templates/journal_ledger.xml
  20. 4
      account_financial_report/report/templates/open_items.xml
  21. 4
      account_financial_report/report/templates/trial_balance.xml
  22. 4
      account_financial_report/report/templates/vat_report.xml
  23. 36
      account_financial_report/static/description/index.html
  24. 20
      account_financial_report/wizard/aged_partner_balance_wizard.py
  25. 4
      account_financial_report/wizard/aged_partner_balance_wizard_view.xml
  26. 29
      account_financial_report/wizard/general_ledger_wizard.py
  27. 8
      account_financial_report/wizard/general_ledger_wizard_view.xml
  28. 23
      account_financial_report/wizard/journal_ledger_wizard.py
  29. 20
      account_financial_report/wizard/open_items_wizard.py
  30. 2
      account_financial_report/wizard/open_items_wizard_view.xml
  31. 32
      account_financial_report/wizard/trial_balance_wizard.py
  32. 5
      account_financial_report/wizard/trial_balance_wizard_view.xml
  33. 12
      account_financial_report/wizard/vat_report_wizard.py
  34. 2
      account_financial_report/wizard/vat_report_wizard_view.xml

7
account_financial_report/README.rst

@ -50,6 +50,13 @@ currency balances are not available.
Changelog
=========
11.0.2.4.1 (2019-01-08)
~~~~~~~~~~~~~~~~~~~~~~~
* Handle better multicompany behaviour
* Improve how title appears in the reports
11.0.2.3.1 (2018-11-29)
~~~~~~~~~~~~~~~~~~~~~~~

2
account_financial_report/__manifest__.py

@ -4,7 +4,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
'name': 'Account Financial Reports',
'version': '11.0.2.4.0',
'version': '11.0.2.4.1',
'category': 'Reporting',
'summary': 'OCA Financial Reports',
'author': 'Camptocamp SA,'

26
account_financial_report/i18n/account_financial_report.pot

@ -245,7 +245,7 @@ msgid "Aged Partner Balance XLSX"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:68
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:64
#, python-format
msgid "All"
msgstr ""
@ -411,7 +411,7 @@ msgid "Centralized"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:1433
#: code:addons/account_financial_report/report/general_ledger.py:1432
#, python-format
msgid "Centralized Entries"
msgstr ""
@ -703,7 +703,7 @@ msgstr ""
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:21
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:26
#: code:addons/account_financial_report/report/open_items_xlsx.py:19
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:77
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:73
#: model:ir.model.fields,field_description:account_financial_report.field_report_aged_partner_balance_move_line_date
#: model:ir.model.fields,field_description:account_financial_report.field_report_general_ledger_move_line_date
#: model:ir.model.fields,field_description:account_financial_report.field_report_journal_ledger_move_line_date
@ -945,7 +945,7 @@ msgid "Entry"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:76
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:72
#, python-format
msgid "Entry number"
msgstr ""
@ -1319,7 +1319,7 @@ msgstr ""
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:67
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:23
#: code:addons/account_financial_report/report/open_items_xlsx.py:21
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:83
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:79
#: model:ir.actions.client,name:account_financial_report.action_report_journal_ledger
#: model:ir.model.fields,field_description:account_financial_report.field_report_aged_partner_balance_move_line_journal
#: model:ir.model.fields,field_description:account_financial_report.field_report_general_ledger_move_line_journal
@ -1595,7 +1595,7 @@ msgid "No"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:84
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:80
#, python-format
msgid "No group"
msgstr ""
@ -1614,8 +1614,8 @@ msgid "No limit"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:758
#: code:addons/account_financial_report/report/general_ledger.py:1137
#: code:addons/account_financial_report/report/general_ledger.py:757
#: code:addons/account_financial_report/report/general_ledger.py:1136
#: code:addons/account_financial_report/report/open_items.py:306
#: code:addons/account_financial_report/report/open_items.py:555
#, python-format
@ -1623,7 +1623,7 @@ msgid "No partner allocated"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:70
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:66
#, python-format
msgid "Not Posted"
msgstr ""
@ -1834,7 +1834,7 @@ msgid "Periods"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:69
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:65
#, python-format
msgid "Posted"
msgstr ""
@ -2162,19 +2162,19 @@ msgid "Taxtags"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/general_ledger_wizard.py:130
#: code:addons/account_financial_report/wizard/general_ledger_wizard.py:153
#, python-format
msgid "The Company in the General Ledger Report Wizard and in Date Range must be the same."
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:135
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:161
#, python-format
msgid "The Company in the Trial Balance Report Wizard and in Date Range must be the same."
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/vat_report_wizard.py:51
#: code:addons/account_financial_report/wizard/vat_report_wizard.py:61
#, python-format
msgid "The Company in the Vat Report Wizard and in Date Range must be the same."
msgstr ""

26
account_financial_report/i18n/ar.po

@ -253,7 +253,7 @@ msgid "Aged Partner Balance XLSX"
msgstr "‫تحليل رصيد الشركاء إكسل"
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:68
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:64
#, python-format
msgid "All"
msgstr "الكل"
@ -419,7 +419,7 @@ msgid "Centralized"
msgstr "مجمّع"
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:1433
#: code:addons/account_financial_report/report/general_ledger.py:1432
#, python-format
msgid "Centralized Entries"
msgstr "القيود المجمّعة"
@ -714,7 +714,7 @@ msgstr "الحالي"
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:21
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:26
#: code:addons/account_financial_report/report/open_items_xlsx.py:19
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:77
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:73
#: model:ir.model.fields,field_description:account_financial_report.field_report_aged_partner_balance_move_line_date
#: model:ir.model.fields,field_description:account_financial_report.field_report_general_ledger_move_line_date
#: model:ir.model.fields,field_description:account_financial_report.field_report_journal_ledger_move_line_date
@ -961,7 +961,7 @@ msgid "Entry"
msgstr "القيد"
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:76
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:72
#, python-format
msgid "Entry number"
msgstr "رقم القيد"
@ -1348,7 +1348,7 @@ msgstr "حساب شريك"
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:67
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:23
#: code:addons/account_financial_report/report/open_items_xlsx.py:21
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:83
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:79
#: model:ir.actions.client,name:account_financial_report.action_report_journal_ledger
#: model:ir.model.fields,field_description:account_financial_report.field_report_aged_partner_balance_move_line_journal
#: model:ir.model.fields,field_description:account_financial_report.field_report_general_ledger_move_line_journal
@ -1625,7 +1625,7 @@ msgid "No"
msgstr "لا"
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:84
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:80
#, python-format
msgid "No group"
msgstr "بدون تجميع"
@ -1645,8 +1645,8 @@ msgid "No limit"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:758
#: code:addons/account_financial_report/report/general_ledger.py:1137
#: code:addons/account_financial_report/report/general_ledger.py:757
#: code:addons/account_financial_report/report/general_ledger.py:1136
#: code:addons/account_financial_report/report/open_items.py:306
#: code:addons/account_financial_report/report/open_items.py:555
#, python-format
@ -1654,7 +1654,7 @@ msgid "No partner allocated"
msgstr "لم يتم تخصيص شريك"
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:70
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:66
#, python-format
msgid "Not Posted"
msgstr "غير مرحّل"
@ -1868,7 +1868,7 @@ msgid "Periods"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:69
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:65
#, python-format
msgid "Posted"
msgstr ""
@ -2197,7 +2197,7 @@ msgid "Taxtags"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/general_ledger_wizard.py:130
#: code:addons/account_financial_report/wizard/general_ledger_wizard.py:153
#, python-format
msgid ""
"The Company in the General Ledger Report Wizard and in Date Range must be "
@ -2205,7 +2205,7 @@ msgid ""
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:135
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:161
#, python-format
msgid ""
"The Company in the Trial Balance Report Wizard and in Date Range must be the "
@ -2213,7 +2213,7 @@ msgid ""
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/vat_report_wizard.py:51
#: code:addons/account_financial_report/wizard/vat_report_wizard.py:61
#, python-format
msgid ""
"The Company in the Vat Report Wizard and in Date Range must be the same."

26
account_financial_report/i18n/ca.po

@ -255,7 +255,7 @@ msgid "Aged Partner Balance XLSX"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:68
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:64
#, python-format
msgid "All"
msgstr ""
@ -422,7 +422,7 @@ msgid "Centralized"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:1433
#: code:addons/account_financial_report/report/general_ledger.py:1432
#, python-format
msgid "Centralized Entries"
msgstr ""
@ -718,7 +718,7 @@ msgstr ""
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:21
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:26
#: code:addons/account_financial_report/report/open_items_xlsx.py:19
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:77
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:73
#: model:ir.model.fields,field_description:account_financial_report.field_report_aged_partner_balance_move_line_date
#: model:ir.model.fields,field_description:account_financial_report.field_report_general_ledger_move_line_date
#: model:ir.model.fields,field_description:account_financial_report.field_report_journal_ledger_move_line_date
@ -965,7 +965,7 @@ msgid "Entry"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:76
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:72
#, python-format
msgid "Entry number"
msgstr ""
@ -1344,7 +1344,7 @@ msgstr ""
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:67
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:23
#: code:addons/account_financial_report/report/open_items_xlsx.py:21
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:83
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:79
#: model:ir.actions.client,name:account_financial_report.action_report_journal_ledger
#: model:ir.model.fields,field_description:account_financial_report.field_report_aged_partner_balance_move_line_journal
#: model:ir.model.fields,field_description:account_financial_report.field_report_general_ledger_move_line_journal
@ -1620,7 +1620,7 @@ msgid "No"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:84
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:80
#, python-format
msgid "No group"
msgstr ""
@ -1639,8 +1639,8 @@ msgid "No limit"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:758
#: code:addons/account_financial_report/report/general_ledger.py:1137
#: code:addons/account_financial_report/report/general_ledger.py:757
#: code:addons/account_financial_report/report/general_ledger.py:1136
#: code:addons/account_financial_report/report/open_items.py:306
#: code:addons/account_financial_report/report/open_items.py:555
#, python-format
@ -1648,7 +1648,7 @@ msgid "No partner allocated"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:70
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:66
#, python-format
msgid "Not Posted"
msgstr ""
@ -1861,7 +1861,7 @@ msgid "Periods"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:69
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:65
#, python-format
msgid "Posted"
msgstr ""
@ -2191,7 +2191,7 @@ msgid "Taxtags"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/general_ledger_wizard.py:130
#: code:addons/account_financial_report/wizard/general_ledger_wizard.py:153
#, python-format
msgid ""
"The Company in the General Ledger Report Wizard and in Date Range must be "
@ -2199,7 +2199,7 @@ msgid ""
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:135
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:161
#, python-format
msgid ""
"The Company in the Trial Balance Report Wizard and in Date Range must be the "
@ -2207,7 +2207,7 @@ msgid ""
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/vat_report_wizard.py:51
#: code:addons/account_financial_report/wizard/vat_report_wizard.py:61
#, python-format
msgid ""
"The Company in the Vat Report Wizard and in Date Range must be the same."

26
account_financial_report/i18n/de.po

@ -266,7 +266,7 @@ msgid "Aged Partner Balance XLSX"
msgstr "Partnersalden n. Alter XLSX"
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:68
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:64
#, python-format
msgid "All"
msgstr "Alle"
@ -435,7 +435,7 @@ msgid "Centralized"
msgstr "Abgestimmt"
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:1433
#: code:addons/account_financial_report/report/general_ledger.py:1432
#, python-format
msgid "Centralized Entries"
msgstr "Abgestimmte Posten"
@ -731,7 +731,7 @@ msgstr "Ist-Summe"
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:21
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:26
#: code:addons/account_financial_report/report/open_items_xlsx.py:19
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:77
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:73
#: model:ir.model.fields,field_description:account_financial_report.field_report_aged_partner_balance_move_line_date
#: model:ir.model.fields,field_description:account_financial_report.field_report_general_ledger_move_line_date
#: model:ir.model.fields,field_description:account_financial_report.field_report_journal_ledger_move_line_date
@ -982,7 +982,7 @@ msgid "Entry"
msgstr "Posten"
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:76
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:72
#, python-format
msgid "Entry number"
msgstr ""
@ -1380,7 +1380,7 @@ msgstr "Ist Partnerkonto"
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:67
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:23
#: code:addons/account_financial_report/report/open_items_xlsx.py:21
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:83
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:79
#: model:ir.actions.client,name:account_financial_report.action_report_journal_ledger
#: model:ir.model.fields,field_description:account_financial_report.field_report_aged_partner_balance_move_line_journal
#: model:ir.model.fields,field_description:account_financial_report.field_report_general_ledger_move_line_journal
@ -1662,7 +1662,7 @@ msgid "No"
msgstr "Nein"
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:84
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:80
#, fuzzy, python-format
msgid "No group"
msgstr "Steuerklasse"
@ -1682,8 +1682,8 @@ msgid "No limit"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:758
#: code:addons/account_financial_report/report/general_ledger.py:1137
#: code:addons/account_financial_report/report/general_ledger.py:757
#: code:addons/account_financial_report/report/general_ledger.py:1136
#: code:addons/account_financial_report/report/open_items.py:306
#: code:addons/account_financial_report/report/open_items.py:555
#, python-format
@ -1691,7 +1691,7 @@ msgid "No partner allocated"
msgstr "Kein Partner zugewiesen"
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:70
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:66
#, python-format
msgid "Not Posted"
msgstr ""
@ -1905,7 +1905,7 @@ msgid "Periods"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:69
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:65
#, python-format
msgid "Posted"
msgstr ""
@ -2244,7 +2244,7 @@ msgid "Taxtags"
msgstr "Steuer-Stichwörter"
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/general_ledger_wizard.py:130
#: code:addons/account_financial_report/wizard/general_ledger_wizard.py:153
#, python-format
msgid ""
"The Company in the General Ledger Report Wizard and in Date Range must be "
@ -2252,7 +2252,7 @@ msgid ""
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:135
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:161
#, python-format
msgid ""
"The Company in the Trial Balance Report Wizard and in Date Range must be the "
@ -2260,7 +2260,7 @@ msgid ""
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/vat_report_wizard.py:51
#: code:addons/account_financial_report/wizard/vat_report_wizard.py:61
#, python-format
msgid ""
"The Company in the Vat Report Wizard and in Date Range must be the same."

26
account_financial_report/i18n/es.po

@ -258,7 +258,7 @@ msgid "Aged Partner Balance XLSX"
msgstr "Saldo vencidos de empresa XLSX"
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:68
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:64
#, python-format
msgid "All"
msgstr "Todos"
@ -424,7 +424,7 @@ msgid "Centralized"
msgstr "Centralizado"
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:1433
#: code:addons/account_financial_report/report/general_ledger.py:1432
#, python-format
msgid "Centralized Entries"
msgstr "Centralizar las entradas"
@ -727,7 +727,7 @@ msgstr "Actual"
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:21
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:26
#: code:addons/account_financial_report/report/open_items_xlsx.py:19
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:77
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:73
#: model:ir.model.fields,field_description:account_financial_report.field_report_aged_partner_balance_move_line_date
#: model:ir.model.fields,field_description:account_financial_report.field_report_general_ledger_move_line_date
#: model:ir.model.fields,field_description:account_financial_report.field_report_journal_ledger_move_line_date
@ -981,7 +981,7 @@ msgid "Entry"
msgstr "Asiento"
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:76
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:72
#, python-format
msgid "Entry number"
msgstr "Número de asiento"
@ -1367,7 +1367,7 @@ msgstr "Es cuenta de Asociado"
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:67
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:23
#: code:addons/account_financial_report/report/open_items_xlsx.py:21
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:83
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:79
#: model:ir.actions.client,name:account_financial_report.action_report_journal_ledger
#: model:ir.model.fields,field_description:account_financial_report.field_report_aged_partner_balance_move_line_journal
#: model:ir.model.fields,field_description:account_financial_report.field_report_general_ledger_move_line_journal
@ -1644,7 +1644,7 @@ msgid "No"
msgstr "No"
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:84
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:80
#, python-format
msgid "No group"
msgstr "Sin grupo"
@ -1663,8 +1663,8 @@ msgid "No limit"
msgstr "Sin límite"
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:758
#: code:addons/account_financial_report/report/general_ledger.py:1137
#: code:addons/account_financial_report/report/general_ledger.py:757
#: code:addons/account_financial_report/report/general_ledger.py:1136
#: code:addons/account_financial_report/report/open_items.py:306
#: code:addons/account_financial_report/report/open_items.py:555
#, python-format
@ -1672,7 +1672,7 @@ msgid "No partner allocated"
msgstr "Empresa sin asignar"
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:70
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:66
#, python-format
msgid "Not Posted"
msgstr "Sin Postear"
@ -1885,7 +1885,7 @@ msgid "Periods"
msgstr "Periodos"
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:69
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:65
#, python-format
msgid "Posted"
msgstr "Posteado"
@ -2214,7 +2214,7 @@ msgid "Taxtags"
msgstr "Etiquetas de impuestos"
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/general_ledger_wizard.py:130
#: code:addons/account_financial_report/wizard/general_ledger_wizard.py:153
#, python-format
msgid ""
"The Company in the General Ledger Report Wizard and in Date Range must be "
@ -2222,7 +2222,7 @@ msgid ""
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:135
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:161
#, python-format
msgid ""
"The Company in the Trial Balance Report Wizard and in Date Range must be the "
@ -2230,7 +2230,7 @@ msgid ""
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/vat_report_wizard.py:51
#: code:addons/account_financial_report/wizard/vat_report_wizard.py:61
#, python-format
msgid ""
"The Company in the Vat Report Wizard and in Date Range must be the same."

26
account_financial_report/i18n/fr.po

@ -257,7 +257,7 @@ msgid "Aged Partner Balance XLSX"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:68
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:64
#, python-format
msgid "All"
msgstr ""
@ -424,7 +424,7 @@ msgid "Centralized"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:1433
#: code:addons/account_financial_report/report/general_ledger.py:1432
#, python-format
msgid "Centralized Entries"
msgstr ""
@ -720,7 +720,7 @@ msgstr ""
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:21
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:26
#: code:addons/account_financial_report/report/open_items_xlsx.py:19
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:77
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:73
#: model:ir.model.fields,field_description:account_financial_report.field_report_aged_partner_balance_move_line_date
#: model:ir.model.fields,field_description:account_financial_report.field_report_general_ledger_move_line_date
#: model:ir.model.fields,field_description:account_financial_report.field_report_journal_ledger_move_line_date
@ -967,7 +967,7 @@ msgid "Entry"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:76
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:72
#, python-format
msgid "Entry number"
msgstr ""
@ -1346,7 +1346,7 @@ msgstr ""
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:67
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:23
#: code:addons/account_financial_report/report/open_items_xlsx.py:21
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:83
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:79
#: model:ir.actions.client,name:account_financial_report.action_report_journal_ledger
#: model:ir.model.fields,field_description:account_financial_report.field_report_aged_partner_balance_move_line_journal
#: model:ir.model.fields,field_description:account_financial_report.field_report_general_ledger_move_line_journal
@ -1622,7 +1622,7 @@ msgid "No"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:84
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:80
#, python-format
msgid "No group"
msgstr ""
@ -1641,8 +1641,8 @@ msgid "No limit"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:758
#: code:addons/account_financial_report/report/general_ledger.py:1137
#: code:addons/account_financial_report/report/general_ledger.py:757
#: code:addons/account_financial_report/report/general_ledger.py:1136
#: code:addons/account_financial_report/report/open_items.py:306
#: code:addons/account_financial_report/report/open_items.py:555
#, python-format
@ -1650,7 +1650,7 @@ msgid "No partner allocated"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:70
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:66
#, python-format
msgid "Not Posted"
msgstr ""
@ -1863,7 +1863,7 @@ msgid "Periods"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:69
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:65
#, python-format
msgid "Posted"
msgstr ""
@ -2194,7 +2194,7 @@ msgid "Taxtags"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/general_ledger_wizard.py:130
#: code:addons/account_financial_report/wizard/general_ledger_wizard.py:153
#, python-format
msgid ""
"The Company in the General Ledger Report Wizard and in Date Range must be "
@ -2202,7 +2202,7 @@ msgid ""
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:135
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:161
#, python-format
msgid ""
"The Company in the Trial Balance Report Wizard and in Date Range must be the "
@ -2210,7 +2210,7 @@ msgid ""
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/vat_report_wizard.py:51
#: code:addons/account_financial_report/wizard/vat_report_wizard.py:61
#, python-format
msgid ""
"The Company in the Vat Report Wizard and in Date Range must be the same."

26
account_financial_report/i18n/hr_HR.po

@ -259,7 +259,7 @@ msgid "Aged Partner Balance XLSX"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:68
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:64
#, python-format
msgid "All"
msgstr ""
@ -426,7 +426,7 @@ msgid "Centralized"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:1433
#: code:addons/account_financial_report/report/general_ledger.py:1432
#, python-format
msgid "Centralized Entries"
msgstr ""
@ -722,7 +722,7 @@ msgstr ""
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:21
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:26
#: code:addons/account_financial_report/report/open_items_xlsx.py:19
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:77
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:73
#: model:ir.model.fields,field_description:account_financial_report.field_report_aged_partner_balance_move_line_date
#: model:ir.model.fields,field_description:account_financial_report.field_report_general_ledger_move_line_date
#: model:ir.model.fields,field_description:account_financial_report.field_report_journal_ledger_move_line_date
@ -969,7 +969,7 @@ msgid "Entry"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:76
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:72
#, python-format
msgid "Entry number"
msgstr ""
@ -1348,7 +1348,7 @@ msgstr ""
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:67
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:23
#: code:addons/account_financial_report/report/open_items_xlsx.py:21
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:83
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:79
#: model:ir.actions.client,name:account_financial_report.action_report_journal_ledger
#: model:ir.model.fields,field_description:account_financial_report.field_report_aged_partner_balance_move_line_journal
#: model:ir.model.fields,field_description:account_financial_report.field_report_general_ledger_move_line_journal
@ -1624,7 +1624,7 @@ msgid "No"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:84
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:80
#, python-format
msgid "No group"
msgstr ""
@ -1643,8 +1643,8 @@ msgid "No limit"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:758
#: code:addons/account_financial_report/report/general_ledger.py:1137
#: code:addons/account_financial_report/report/general_ledger.py:757
#: code:addons/account_financial_report/report/general_ledger.py:1136
#: code:addons/account_financial_report/report/open_items.py:306
#: code:addons/account_financial_report/report/open_items.py:555
#, python-format
@ -1652,7 +1652,7 @@ msgid "No partner allocated"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:70
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:66
#, python-format
msgid "Not Posted"
msgstr ""
@ -1865,7 +1865,7 @@ msgid "Periods"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:69
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:65
#, python-format
msgid "Posted"
msgstr ""
@ -2196,7 +2196,7 @@ msgid "Taxtags"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/general_ledger_wizard.py:130
#: code:addons/account_financial_report/wizard/general_ledger_wizard.py:153
#, python-format
msgid ""
"The Company in the General Ledger Report Wizard and in Date Range must be "
@ -2204,7 +2204,7 @@ msgid ""
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:135
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:161
#, python-format
msgid ""
"The Company in the Trial Balance Report Wizard and in Date Range must be the "
@ -2212,7 +2212,7 @@ msgid ""
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/vat_report_wizard.py:51
#: code:addons/account_financial_report/wizard/vat_report_wizard.py:61
#, python-format
msgid ""
"The Company in the Vat Report Wizard and in Date Range must be the same."

26
account_financial_report/i18n/it.po

@ -256,7 +256,7 @@ msgid "Aged Partner Balance XLSX"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:68
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:64
#, python-format
msgid "All"
msgstr ""
@ -423,7 +423,7 @@ msgid "Centralized"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:1433
#: code:addons/account_financial_report/report/general_ledger.py:1432
#, python-format
msgid "Centralized Entries"
msgstr ""
@ -719,7 +719,7 @@ msgstr ""
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:21
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:26
#: code:addons/account_financial_report/report/open_items_xlsx.py:19
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:77
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:73
#: model:ir.model.fields,field_description:account_financial_report.field_report_aged_partner_balance_move_line_date
#: model:ir.model.fields,field_description:account_financial_report.field_report_general_ledger_move_line_date
#: model:ir.model.fields,field_description:account_financial_report.field_report_journal_ledger_move_line_date
@ -966,7 +966,7 @@ msgid "Entry"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:76
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:72
#, python-format
msgid "Entry number"
msgstr ""
@ -1353,7 +1353,7 @@ msgstr ""
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:67
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:23
#: code:addons/account_financial_report/report/open_items_xlsx.py:21
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:83
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:79
#: model:ir.actions.client,name:account_financial_report.action_report_journal_ledger
#: model:ir.model.fields,field_description:account_financial_report.field_report_aged_partner_balance_move_line_journal
#: model:ir.model.fields,field_description:account_financial_report.field_report_general_ledger_move_line_journal
@ -1630,7 +1630,7 @@ msgid "No"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:84
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:80
#, python-format
msgid "No group"
msgstr ""
@ -1649,8 +1649,8 @@ msgid "No limit"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:758
#: code:addons/account_financial_report/report/general_ledger.py:1137
#: code:addons/account_financial_report/report/general_ledger.py:757
#: code:addons/account_financial_report/report/general_ledger.py:1136
#: code:addons/account_financial_report/report/open_items.py:306
#: code:addons/account_financial_report/report/open_items.py:555
#, python-format
@ -1658,7 +1658,7 @@ msgid "No partner allocated"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:70
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:66
#, python-format
msgid "Not Posted"
msgstr ""
@ -1872,7 +1872,7 @@ msgid "Periods"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:69
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:65
#, python-format
msgid "Posted"
msgstr ""
@ -2202,7 +2202,7 @@ msgid "Taxtags"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/general_ledger_wizard.py:130
#: code:addons/account_financial_report/wizard/general_ledger_wizard.py:153
#, python-format
msgid ""
"The Company in the General Ledger Report Wizard and in Date Range must be "
@ -2210,7 +2210,7 @@ msgid ""
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:135
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:161
#, python-format
msgid ""
"The Company in the Trial Balance Report Wizard and in Date Range must be the "
@ -2218,7 +2218,7 @@ msgid ""
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/vat_report_wizard.py:51
#: code:addons/account_financial_report/wizard/vat_report_wizard.py:61
#, python-format
msgid ""
"The Company in the Vat Report Wizard and in Date Range must be the same."

26
account_financial_report/i18n/nl.po

@ -264,7 +264,7 @@ msgid "Aged Partner Balance XLSX"
msgstr "Ouderdomsanalyse XLSX"
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:68
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:64
#, python-format
msgid "All"
msgstr "Alle"
@ -431,7 +431,7 @@ msgid "Centralized"
msgstr "Gecentraliseerd"
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:1433
#: code:addons/account_financial_report/report/general_ledger.py:1432
#, python-format
msgid "Centralized Entries"
msgstr "Gecentraliseerde boekingen"
@ -729,7 +729,7 @@ msgstr "Huidig"
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:21
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:26
#: code:addons/account_financial_report/report/open_items_xlsx.py:19
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:77
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:73
#: model:ir.model.fields,field_description:account_financial_report.field_report_aged_partner_balance_move_line_date
#: model:ir.model.fields,field_description:account_financial_report.field_report_general_ledger_move_line_date
#: model:ir.model.fields,field_description:account_financial_report.field_report_journal_ledger_move_line_date
@ -983,7 +983,7 @@ msgid "Entry"
msgstr "Boeking"
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:76
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:72
#, python-format
msgid "Entry number"
msgstr "Boekingsnummer"
@ -1377,7 +1377,7 @@ msgstr "Is partner rekening"
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:67
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:23
#: code:addons/account_financial_report/report/open_items_xlsx.py:21
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:83
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:79
#: model:ir.actions.client,name:account_financial_report.action_report_journal_ledger
#: model:ir.model.fields,field_description:account_financial_report.field_report_aged_partner_balance_move_line_journal
#: model:ir.model.fields,field_description:account_financial_report.field_report_general_ledger_move_line_journal
@ -1654,7 +1654,7 @@ msgid "No"
msgstr "Nee"
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:84
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:80
#, python-format
msgid "No group"
msgstr "Geen groep"
@ -1674,8 +1674,8 @@ msgid "No limit"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:758
#: code:addons/account_financial_report/report/general_ledger.py:1137
#: code:addons/account_financial_report/report/general_ledger.py:757
#: code:addons/account_financial_report/report/general_ledger.py:1136
#: code:addons/account_financial_report/report/open_items.py:306
#: code:addons/account_financial_report/report/open_items.py:555
#, python-format
@ -1683,7 +1683,7 @@ msgid "No partner allocated"
msgstr "Geen partner toegewezen"
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:70
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:66
#, python-format
msgid "Not Posted"
msgstr "Ongeboekt"
@ -1899,7 +1899,7 @@ msgid "Periods"
msgstr "Periodes"
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:69
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:65
#, python-format
msgid "Posted"
msgstr "Geboekt"
@ -2230,7 +2230,7 @@ msgid "Taxtags"
msgstr "Belasting labels"
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/general_ledger_wizard.py:130
#: code:addons/account_financial_report/wizard/general_ledger_wizard.py:153
#, python-format
msgid ""
"The Company in the General Ledger Report Wizard and in Date Range must be "
@ -2238,7 +2238,7 @@ msgid ""
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:135
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:161
#, python-format
msgid ""
"The Company in the Trial Balance Report Wizard and in Date Range must be the "
@ -2246,7 +2246,7 @@ msgid ""
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/vat_report_wizard.py:51
#: code:addons/account_financial_report/wizard/vat_report_wizard.py:61
#, python-format
msgid ""
"The Company in the Vat Report Wizard and in Date Range must be the same."

26
account_financial_report/i18n/nl_NL.po

@ -258,7 +258,7 @@ msgid "Aged Partner Balance XLSX"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:68
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:64
#, python-format
msgid "All"
msgstr ""
@ -425,7 +425,7 @@ msgid "Centralized"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:1433
#: code:addons/account_financial_report/report/general_ledger.py:1432
#, python-format
msgid "Centralized Entries"
msgstr ""
@ -721,7 +721,7 @@ msgstr ""
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:21
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:26
#: code:addons/account_financial_report/report/open_items_xlsx.py:19
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:77
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:73
#: model:ir.model.fields,field_description:account_financial_report.field_report_aged_partner_balance_move_line_date
#: model:ir.model.fields,field_description:account_financial_report.field_report_general_ledger_move_line_date
#: model:ir.model.fields,field_description:account_financial_report.field_report_journal_ledger_move_line_date
@ -968,7 +968,7 @@ msgid "Entry"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:76
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:72
#, python-format
msgid "Entry number"
msgstr ""
@ -1347,7 +1347,7 @@ msgstr ""
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:67
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:23
#: code:addons/account_financial_report/report/open_items_xlsx.py:21
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:83
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:79
#: model:ir.actions.client,name:account_financial_report.action_report_journal_ledger
#: model:ir.model.fields,field_description:account_financial_report.field_report_aged_partner_balance_move_line_journal
#: model:ir.model.fields,field_description:account_financial_report.field_report_general_ledger_move_line_journal
@ -1623,7 +1623,7 @@ msgid "No"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:84
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:80
#, python-format
msgid "No group"
msgstr ""
@ -1642,8 +1642,8 @@ msgid "No limit"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:758
#: code:addons/account_financial_report/report/general_ledger.py:1137
#: code:addons/account_financial_report/report/general_ledger.py:757
#: code:addons/account_financial_report/report/general_ledger.py:1136
#: code:addons/account_financial_report/report/open_items.py:306
#: code:addons/account_financial_report/report/open_items.py:555
#, python-format
@ -1651,7 +1651,7 @@ msgid "No partner allocated"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:70
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:66
#, python-format
msgid "Not Posted"
msgstr ""
@ -1864,7 +1864,7 @@ msgid "Periods"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:69
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:65
#, python-format
msgid "Posted"
msgstr ""
@ -2193,7 +2193,7 @@ msgid "Taxtags"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/general_ledger_wizard.py:130
#: code:addons/account_financial_report/wizard/general_ledger_wizard.py:153
#, python-format
msgid ""
"The Company in the General Ledger Report Wizard and in Date Range must be "
@ -2201,7 +2201,7 @@ msgid ""
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:135
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:161
#, python-format
msgid ""
"The Company in the Trial Balance Report Wizard and in Date Range must be the "
@ -2209,7 +2209,7 @@ msgid ""
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/vat_report_wizard.py:51
#: code:addons/account_financial_report/wizard/vat_report_wizard.py:61
#, python-format
msgid ""
"The Company in the Vat Report Wizard and in Date Range must be the same."

26
account_financial_report/i18n/pt.po

@ -257,7 +257,7 @@ msgid "Aged Partner Balance XLSX"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:68
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:64
#, python-format
msgid "All"
msgstr ""
@ -424,7 +424,7 @@ msgid "Centralized"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:1433
#: code:addons/account_financial_report/report/general_ledger.py:1432
#, python-format
msgid "Centralized Entries"
msgstr ""
@ -720,7 +720,7 @@ msgstr ""
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:21
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:26
#: code:addons/account_financial_report/report/open_items_xlsx.py:19
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:77
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:73
#: model:ir.model.fields,field_description:account_financial_report.field_report_aged_partner_balance_move_line_date
#: model:ir.model.fields,field_description:account_financial_report.field_report_general_ledger_move_line_date
#: model:ir.model.fields,field_description:account_financial_report.field_report_journal_ledger_move_line_date
@ -967,7 +967,7 @@ msgid "Entry"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:76
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:72
#, python-format
msgid "Entry number"
msgstr ""
@ -1346,7 +1346,7 @@ msgstr ""
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:67
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:23
#: code:addons/account_financial_report/report/open_items_xlsx.py:21
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:83
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:79
#: model:ir.actions.client,name:account_financial_report.action_report_journal_ledger
#: model:ir.model.fields,field_description:account_financial_report.field_report_aged_partner_balance_move_line_journal
#: model:ir.model.fields,field_description:account_financial_report.field_report_general_ledger_move_line_journal
@ -1622,7 +1622,7 @@ msgid "No"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:84
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:80
#, python-format
msgid "No group"
msgstr ""
@ -1641,8 +1641,8 @@ msgid "No limit"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:758
#: code:addons/account_financial_report/report/general_ledger.py:1137
#: code:addons/account_financial_report/report/general_ledger.py:757
#: code:addons/account_financial_report/report/general_ledger.py:1136
#: code:addons/account_financial_report/report/open_items.py:306
#: code:addons/account_financial_report/report/open_items.py:555
#, python-format
@ -1650,7 +1650,7 @@ msgid "No partner allocated"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:70
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:66
#, python-format
msgid "Not Posted"
msgstr ""
@ -1863,7 +1863,7 @@ msgid "Periods"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:69
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:65
#, python-format
msgid "Posted"
msgstr ""
@ -2194,7 +2194,7 @@ msgid "Taxtags"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/general_ledger_wizard.py:130
#: code:addons/account_financial_report/wizard/general_ledger_wizard.py:153
#, python-format
msgid ""
"The Company in the General Ledger Report Wizard and in Date Range must be "
@ -2202,7 +2202,7 @@ msgid ""
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:135
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:161
#, python-format
msgid ""
"The Company in the Trial Balance Report Wizard and in Date Range must be the "
@ -2210,7 +2210,7 @@ msgid ""
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/vat_report_wizard.py:51
#: code:addons/account_financial_report/wizard/vat_report_wizard.py:61
#, python-format
msgid ""
"The Company in the Vat Report Wizard and in Date Range must be the same."

26
account_financial_report/i18n/ro.po

@ -262,7 +262,7 @@ msgid "Aged Partner Balance XLSX"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:68
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:64
#, python-format
msgid "All"
msgstr "Tot"
@ -430,7 +430,7 @@ msgid "Centralized"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:1433
#: code:addons/account_financial_report/report/general_ledger.py:1432
#, python-format
msgid "Centralized Entries"
msgstr ""
@ -726,7 +726,7 @@ msgstr "Curent"
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:21
#: code:addons/account_financial_report/report/journal_ledger_xlsx.py:26
#: code:addons/account_financial_report/report/open_items_xlsx.py:19
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:77
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:73
#: model:ir.model.fields,field_description:account_financial_report.field_report_aged_partner_balance_move_line_date
#: model:ir.model.fields,field_description:account_financial_report.field_report_general_ledger_move_line_date
#: model:ir.model.fields,field_description:account_financial_report.field_report_journal_ledger_move_line_date
@ -973,7 +973,7 @@ msgid "Entry"
msgstr "Înregistrare"
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:76
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:72
#, python-format
msgid "Entry number"
msgstr "Număr înregistrare"
@ -1360,7 +1360,7 @@ msgstr ""
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:67
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:23
#: code:addons/account_financial_report/report/open_items_xlsx.py:21
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:83
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:79
#: model:ir.actions.client,name:account_financial_report.action_report_journal_ledger
#: model:ir.model.fields,field_description:account_financial_report.field_report_aged_partner_balance_move_line_journal
#: model:ir.model.fields,field_description:account_financial_report.field_report_general_ledger_move_line_journal
@ -1638,7 +1638,7 @@ msgid "No"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:84
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:80
#, python-format
msgid "No group"
msgstr ""
@ -1657,8 +1657,8 @@ msgid "No limit"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/report/general_ledger.py:758
#: code:addons/account_financial_report/report/general_ledger.py:1137
#: code:addons/account_financial_report/report/general_ledger.py:757
#: code:addons/account_financial_report/report/general_ledger.py:1136
#: code:addons/account_financial_report/report/open_items.py:306
#: code:addons/account_financial_report/report/open_items.py:555
#, python-format
@ -1666,7 +1666,7 @@ msgid "No partner allocated"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:70
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:66
#, python-format
msgid "Not Posted"
msgstr "Nepostat"
@ -1880,7 +1880,7 @@ msgid "Periods"
msgstr "Perioade"
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:69
#: code:addons/account_financial_report/wizard/journal_ledger_wizard.py:65
#, python-format
msgid "Posted"
msgstr "Postat"
@ -2210,7 +2210,7 @@ msgid "Taxtags"
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/general_ledger_wizard.py:130
#: code:addons/account_financial_report/wizard/general_ledger_wizard.py:153
#, python-format
msgid ""
"The Company in the General Ledger Report Wizard and in Date Range must be "
@ -2218,7 +2218,7 @@ msgid ""
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:135
#: code:addons/account_financial_report/wizard/trial_balance_wizard.py:161
#, python-format
msgid ""
"The Company in the Trial Balance Report Wizard and in Date Range must be the "
@ -2226,7 +2226,7 @@ msgid ""
msgstr ""
#. module: account_financial_report
#: code:addons/account_financial_report/wizard/vat_report_wizard.py:51
#: code:addons/account_financial_report/wizard/vat_report_wizard.py:61
#, python-format
msgid ""
"The Company in the Vat Report Wizard and in Date Range must be the same."

7
account_financial_report/readme/HISTORY.rst

@ -1,3 +1,10 @@
11.0.2.4.1 (2019-01-08)
~~~~~~~~~~~~~~~~~~~~~~~
* Handle better multicompany behaviour
* Improve how title appears in the reports
11.0.2.3.1 (2018-11-29)
~~~~~~~~~~~~~~~~~~~~~~~

1
account_financial_report/report/general_ledger.py

@ -254,7 +254,6 @@ class GeneralLedgerReportCompute(models.TransientModel):
self._inject_partner_values()
if not self.filter_partner_ids:
self._inject_partner_values(only_empty_partner=True)
# Add unaffected earnings account
if (not self.filter_account_ids or
self.unaffected_earnings_account.id in

4
account_financial_report/report/templates/aged_partner_balance.xml

@ -17,9 +17,9 @@
<!-- Defines global variables used by internal layout -->
<t t-set="title">Aged Partner Balance - <t t-raw="o.company_id.name"/> - <t t-raw="o.company_id.currency_id.name"/></t>
<t t-set="company_name" t-value="o.company_id.name"/>
<div class="page data_table">
<div class="page">
<div class="row">
<h4 class="mt0" t-esc="title or 'Odoo Report'"/>
<h4 class="mt0" t-esc="title or 'Odoo Report'" style="text-align: center;"/>
</div>
<!-- Display filters -->
<t t-call="account_financial_report.report_aged_partner_balance_filters"/>

4
account_financial_report/report/templates/general_ledger.xml

@ -19,9 +19,9 @@
<!-- Defines global variables used by internal layout -->
<t t-set="title">General Ledger - <t t-raw="o.company_id.name"/> - <t t-raw="o.company_id.currency_id.name"/></t>
<t t-set="company_name" t-value="o.company_id.name"/>
<div class="page data_table">
<div class="page">
<div class="row">
<h4 class="mt0" t-esc="title or 'Odoo Report'"/>
<h4 class="mt0" t-esc="title or 'Odoo Report'" style="text-align: center;"/>
</div>
<!-- Display filters -->
<t t-call="account_financial_report.report_general_ledger_filters"/>

4
account_financial_report/report/templates/journal_ledger.xml

@ -16,9 +16,9 @@
<t t-set="display_account_name" t-value="o.with_account_name"/>
<t t-set="title">Journal Ledger - <t t-raw="o.company_id.name"/> - <t t-raw="o.company_id.currency_id.name"/></t>
<t t-set="company_name" t-value="o.company_id.name"/>
<div class="page data_table">
<div class="page">
<div class="row">
<h4 class="mt0" t-esc="title or 'Odoo Report'"/>
<h4 class="mt0" t-esc="title or 'Odoo Report'" style="text-align: center;"/>
</div>
<t t-if="o.group_option == 'none'">
<div class="page_break">

4
account_financial_report/report/templates/open_items.xml

@ -17,9 +17,9 @@
<!-- Defines global variables used by internal layout -->
<t t-set="title">Open Items - <t t-raw="o.company_id.name"/> - <t t-raw="o.company_id.currency_id.name"/></t>
<t t-set="company_name" t-value="o.company_id.name"/>
<div class="page data_table">
<div class="page">
<div class="row">
<h4 class="mt0" t-esc="title or 'Odoo Report'"/>
<h4 class="mt0" t-esc="title or 'Odoo Report'" style="text-align: center;"/>
</div>
<!-- Display filters -->
<t t-call="account_financial_report.report_open_items_filters"/>

4
account_financial_report/report/templates/trial_balance.xml

@ -19,9 +19,9 @@
<t t-set="title">Trial Balance - <t t-raw="o.company_id.name"/> - <t t-raw="o.company_id.currency_id.name"/></t>
<t t-set="company_name" t-value="o.company_id.name"/>
<t t-set="res_company" t-value="o.company_id"/>
<div class="page data_table">
<div class="page">
<div class="row">
<h4 class="mt0" t-esc="title or 'Odoo Report'"/>
<h4 class="mt0" t-esc="title or 'Odoo Report'" style="text-align: center;"/>
</div>
<!-- Display filters -->
<t t-call="account_financial_report.report_trial_balance_filters"/>

4
account_financial_report/report/templates/vat_report.xml

@ -14,9 +14,9 @@
<template id="account_financial_report.report_vat_report_base">
<t t-set="title">VAT Report - <t t-raw="o.company_id.name"/> - <t t-raw="o.company_id.currency_id.name"/></t>
<t t-set="company_name" t-value="o.company_id.name"/>
<div class="page data_table">
<div class="page">
<div class="row">
<h4 class="mt0" t-esc="title or 'Odoo Report'"/>
<h4 class="mt0" t-esc="title or 'Odoo Report'" style="text-align: center;"/>
</div>
<!-- Display filters -->
<t t-call="account_financial_report.report_vat_report_filters"/>

36
account_financial_report/static/description/index.html

@ -386,23 +386,31 @@ currency balances are not available.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#changelog" id="id2">Changelog</a><ul>
<li><a class="reference internal" href="#id1" id="id3">11.0.2.3.1 (2018-11-29)</a></li>
<li><a class="reference internal" href="#changelog" id="id3">Changelog</a><ul>
<li><a class="reference internal" href="#id1" id="id4">11.0.2.4.1 (2019-01-08)</a></li>
<li><a class="reference internal" href="#id2" id="id5">11.0.2.3.1 (2018-11-29)</a></li>
</ul>
</li>
<li><a class="reference internal" href="#bug-tracker" id="id4">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id5">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id6">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="id7">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="id8">Maintainers</a></li>
<li><a class="reference internal" href="#bug-tracker" id="id6">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id7">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id8">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="id9">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="id10">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="changelog">
<h1><a class="toc-backref" href="#id2">Changelog</a></h1>
<h1><a class="toc-backref" href="#id3">Changelog</a></h1>
<div class="section" id="id1">
<h2><a class="toc-backref" href="#id3">11.0.2.3.1 (2018-11-29)</a></h2>
<h2><a class="toc-backref" href="#id4">11.0.2.4.1 (2019-01-08)</a></h2>
<ul class="simple">
<li>Handle better multicompany behaviour</li>
<li>Improve how title appears in the reports</li>
</ul>
</div>
<div class="section" id="id2">
<h2><a class="toc-backref" href="#id5">11.0.2.3.1 (2018-11-29)</a></h2>
<ul class="simple">
<li>In the Trial Balance you can apply a filter by hierarchy levels</li>
<li>In the General Ledger you can apply a filter by Analytic Tag</li>
@ -411,7 +419,7 @@ currency balances are not available.</p>
</div>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#id4">Bug Tracker</a></h1>
<h1><a class="toc-backref" href="#id6">Bug Tracker</a></h1>
<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
@ -419,9 +427,9 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
<h1><a class="toc-backref" href="#id5">Credits</a></h1>
<h1><a class="toc-backref" href="#id7">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#id6">Authors</a></h2>
<h2><a class="toc-backref" href="#id8">Authors</a></h2>
<ul class="simple">
<li>Camptocamp SA</li>
<li>initOS GmbH</li>
@ -430,7 +438,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
</ul>
</div>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#id7">Contributors</a></h2>
<h2><a class="toc-backref" href="#id9">Contributors</a></h2>
<ul class="simple">
<li>Jordi Ballester &lt;<a class="reference external" href="mailto:jordi.ballester&#64;eficient.com">jordi.ballester&#64;eficient.com</a>&gt;</li>
<li>Yannick Vaucher &lt;<a class="reference external" href="mailto:yannick.vaucher&#64;camptocamp.com">yannick.vaucher&#64;camptocamp.com</a>&gt;</li>
@ -454,7 +462,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
April 2016.</p>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#id8">Maintainers</a></h2>
<h2><a class="toc-backref" href="#id10">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose

20
account_financial_report/wizard/aged_partner_balance_wizard.py

@ -17,7 +17,7 @@ class AgedPartnerBalanceWizard(models.TransientModel):
company_id = fields.Many2one(
comodel_name='res.company',
default=lambda self: self.env.user.company_id,
required=True,
required=False,
string='Company'
)
date_at = fields.Date(required=True,
@ -47,8 +47,22 @@ class AgedPartnerBalanceWizard(models.TransientModel):
lambda p: p.company_id == self.company_id or
not p.company_id)
if self.company_id and self.account_ids:
self.account_ids = self.account_ids.filtered(
lambda a: a.company_id == self.company_id)
if self.receivable_accounts_only or self.payable_accounts_only:
self.onchange_type_accounts_only()
else:
self.account_ids = self.account_ids.filtered(
lambda a: a.company_id == self.company_id)
res = {'domain': {'account_ids': [],
'partner_ids': []}}
if not self.company_id:
return res
else:
res['domain']['account_ids'] += [
('company_id', '=', self.company_id.id)]
res['domain']['partner_ids'] += [
'|', ('company_id', '=', self.company_id.id),
('company_id', '=', False)]
return res
@api.onchange('receivable_accounts_only', 'payable_accounts_only')
def onchange_type_accounts_only(self):

4
account_financial_report/wizard/aged_partner_balance_wizard_view.xml

@ -23,8 +23,7 @@
<label for="partner_ids"/>
<field name="partner_ids" nolabel="1"
widget="many2many_tags"
options="{'no_create': True}"
domain="['|',('company_id','=',company_id), ('company_id','=',False)]"/>
options="{'no_create': True}"/>
</group>
<group name="account_filter" col="4">
<label for="account_ids" colspan="4"/>
@ -33,7 +32,6 @@
<field name="account_ids" nolabel="1"
widget="many2many_tags"
options="{'no_create': True}"
domain="[('company_id','=',company_id)]"
colspan="4"/>
</group>
<footer>

29
account_financial_report/wizard/general_ledger_wizard.py

@ -22,7 +22,7 @@ class GeneralLedgerReportWizard(models.TransientModel):
company_id = fields.Many2one(
comodel_name='res.company',
default=lambda self: self.env.user.company_id,
required=True,
required=False,
string='Company'
)
date_range_id = fields.Many2one(
@ -108,11 +108,34 @@ class GeneralLedgerReportWizard(models.TransientModel):
lambda p: p.company_id == self.company_id or
not p.company_id)
if self.company_id and self.account_ids:
self.account_ids = self.account_ids.filtered(
lambda a: a.company_id == self.company_id)
if self.receivable_accounts_only or self.payable_accounts_only:
self.onchange_type_accounts_only()
else:
self.account_ids = self.account_ids.filtered(
lambda a: a.company_id == self.company_id)
if self.company_id and self.cost_center_ids:
self.cost_center_ids = self.cost_center_ids.filtered(
lambda c: c.company_id == self.company_id)
res = {'domain': {'account_ids': [],
'partner_ids': [],
'cost_center_ids': [],
'date_range_id': []
}
}
if not self.company_id:
return res
else:
res['domain']['account_ids'] += [
('company_id', '=', self.company_id.id)]
res['domain']['partner_ids'] += [
'|', ('company_id', '=', self.company_id.id),
('company_id', '=', False)]
res['domain']['cost_center_ids'] += [
('company_id', '=', self.company_id.id)]
res['domain']['date_range_id'] += [
'|', ('company_id', '=', self.company_id.id),
('company_id', '=', False)]
return res
@api.onchange('date_range_id')
def onchange_date_range_id(self):

8
account_financial_report/wizard/general_ledger_wizard_view.xml

@ -13,8 +13,7 @@
<div attrs="{'invisible': [('not_only_one_unaffected_earnings_account', '=', True)]}">
<group name="filters">
<group name="date_range">
<field name="date_range_id"
domain="['|',('company_id','=',company_id), ('company_id','=',False)]"/>
<field name="date_range_id"/>
<field name="date_from"/>
<field name="date_to"/>
<field name="fy_start_date" invisible="1"/>
@ -36,19 +35,16 @@
<field name="account_ids"
nolabel="1"
widget="many2many_tags"
options="{'no_create': True}"
domain="[('company_id','=',company_id)]"/>
options="{'no_create': True}"/>
</page>
<page string="Filter partners">
<field name="partner_ids" nolabel="1"
widget="many2many_tags"
domain="['|',('company_id','=',company_id), ('company_id','=',False)]"
options="{'no_create': True}"/>
</page>
<page string="Filter cost centers" groups="analytic.group_analytic_accounting">
<field name="cost_center_ids" nolabel="1"
options="{'no_create': True}"
domain="[('company_id','=',company_id)]"
groups="analytic.group_analytic_accounting"/>
</page>
<page string="Filter analytic tags">

23
account_financial_report/wizard/journal_ledger_wizard.py

@ -16,15 +16,12 @@ class JournalLedgerReportWizard(models.TransientModel):
comodel_name='res.company',
default=lambda self: self.env.user.company_id,
string='Company',
required=True,
required=False,
ondelete='cascade',
)
date_range_id = fields.Many2one(
comodel_name='date.range',
string='Date range',
domain="['|', "
"('company_id', '=', False),"
"('company_id', '=', company_id)]",
)
date_from = fields.Date(
string="Start date",
@ -37,7 +34,6 @@ class JournalLedgerReportWizard(models.TransientModel):
journal_ids = fields.Many2many(
comodel_name='account.journal',
string="Journals",
domain="[('company_id', '=', company_id)]",
required=False,
)
move_target = fields.Selection(
@ -89,6 +85,23 @@ class JournalLedgerReportWizard(models.TransientModel):
self.date_from = self.date_range_id.date_start
self.date_to = self.date_range_id.date_end
@api.onchange('company_id')
def onchange_company_id(self):
"""Handle company change."""
if self.company_id and self.date_range_id.company_id and \
self.date_range_id.company_id != self.company_id:
self.date_range_id = False
if self.company_id and self.journal_ids:
self.journal_ids = self.journal_ids.filtered(
lambda p: p.company_id == self.company_id or not p.company_id)
res = {'domain': {'journal_ids': []}}
if not self.company_id:
return res
else:
res['domain']['journal_ids'] += [
('company_id', '=', self.company_id.id)]
return res
@api.multi
def button_export_html(self):
self.ensure_one()

20
account_financial_report/wizard/open_items_wizard.py

@ -17,7 +17,7 @@ class OpenItemsReportWizard(models.TransientModel):
company_id = fields.Many2one(
comodel_name='res.company',
default=lambda self: self.env.user.company_id,
required=True,
required=False,
string='Company'
)
date_at = fields.Date(required=True,
@ -60,8 +60,22 @@ class OpenItemsReportWizard(models.TransientModel):
lambda p: p.company_id == self.company_id or
not p.company_id)
if self.company_id and self.account_ids:
self.account_ids = self.account_ids.filtered(
lambda a: a.company_id == self.company_id)
if self.receivable_accounts_only or self.payable_accounts_only:
self.onchange_type_accounts_only()
else:
self.account_ids = self.account_ids.filtered(
lambda a: a.company_id == self.company_id)
res = {'domain': {'account_ids': [],
'partner_ids': []}}
if not self.company_id:
return res
else:
res['domain']['account_ids'] += [
('company_id', '=', self.company_id.id)]
res['domain']['partner_ids'] += [
'|', ('company_id', '=', self.company_id.id),
('company_id', '=', False)]
return res
@api.onchange('receivable_accounts_only', 'payable_accounts_only')
def onchange_type_accounts_only(self):

2
account_financial_report/wizard/open_items_wizard_view.xml

@ -24,7 +24,6 @@
<label for="partner_ids"/>
<field name="partner_ids"
nolabel="1"
domain="['|',('company_id','=',company_id), ('company_id','=',False)]"
widget="many2many_tags"
options="{'no_create': True}"/>
</group>
@ -34,7 +33,6 @@
<field name="account_ids"
nolabel="1"
widget="many2many_tags"
domain="[('company_id','=',company_id)]"
options="{'no_create': True}"
colspan="4"/>
</group>

32
account_financial_report/wizard/trial_balance_wizard.py

@ -19,7 +19,7 @@ class TrialBalanceReportWizard(models.TransientModel):
company_id = fields.Many2one(
comodel_name='res.company',
default=lambda self: self.env.user.company_id,
required=True,
required=False,
string='Company'
)
date_range_id = fields.Many2one(
@ -115,9 +115,35 @@ class TrialBalanceReportWizard(models.TransientModel):
self.partner_ids = self.partner_ids.filtered(
lambda p: p.company_id == self.company_id or
not p.company_id)
if self.company_id and self.account_ids:
self.account_ids = self.account_ids.filtered(
if self.company_id and self.journal_ids:
self.journal_ids = self.journal_ids.filtered(
lambda a: a.company_id == self.company_id)
if self.company_id and self.account_ids:
if self.receivable_accounts_only or self.payable_accounts_only:
self.onchange_type_accounts_only()
else:
self.account_ids = self.account_ids.filtered(
lambda a: a.company_id == self.company_id)
res = {'domain': {'account_ids': [],
'partner_ids': [],
'date_range_id': [],
'journal_ids': [],
}
}
if not self.company_id:
return res
else:
res['domain']['account_ids'] += [
('company_id', '=', self.company_id.id)]
res['domain']['partner_ids'] += [
'|', ('company_id', '=', self.company_id.id),
('company_id', '=', False)]
res['domain']['date_range_id'] += [
'|', ('company_id', '=', self.company_id.id),
('company_id', '=', False)]
res['domain']['journal_ids'] += [
('company_id', '=', self.company_id.id)]
return res
@api.onchange('date_range_id')
def onchange_date_range_id(self):

5
account_financial_report/wizard/trial_balance_wizard_view.xml

@ -13,7 +13,7 @@
<div attrs="{'invisible': [('not_only_one_unaffected_earnings_account', '=', True)]}">
<group name="filters">
<group name="date_range">
<field name="date_range_id" domain="['|',('company_id','=',company_id), ('company_id','=',False)]"/>
<field name="date_range_id"/>
<field name="date_from"/>
<field name="date_to"/>
<field name="fy_start_date" invisible="1"/>
@ -32,14 +32,12 @@
<label for="partner_ids"/>
<field name="partner_ids"
nolabel="1"
domain="['|',('company_id','=',company_id), ('company_id','=',False)]"
widget="many2many_tags"
options="{'no_create': True}"/>
</group>
<label for="journal_ids"/>
<field name="journal_ids"
widget="many2many_tags"
domain="[('company_id','=',company_id)]"
nolabel="1"
options="{'no_create': True}"
/>
@ -52,7 +50,6 @@
<field name="account_ids"
nolabel="1"
widget="many2many_tags"
domain="[('company_id','=',company_id)]"
options="{'no_create': True}"
colspan="4"/>
</group>

12
account_financial_report/wizard/vat_report_wizard.py

@ -13,7 +13,7 @@ class VATReportWizard(models.TransientModel):
company_id = fields.Many2one(
comodel_name='res.company',
default=lambda self: self.env.user.company_id,
required=True,
required=False,
string='Company'
)
date_range_id = fields.Many2one(
@ -34,6 +34,16 @@ class VATReportWizard(models.TransientModel):
if self.company_id and self.date_range_id.company_id and \
self.date_range_id.company_id != self.company_id:
self.date_range_id = False
res = {'domain': {'date_range_id': [],
}
}
if not self.company_id:
return res
else:
res['domain']['date_range_id'] += [
'|', ('company_id', '=', self.company_id.id),
('company_id', '=', False)]
return res
@api.onchange('date_range_id')
def onchange_date_range_id(self):

2
account_financial_report/wizard/vat_report_wizard_view.xml

@ -11,7 +11,7 @@
</group>
<group name="filters">
<group name="date_range">
<field name="date_range_id" domain="['|',('company_id','=',company_id), ('company_id','=',False)]"/>
<field name="date_range_id"/>
<field name="date_from"/>
<field name="date_to"/>
</group>

Loading…
Cancel
Save