Error in Odoo node "access denied

Describe the problem/error/question

im having troubles in de n8n Odoo fields, im getting this error

  • There was a problem loading the parameter options from server: “Access Denied”

    as i know, it should be a access permission configuration, but i cant find which one is. the credentials are working fine

What is the error message (if any)?

  • There was a problem loading the parameter options from server: “Access Denied”

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
{
  "nodes": [
    {
      "parameters": {
        "resource": "custom",
        "customResource": "account.move",
        "fieldsToCreateOrUpdate": {
          "fields": [
            {
              "fieldName": "=move_type",
              "fieldValue": "out_invoice"
            },
            {
              "fieldName": "=invoice_date",
              "fieldValue": "={{ new Date().toISOString().slice(0, 10) }}"
            },
            {
              "fieldName": "=invoice_pdf_report_file",
              "fieldValue": "={{ $('Process Data from Document IA').item.json.base64 }}"
            },
            {
              "fieldName": "=name",
              "fieldValue": "={{ $('Process Data from Document IA').item.json.entityList.filter(item => item.type==='numero_factura_boleta')[0].mentionText\n.concat(\" \",\n$('Process Data from Document IA').item.json.entityList.filter(item => item.type==='tipo_documento')[0].mentionText\n).concat(\" \",$('Process Data from Document IA').item.json.entityList.filter(item => item.type==='emisor_factura')[0].mentionText)\n}} "
            },
            {
              "fieldName": "=ref",
              "fieldValue": "={{ $('Process Data from Document IA').item.json.entityList.filter(item => item.type==='emisor_factura')[0].mentionText\n}} "
            },
            {}
          ]
        }
      },
      "type": "n8n-nodes-base.odoo",
      "typeVersion": 1,
      "position": [
        1060,
        320
      ],
      "id": "25f1888b-b267-433d-82e2-af8753f96023",
      "name": "Odoo1",
      "alwaysOutputData": false,
      "credentials": {
        "odooApi": {
          "id": "8dWPihxIl8lpxMFV",
          "name": "Odoo account 2"
        }
      }
    }
  ],
  "connections": {},
  "pinData": {},
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "aeddf801223d3757f425d2bce95c0c29832f0ded17c21d5bf353c8785f7910dc"
  }
}

## Share the output returned by the last node
<!-- If you need help with data transformations, please also share your expected output. -->

## Information on your n8n setup
- **n8n version:**
- **Database (default: SQLite):**
- **n8n EXECUTIONS_PROCESS setting (default: own, main):**
- **Running n8n via (Docker, npm, n8n cloud, desktop app):**
- **Operating system:**
1 Like

Hey Cesar,

i have the same problem. Did you fix it?

Hi all

Trying to connect to ODOO, but can’t get access to custom fields. Same problem here, any help? Thanks Iin advance

you need permission to read records from ir_model

make sure your user has read permission for model ir.model.access