Resolved! Client script overriding the UI policy and making a field editable
Hi,I wrote an onload client script : function onLoad() {var isAdmin = g_user.hasRole('admin'); if (isAdmin){ g_form.setReadOnly('u_withdraw_credit_in_advance',false);g_form.setReadOnly('u_deposit_real_money',false); } } but the fields stay readonly. ...
