Script not allowed

When i try execute my scripts in my custom app files this show “Not permitted”.

  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 72, in is_whitelisted
    raise frappe.PermissionError('Not Allowed, {0}'.format(method))
PermissionError: Not Allowed, <module 'financeiro.financeiro.doctype.titulos.titulos' from '/home/frappe/frappe-bench/apps/financeiro/financeiro/financeiro/doctype/titulos/'>

It looks like you don’t have the script whitelisted. add:


In front of the def titulos code

My code is whitelisted

Tried “allow_guest = True” too

Has missing the name of function in method(i don’t know why this desappeared today…) but, can close topic now.