Skip to main content
Question

Failed to create a record in Odoo ERP Self Hosted - kanban_state

  • December 16, 2024
  • 2 replies
  • 10 views

Hello, 

We are getting the error below trying to create Odoo project tasks.

model: project.task

Thanks,

Fitinsur

=========================================

Failed to create a record in Odoo ERP Self Hosted
Odoo API Error (Invalid field 'kanban_state' on model 'project.task'): Traceback (most recent call last):
  File "/home/odoo/src/odoo/18.0/odoo/models.py", line 6357, in _update_cache
    field_values = [(fields[name], value) for name, value in values.items() if name != 'id']
                     ~~~~~~^^^^^^
KeyError: 'kanban_state'

=========================================

Did this topic help you find an answer to your question?

2 replies

  • Author
  • New
  • 1 reply
  • December 16, 2024

I was able to create a stand-alone “task” record changing to “Create Project Task” action event, however I was required to create a task inside a project record. I did not find any clue to send for example the “project_id” as part of payload.

 

Did someone have similar issue ?

 

Thanks,

Fitinsur


ken.a
Forum|alt.badge.img+6
  • Zapier Staff
  • 6423 replies
  • December 17, 2024

Hi ​@fitinsur,

Welcome to the Community! 🎉

Before we dig deeper into this, would you mind sharing a detailed screenshot of how your Zap is configured? Also, please share a screenshot of the “CONFIGURE” section of the Odoo action step that shows all of its fields.

Please don't include personal information in the screenshot, or be sure blur out any personal information.

Thanks!