This question has been flagged

I am trying to import multiple inventory adjustments line with an import file, but I run into the following error:

Unknown error during import: odoo.exceptions.UserError'>: Quant's editing is restricted, you can't do this operation.


These are the fields that I am using:


How can I get rid of this error? I want to be able to import counted quantities massively, as manually updating the quantities will take too long.   

Avatar
Discard

Nice, This happens all the time. Thank you!

Author Best Answer

When testing the import file, remove all of the fields except for:

*External ID
*Counted Quantity

Keeping these two fields will remove the error:


After importing the file, don't forget to click on "Apply" to update the on hand quantity to the counted quantity!




Avatar
Discard

Hi,

I am getting same error, I have created some custom fields in stock.quant (settings>>Technicals>>Database>>Model>>stock.quant) and then updated same in edit:view list, now I can see the custom field but now on updating quantity I am getting something "User Error: Quant's creation is restricted, you can't do this operation."

Author

Hi Ankur,

You may need to check the user's access rights to make sure that they have Admin access rights to the Inventory app.

Best Answer

Andrea Martinez' solution also worked for me (Odoo online V16).

Avatar
Discard