From 83ed99d9737cde8e38ec70f3a43d7e10ea0fccbd Mon Sep 17 00:00:00 2001 From: niyasraphy Date: Sun, 23 Jul 2023 18:14:58 +0000 Subject: [PATCH] [IMP] account: remove unused function before this commit, the create_cash_statement function defined in the journal model is not called from any where. left over in: https://github.com/odoo/odoo/commit/9299f81f19a87d6e6eb9ee19a79d96d3fb1050b2 after this commit, the function will be removed from code. closes odoo/odoo#129304 Related: odoo/enterprise#44453 Signed-off-by: John Laterre (jol) --- addons/account/models/account_journal_dashboard.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/addons/account/models/account_journal_dashboard.py b/addons/account/models/account_journal_dashboard.py index 2f469383b8b..ccb3ef7e788 100644 --- a/addons/account/models/account_journal_dashboard.py +++ b/addons/account/models/account_journal_dashboard.py @@ -610,9 +610,6 @@ class account_journal(models.Model): 'context': self._get_move_action_context(), } - def create_cash_statement(self): - raise UserError(_('Please install Accounting for this feature')) - def action_create_vendor_bill(self): """ This function is called by the "Import" button of Vendor Bills, visible on dashboard if no bill has been created yet.