Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1359 มุมมอง

Hello,

I'm currently using Odoo Online and I want to create an automation (similar to the driver history system in the Fleet Management application).

Here's the error I'm encountering: ValueError: Invalid field 'name' on model 'x_clients_tanks'. But obviously, there is no 'name' field in this model because it's a custom model, and I'm required to prefix my fields with 'x_'.

My "Tanks" model has a One2Many field called 'x_historique_clients'. My "Clients" model has a One2Many field called 'x_historique_tanks'. My "x_clients_tanks" model has the following fields:

  • many2one: client_id
  • many2one: tank_id

Do you have any idea how I can proceed?


Thanks in advance for your help!



อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
4
มิ.ย. 25
1749
1
ก.ค. 23
2167
0
ธ.ค. 22
2920
0
พ.ย. 22
2135
0
ส.ค. 22
1801