Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
2515 Lượt xem

Hello, how can I create a lead with API from Make(integromat) taking information in google sheet?

Every time I try to execute the process, appears this message:

[2] The operation cannot be completed: - Create/update: a mandatory field is not set. - Delete: another model requires the record being deleted. If possible, archive it instead. Model: Lead/Opportunity (crm.lead), Field: Opportunity (name)

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

The error message you're encountering indicates that the "name" field, which is mandatory for the crm.lead model in Odoo, is not being set. The "name" field typically represents the opportunity name or lead title. 

  • Make sure you have added name column in your google sheet
  • map the "name" column from your Google Sheet to the "name" field in your API request.

Hope this will help you

Thanks 



Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Hi, thanks for help!

I did it and everything worked out.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi Maikon Silva,

We you try to create lead from external API, you need to make sure you have setup all necessary / mandatory field for Lead object. Currently, it seems like you haven't passed name field. 

   

To solve this you need to provide name field in API.

I hope this will help you. 

Thanks,
Vimal Rughani (Founder and CTO)
Himanjali Intelligent Automation Pvt Ltd
Contact:
 +91- 972-606-7737
Emailhello@himanjali.com 
NewsletterThe Odoo Scoop
Websitewww.himanjali.co

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 1 23
1414
0
thg 9 21
1760
0
thg 7 21
4520
1
thg 3 21
4106
0
thg 3 23
113