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

How do i get past this? I don't even know where to look in Odoo for any possible errors.



Validation Error

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: Stock Move (stock. move)

Field: Intermediate Location (location_dest_id)

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,
The error is raised when the value for the required field is not passed in the create method. So ensure to pass all the values for the required fields in the model

In this case the field in location_dest_id and model is stock.move

Thanks

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi 

The error is occurring when you're trying to create a record in stock.move model. the field mentioned in error 'location_dest_id' is a required field as its missing when creating the new record. so the system throws the error message. 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Worked for me

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,


This error occurs when a necessary field is left blank when creating or editing a record in Odoo.

In your situation, you need to provide a value for the field named location_dest_id.

For additional details, please refer to: https://www.youtube.com/watch?v=mA_OojjUP0I


Hope it helps

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ธ.ค. 22
2367
1
ก.ค. 22
19734
2
มี.ค. 15
4915
2
ก.ค. 25
2316
1
มี.ค. 25
1187