Hello, I am working on a payment plugin for odoo 16.
After a payment during the processing, i try to access a fonction that is in the payment_provider.py files by using tx.provider_id.my_function()
When i do that i get the following error :
Access Denied by ACLs for operation: read, uid: 4, model: payment.provider
You are not allowed to access 'Payment Provider' (payment.provider) records.
This operation is allowed for the following groups:
- Administration/Settings
Contact your administrator to request access if necessary.
I don't want the user to have to modify the right of some groups to make the application work.
How should i proceed to be able to call that function everytime.