[MIG] account_financial_report: Migration to 14.0
Since v14, Odoo defines the `__slots__` attribute in the `BaseModel` class (ea3e39506a)
This makes it impossible to add attributes to an instance like it was done here in v13.
The use of the `report_data` dictionary passed between method is the closes and simples solution to this "issue".
TT26415
Co-authored-by: Alex Cuellar <acuellar@grupoyacck.com>
This commit is contained in:
@@ -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"
|
||||
@@ -51,32 +51,22 @@ msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_buttons
|
||||
msgid "<span class=\"fa fa-download\"/> Export"
|
||||
msgid ""
|
||||
"<span class=\"fa fa-download\"/>\n"
|
||||
" Export"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model_terms:ir.ui.view,arch_db:account_financial_report.report_buttons
|
||||
msgid "<span class=\"fa fa-print\"/> Print"
|
||||
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>"
|
||||
"<span class=\"fa fa-print\"/>\n"
|
||||
" Print"
|
||||
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 ""
|
||||
@@ -634,9 +624,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
|
||||
@@ -905,8 +899,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
|
||||
@@ -947,9 +941,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
|
||||
@@ -1030,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"
|
||||
@@ -1070,9 +1067,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
|
||||
@@ -1221,11 +1222,9 @@ msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: code:addons/account_financial_report/report/open_items_xlsx.py:0
|
||||
#: model:ir.actions.act_window,name:account_financial_report.action_open_items_wizard
|
||||
#: model:ir.actions.client,name:account_financial_report.action_report_open_items
|
||||
#: model:ir.actions.report,name:account_financial_report.action_print_report_open_items_html
|
||||
#: model:ir.actions.report,name:account_financial_report.action_print_report_open_items_qweb
|
||||
#: model:ir.ui.menu,name:account_financial_report.menu_open_items_wizard
|
||||
#, python-format
|
||||
msgid "Open Items"
|
||||
msgstr ""
|
||||
@@ -1260,6 +1259,12 @@ msgstr ""
|
||||
msgid "Open Items XLSX Report"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model:ir.actions.act_window,name:account_financial_report.action_open_items_wizard
|
||||
#: model:ir.ui.menu,name:account_financial_report.menu_open_items_wizard
|
||||
msgid "Open Itemsr"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_financial_report
|
||||
#: model_terms:ir.ui.view,arch_db:account_financial_report.journal_ledger_wizard
|
||||
msgid "Options"
|
||||
@@ -1647,8 +1652,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
|
||||
@@ -1760,6 +1765,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"
|
||||
|
||||
Reference in New Issue
Block a user