Odoo Help

0

Odoo 9 Inventory Adjustment - Validation Error

By
Troy Allen
on 4/24/16, 11:45 AM 489 views

When doing an inventory adjustment "Validate Inventory", for some products (not all products) the following error is returned and inventory adjustment is not completed.  The import file is configured the same for all products.  I have spent hours analyzing and trouble shooting trying to understand what may be different with the products.  All products are using variants and are lot tracked.  The lot numbers and product association have previously been imported.

The following fields are supplied in the import file.

"company","filter","id,line_ids/location","line_ids/prod_lot_id","line_ids/product_id/id","line_ids/product_qty","location_id/id,name"

Any hints if there is a configuration issue or other?

Odoo Warning - Validation Error

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]
1
Hamza rana
On 4/24/16, 8:34 PM

As it says, 

object with reference: location_id - location.id
So I think when you are importing or trying to do inventory adjustments, there is something wrong with your location. Try changing that. Go to Inventory > Configurations.

Then try to edit/delete the locations.

Hope this helps.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 4/24/16, 11:45 AM
Seen: 489 times
Last updated: 4/24/16, 8:34 PM