diff --git a/account_statement_import_online_plaid/__manifest__.py b/account_statement_import_online_plaid/__manifest__.py index 9b782525e..01960344a 100644 --- a/account_statement_import_online_plaid/__manifest__.py +++ b/account_statement_import_online_plaid/__manifest__.py @@ -2,7 +2,7 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). { "name": "Online Bank Statements: plaid.com", - "version": "16.0.1.0.0", + "version": "17.0.1.0.0", "category": "Account", "website": "https://github.com/OCA/bank-statement-import", "author": "Binhex, Odoo Community Association (OCA)", @@ -10,6 +10,7 @@ "installable": True, "depends": ["account_statement_import_online"], "data": [ + "security/ir.model.access.csv", "views/online_bank_statement_provider.xml", ], "assets": { @@ -18,6 +19,6 @@ ], }, "external_dependencies": { - "python": ["plaid-python"], + "python": ["plaid-python==23.0.0"], }, } diff --git a/account_statement_import_online_plaid/security/ir.model.access.csv b/account_statement_import_online_plaid/security/ir.model.access.csv new file mode 100644 index 000000000..3cc409649 --- /dev/null +++ b/account_statement_import_online_plaid/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +plaid_interface_manager,plaid interface manager,model_plaid_interface,account.group_account_user,1,1,1,1 +plaid_interface_user,plaid interface user,model_plaid_interface,base.group_user,1,0,0,0 diff --git a/account_statement_import_online_plaid/views/online_bank_statement_provider.xml b/account_statement_import_online_plaid/views/online_bank_statement_provider.xml index a0e6f1bb3..32221135c 100644 --- a/account_statement_import_online_plaid/views/online_bank_statement_provider.xml +++ b/account_statement_import_online_plaid/views/online_bank_statement_provider.xml @@ -12,14 +12,14 @@ @@ -30,7 +30,7 @@ class="btn btn-secondary" name="action_sync_with_plaid" string="Sync with Plaid.com" - attrs="{'invisible': [('service', '!=', 'plaid')]}" + invisible="service != 'plaid'" /> diff --git a/requirements.txt b/requirements.txt index a3b69ece0..2c6d63eed 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ # generated from manifests external_dependencies chardet -plaid-python +plaid-python==23.0.0 xlrd