diff --git a/account_financial_report_qweb/menuitems.xml b/account_financial_report_qweb/menuitems.xml index b52255e2..bd179afa 100644 --- a/account_financial_report_qweb/menuitems.xml +++ b/account_financial_report_qweb/menuitems.xml @@ -1,42 +1,39 @@ - - + - + - + - + - + - - - - + + diff --git a/account_financial_report_qweb/report/general_ledger.py b/account_financial_report_qweb/report/general_ledger.py index c21f27a6..d590f617 100644 --- a/account_financial_report_qweb/report/general_ledger.py +++ b/account_financial_report_qweb/report/general_ledger.py @@ -594,7 +594,6 @@ AND query_inject_partner_params += ( self.env.uid, ) - print query_inject_partner_params self.env.cr.execute(query_inject_partner, query_inject_partner_params) def _inject_line_not_centralized_values(self, @@ -820,9 +819,9 @@ ORDER BY tuple(self.filter_cost_center_ids.ids), ) query_inject_move_line_params += ( - self.id, - self.date_from, - self.date_to, + self.id, + self.date_from, + self.date_to, ) self.env.cr.execute( query_inject_move_line, diff --git a/account_financial_report_qweb/report/templates/general_ledger.xml b/account_financial_report_qweb/report/templates/general_ledger.xml index c6c66419..0cb91502 100644 --- a/account_financial_report_qweb/report/templates/general_ledger.xml +++ b/account_financial_report_qweb/report/templates/general_ledger.xml @@ -247,4 +247,4 @@ - \ No newline at end of file + diff --git a/account_financial_report_qweb/report/templates/layouts.xml b/account_financial_report_qweb/report/templates/layouts.xml index d7a18165..ab6b6804 100644 --- a/account_financial_report_qweb/report/templates/layouts.xml +++ b/account_financial_report_qweb/report/templates/layouts.xml @@ -35,4 +35,4 @@ - \ No newline at end of file + diff --git a/account_financial_report_qweb/reports.xml b/account_financial_report_qweb/reports.xml index 9f42f59a..f93be889 100644 --- a/account_financial_report_qweb/reports.xml +++ b/account_financial_report_qweb/reports.xml @@ -1,76 +1,74 @@ - - + - + - + - + - + - + - - Account financial report qweb paperformat - - custom - 297 - 210 - Portrait - 12 - 8 - 5 - 5 - - 10 - 110 - + + Account financial report qweb paperformat + + custom + 297 + 210 + Portrait + 12 + 8 + 5 + 5 + + 10 + 110 + - - - + + + - - - + + + - - - + + + - + - - General Ledger XLSX - report_general_ledger_qweb - ir.actions.report.xml - account_financial_report_qweb.report_general_ledger_xlsx - xlsx - - + + General Ledger XLSX + report_general_ledger_qweb + ir.actions.report.xml + account_financial_report_qweb.report_general_ledger_xlsx + xlsx + + - - + diff --git a/account_financial_report_qweb/view/account_view.xml b/account_financial_report_qweb/view/account_view.xml index c7781c57..5015f7fe 100644 --- a/account_financial_report_qweb/view/account_view.xml +++ b/account_financial_report_qweb/view/account_view.xml @@ -1,17 +1,14 @@ - - - - account.account.form.inherit - - account.account - form - - - - + + + account.account.form.inherit + + account.account + form + + + - - - - + + + diff --git a/account_financial_report_qweb/wizard/aged_partner_balance_wizard.py b/account_financial_report_qweb/wizard/aged_partner_balance_wizard.py index e043660e..e591881c 100644 --- a/account_financial_report_qweb/wizard/aged_partner_balance_wizard.py +++ b/account_financial_report_qweb/wizard/aged_partner_balance_wizard.py @@ -37,15 +37,6 @@ class AgedPartnerBalance(models.TransientModel): ) show_move_line_details = fields.Boolean() - @api.onchange('date_range_id') - def onchange_date_range_id(self): - """Handle date range change.""" - self.date_at = self.date_range_id.date_end - if self.date_range_id.date_start: - self.fy_start_date = self.env.user.company_id.find_daterange_fy( - fields.Date.from_string(self.date_range_id.date_start) - ).date_start - @api.onchange('receivable_accounts_only', 'payable_accounts_only') def onchange_type_accounts_only(self): """Handle receivable/payable accounts only change.""" diff --git a/account_financial_report_qweb/wizard/aged_partner_balance_wizard_view.xml b/account_financial_report_qweb/wizard/aged_partner_balance_wizard_view.xml index 504750d1..ca49f9f4 100644 --- a/account_financial_report_qweb/wizard/aged_partner_balance_wizard_view.xml +++ b/account_financial_report_qweb/wizard/aged_partner_balance_wizard_view.xml @@ -1,52 +1,50 @@ - - + - - - Aged Partner Balance - aged.partner.balance.wizard - -
- - + + + Aged Partner Balance + aged.partner.balance.wizard + + + + + + + + - - - - - - - - + + + - +
+
- - Aged Partner Balance - ir.actions.act_window - aged.partner.balance.wizard - form - form - - new - + + Aged Partner Balance + ir.actions.act_window + aged.partner.balance.wizard + form + form + + new + -
-
+ diff --git a/account_financial_report_qweb/wizard/balance_common_wizard_view.xml b/account_financial_report_qweb/wizard/balance_common_wizard_view.xml index af870dfb..81194bbc 100644 --- a/account_financial_report_qweb/wizard/balance_common_wizard_view.xml +++ b/account_financial_report_qweb/wizard/balance_common_wizard_view.xml @@ -1,59 +1,57 @@ - - + - - Balance Common Wizard - account.common.balance.report - primary - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
- - True - -
-
-
+ + Balance Common Wizard + account.common.balance.report + primary + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ + True + +
+
+
-
-
+ diff --git a/account_financial_report_qweb/wizard/general_ledger_wizard_view.xml b/account_financial_report_qweb/wizard/general_ledger_wizard_view.xml index fd5ce2e6..52250300 100644 --- a/account_financial_report_qweb/wizard/general_ledger_wizard_view.xml +++ b/account_financial_report_qweb/wizard/general_ledger_wizard_view.xml @@ -1,61 +1,59 @@ - - + - - - General Ledger - general.ledger.report.wizard - -
- - + + + General Ledger + general.ledger.report.wizard + + + + + + + + + + + - - - - - - - - - - - - + + + + - +
+
- - General Ledger - ir.actions.act_window - general.ledger.report.wizard - form - form - - new - + + General Ledger + ir.actions.act_window + general.ledger.report.wizard + form + form + + new + -
-
+ diff --git a/account_financial_report_qweb/wizard/open_items_wizard.py b/account_financial_report_qweb/wizard/open_items_wizard.py index 9b930856..32705214 100644 --- a/account_financial_report_qweb/wizard/open_items_wizard.py +++ b/account_financial_report_qweb/wizard/open_items_wizard.py @@ -43,15 +43,6 @@ class OpenItemsReportWizard(models.TransientModel): string='Filter partners', ) - @api.onchange('date_range_id') - def onchange_date_range_id(self): - """Handle date range change.""" - self.date_at = self.date_range_id.date_end - if self.date_range_id.date_start: - self.fy_start_date = self.env.user.company_id.find_daterange_fy( - fields.Date.from_string(self.date_range_id.date_start) - ).date_start - @api.onchange('receivable_accounts_only', 'payable_accounts_only') def onchange_type_accounts_only(self): """Handle receivable/payable accounts only change.""" diff --git a/account_financial_report_qweb/wizard/open_items_wizard_view.xml b/account_financial_report_qweb/wizard/open_items_wizard_view.xml index 30ee1ab2..08b6db27 100644 --- a/account_financial_report_qweb/wizard/open_items_wizard_view.xml +++ b/account_financial_report_qweb/wizard/open_items_wizard_view.xml @@ -1,52 +1,50 @@ - - + - - - Open Items - open.items.report.wizard - -
- - + + + Open Items + open.items.report.wizard + + + + + + + + - - - - - - - - + + + - +
+
- - Open Items - ir.actions.act_window - open.items.report.wizard - form - form - - new - + + Open Items + ir.actions.act_window + open.items.report.wizard + form + form + + new + -
-
\ No newline at end of file + diff --git a/account_financial_report_qweb/wizard/trial_balance_wizard_view.xml b/account_financial_report_qweb/wizard/trial_balance_wizard_view.xml index 9540134d..d622cbf3 100644 --- a/account_financial_report_qweb/wizard/trial_balance_wizard_view.xml +++ b/account_financial_report_qweb/wizard/trial_balance_wizard_view.xml @@ -1,38 +1,36 @@ - - + - - Trial Balance Wizard - account.common.balance.report - primary - - - - - - - True - - - True - + + Trial Balance Wizard + account.common.balance.report + primary + + + + + + + True + + + True + - - - + + + - - Trial Balance - ir.actions.act_window - account.common.balance.report - form - form - - new - {'balance_common': 'trial_balance'} - + + Trial Balance + ir.actions.act_window + account.common.balance.report + form + form + + new + {'balance_common': 'trial_balance'} + - - +