跳至內容
選單
此問題已被標幟
3 回覆
8304 瀏覽次數

Hi,

I am trying to change the  Unit Of Measure for some products that already have several stock moves. Whoever created them did not define the right UOM and proceeded to create POs and do stock moves.

E.g I need to change the UOM for diesel from PC(s) to Litre(s) but I get this error "You can not change the unit of measure of a product that has already been used in a done stock move. If you need to change the unit of measure, you may deactivate this product."

Anyone managed to get to the bottom of this? Deactivating the products with wrong UOM is not an option at this point.

頭像
捨棄
最佳答案

Am in the same predicament and am wondering, is there no way to temporary by-pass or disable exception/error  for this one stock and update. The alternative given above will involve a lot of work. 
Kind Regards

Chacha Kairu

頭像
捨棄

Of course this is not possible, for your own good. Please make yourself familiar with the basic business logic and workflows in an ERP system.

This would be the same as asking your accountant to change the currency of an existing account. Go figure his answer :-)

最佳答案

For obvious reasons, this is not possible. Deactivating the products is the only reasonable option you have without manipulating the database directly, which is extremely dangerous, maybe tedious and definitely not recommended.

頭像
捨棄
作者

Thanks for the reply Ermin.

I understand what you mean. Is there a way to reverse done stock moves as another alternative?

Reverting stock moves is not enough. You'll need to delete them and also all documents, which have a relationship to the products, such as POs, SOs etc.

This link will give you a basic idea https://www.odoo.com/forum/help-1/question/how-to-delete-the-stock-moves-when-they-are-in-done-state-5122

相關帖文 回覆 瀏覽次數 活動
4
12月 24
3792
change Uom 已解決
2
4月 24
4102
1
12月 22
2259
0
12月 21
2656
1
6月 16
2934