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

Bad Request

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: Social Stream Post Image Attachment (social.stream.post.image)

Field: Image URL (image_url)

Please assist, I am getting the above error when adding instagram stream regardless of the settings options I choose. All. other streams uploaded seamlessly.

Ảnh đại diện
Huỷ bỏ

Yes I can help you please connect with skype name:Yahoo Baba Official

Tác giả Câu trả lời hay nhất

Thank you very much for your response @YahooBaba. Please note I do not understand any coding language and this is my first time using Odoo. I would need clear step by step instructions to solve the problem. From your response, I checked under the tab "Configuration" and I only have the options "Social media" "Social accounts" and "Social Streams" and I not able to populate anything. Please advise

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

Hii Tumi

- Ensure that all mandatory fields required by the 'social.stream.post.image' model are correctly set. In this case, the image_url field seems to be required. Check the configuration or code to make sure this field is populated.

- 'social.stream.post.image' records are created or updated. Ensure that the image_url is being set properly:

record = self.env['social.stream.post.image'].create({ 'image_url': 'http://example.com/image.jpg',

 # Make sure this value is not empty# other fields 

})

Thanks,

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 10 24
1484
0
thg 4 25
1705
2
thg 8 25
1190
3
thg 3 25
2160
0
thg 2 25
1194