Skip to Content
Menu
This question has been flagged

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.

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]
Avatar
Discard
Author Best Answer

A little more information.

All products are using variants and are lot tracked.  The import file is configured the same for all products.  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?

Avatar
Discard
Related Posts Replies Views Activity
6
Nov 24
42381
2
Aug 19
4903
2
Jan 23
2277
1
Mar 22
2788
3
Aug 24
8866