Skip to Content
Menu
This question has been flagged
1305 Views

Whenever I try to print a pentaho report file from odoo this show's up:

Sorry, you are not allowed to access documents of type 'system parameters' (ir.config_parameter).

This operation is allowed for groups:

    - Administration/Settings - (Operation: read, User: 6)


Which is weird because this is the first time I encounter this warning and I've created pentaho reports without access rights/groups indicated.

What causes this issue?


Here is the code for report.xml for reference

<record id="class_list_form_pdf" model="ir.actions.report">

<field name="name">Class List Form (PDF)</field>

<field name="report_name">class.list.form.pdf</field>

<field name="model">config.class.list</field>

<field name="groups_id" eval="[(4,ref('module.group_class_adviser')),(4,ref('module.group_gs_registrar')),(4,ref('module.group_hs_registrar'))]"/>

<field name="pentaho_report_model_id" ref="model_config_class_list"/>

<field name="pentaho_filename">module/report/class_list.prpt</field>

<field name="pentaho_report_output_type">pdf</field>

<field name="report_type">pentaho</field>

<field name="pentaho_load_file" eval="True"/>

</record>


The groups_id field there was just added because I thought it'll solve the issue but it doesn't.

Thanks in advance.

Avatar
Discard