diff --git a/account_statement_import/__manifest__.py b/account_statement_import/__manifest__.py index 647d9a97..491db326 100644 --- a/account_statement_import/__manifest__.py +++ b/account_statement_import/__manifest__.py @@ -6,7 +6,7 @@ { "name": "Import Statement Files", "category": "Accounting", - "version": "14.0.1.1.0", + "version": "14.0.1.1.1", "license": "LGPL-3", "depends": ["account"], "author": "Odoo SA, Akretion, Odoo Community Association (OCA)", diff --git a/account_statement_import/models/account_journal.py b/account_statement_import/models/account_journal.py index f49bfa0c..38e4ad6f 100644 --- a/account_statement_import/models/account_journal.py +++ b/account_statement_import/models/account_journal.py @@ -25,8 +25,10 @@ class AccountJournal(models.Model): def import_statement(self): """return action to import bank/cash statements. This button should be called only on journals with type =='bank'""" - action = self.env.ref( - "account_statement_import.account_statement_import_action" - ).read()[0] + action = ( + self.env.ref("account_statement_import.account_statement_import_action") + .sudo() + .read()[0] + ) action["context"] = {"journal_id": self.id} return action diff --git a/account_statement_import/static/description/icon.png b/account_statement_import/static/description/icon.png index 3a0328b5..dcde013a 100644 Binary files a/account_statement_import/static/description/icon.png and b/account_statement_import/static/description/icon.png differ diff --git a/account_statement_import/static/description/icon.svg b/account_statement_import/static/description/icon.svg new file mode 100644 index 00000000..a421f135 --- /dev/null +++ b/account_statement_import/static/description/icon.svg @@ -0,0 +1,78 @@ + +image/svg+xml +  + + + \ No newline at end of file diff --git a/account_statement_import/static/description/icon_src.svg b/account_statement_import/static/description/icon_src.svg deleted file mode 100644 index 70fab01c..00000000 --- a/account_statement_import/static/description/icon_src.svg +++ /dev/null @@ -1,207 +0,0 @@ - -image/svg+xml08/12/13 1000.00 Delta PC08/15/13 75.46 Walts Drugs03/03/13 379.00 Epic Technologies03/04/13 20.28 YOUR LOCAL SU03/03/13 421.35 SPRINGFIELD WA03/03/13 379.00 Epic Technologies03/04/13 20.28 YOUR LOCAL SUP08/15/13 75.46 Walts Drugs08/12/13 1000.00 Delta PC03/03/13 421.35 SPRINGFIELD WA03/04/13 20.28 YOUR LOCAL SU03/03/13 379.00 Epic Technologies08/12/13 1000.00 De a PC03/03/13 379.00 E Technologies08/15/13 75.46 Walts Drugs03/04/13 20.28 YOUR LOCAL SU03/03/13 379.00 Epic Technologies08/12/13 1000.00 Delta PC08/15/13 75.46 Walts Drugs - -