Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
4 Odpowiedzi
4709 Widoki

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)

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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. 

Awatar
Odrzuć
Najlepsza odpowiedź

Worked for me

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
gru 22
2288
1
lip 22
19613
2
mar 15
4817
2
lip 25
2218
1
mar 25
1094