Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
7638 Vues

 when i tray to change UoM in items of category receive error   


You cannot change the unit of measure as there are already stock moves for this product. If you want to change the unit of measure, you should rather archive this product and create a new on

Avatar
Ignorer
Meilleure réponse

Hi,

In odoo, you cannot change the unit of measure (UoM) for a product in Odoo if there are existing stock moves associated with that product. This restriction ensures data consistency and prevents potential issues with existing transactions.


Here's how you can handle this situation in Odoo:


1)Archive and Create a New Product

Archive the Existing Product:


2)Create a New Product with the Desired UoM:

After archiving the existing product, go back to the product list.

Click on the Create button to add a new product.

Fill in the details for the new product, including the desired unit of measure.

Save the new product.

Or

you can remove Stock Moves (Advanced)

Note: This option is more complex and should be approached with caution. Ensure you have proper backups before proceeding.


Hope it helps

Avatar
Ignorer
Meilleure réponse

Hello,

Probably there will be some stock movements for that product in the database. If there are any, then Odoo won't allow you to change the UOM. 

You can Archive that product and Create a new product with proper UOM. If you already have any stock on that product, create an Inventory adjustment and adjust it with the new product.

Avatar
Ignorer
Publications associées Réponses Vues Activité
4
déc. 24
4193
1
déc. 22
2588
0
déc. 21
2898
3
août 24
8716
1
juin 16
3232