Skip to Content
Menu
This question has been flagged
2 Replies
4006 Views

I am using odoo POS V12, when i try to valid sale i have the error below. i need help!

×The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set

[object with reference: location_id - location.id]
Avatar
Discard
Best Answer

Please check on pos.order model if this field location_id is set to required. By default it should not be required.

Go to Settings, activate development mode, Technical, Database Structure, Models, and filter for pos.order.


Avatar
Discard
Best Answer

Check POS configuration and also when order is going to create check which picking type is getting taken as the location used in creation of POS order is taken from picking type only. It is related field where value is related with picking type.

Avatar
Discard
Related Posts Replies Views Activity
0
Sep 24
1455
1
Aug 24
9641
0
Sep 23
1360
0
Mar 23
7499
2
Aug 22
8566