From b8827ec63d38808421ebf3c82fcb56424196f0d5 Mon Sep 17 00:00:00 2001 From: Jorge Padawan Date: Fri, 8 Jan 2021 16:45:20 +0100 Subject: [PATCH] Fix problems with ACL and the autocomplete of bank entity --- db/changes/10270-wiseMan/00-ACL.sql | 2 +- modules/supplier/front/account/index.html | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/db/changes/10270-wiseMan/00-ACL.sql b/db/changes/10270-wiseMan/00-ACL.sql index e6374d5a2b..3d3f0d013f 100644 --- a/db/changes/10270-wiseMan/00-ACL.sql +++ b/db/changes/10270-wiseMan/00-ACL.sql @@ -1 +1 @@ -INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) VALUES ('SupplierAccount', '*', 'WRITE', 'ALLOW', 'ROLE', 'administrative'); \ No newline at end of file +INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`) VALUES ('SupplierAccount', '*', '*', 'ALLOW', 'ROLE', 'administrative'); \ No newline at end of file diff --git a/modules/supplier/front/account/index.html b/modules/supplier/front/account/index.html index 64eed2bbfe..ce908b0040 100644 --- a/modules/supplier/front/account/index.html +++ b/modules/supplier/front/account/index.html @@ -12,12 +12,6 @@ data="$ctrl.supplierAccounts" form="form"> - -
@@ -31,7 +25,7 @@ label="Bank entity" initial-data="$ctrl.getName(bankEntity)" ng-model="supplierAccount.bankEntityFk" - data="bankEntities" + url="BankEntities" on-change="$ctrl.getName(bankEntity)" show-field="name" rule>