Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
4 Replies
17440 Tampilan

Hi,


1) I am using free POS app, which includes inventory and invoice app

2) I have imported my products into odoo using Inventory -> Master -> Products -> Import

3) I'm now trying to import the Quantity on Hand using Inventory -> Operations -> Inventory Adjustments

3a) I created a Inventory Adjustment record.

3b) I am now trying to import Inventory Lines


But I keep getting errors like

"Unknown error during import: <class 'KeyError'>: 'product_id' at 80 different rows:"

Would someone be able to advise how to use import to update Quantity on Hand?

Avatar
Buang
Jawaban Terbai

Looks like a mismatch in external id values.

Export the Inventory Lines to an importable csv, update the Counted Quantity (product_qty) field in the file and import it back into Odoo - import only the product_qty field since that is the only field you want to update. This will ensure that there is no mismatch between the external id in Odoo and the data file.

Avatar
Buang
Penulis

Paresh, I think I understand what you mean. I have to create all the inventory lines that I want to update first. Then export it and update the product count via the excel file. And finally import the excel file again. Am I right?

Jawaban Terbai

Here is the video :


Avatar
Buang
Penulis Jawaban Terbai

HI Aswini, in the link, it says I can create a new Inventory Adjustment and select All Products and Start Inventory. But I don't find that option.​



Paresh, I think I understand what you mean. I have to create all the inventory lines that I want to update first. Then export it and update the product count via the excel file. And finally import the excel file again. Am I right?

Avatar
Buang

The "All Products" option was available till Odoo 12. It seems to have been removed in Odoo 13. If you leave the Products field empty, the Inventory Adjustment lines will be pre-populated with all the products.

Penulis

I see. Actually I created 1 product manually. And I imported about 80 other products via Products -> Import

The weird thing is that when I tried to do Inventory Valuation (import inventory lines) and left the Product fields empty, only that 1 product that I created manually appears. The other 80 imported products doesn't appear. Do you happen to know why? Perhaps some missing field or settings?

Is the Product Type set to "Storable Product" ?

Just noticed one more thing that seems to be a little different than before. Only Products with a qty on hand seem to be getting pre-populated. Previously, it used to populate all products irrespective of qty on hand.

Penulis

Yup all my products are set as storable.

All my imported products do not have a QoH since during product import, they don't allow us to update QoH.

Jawaban Terbai

Hi,

below link may help you

https://www.odoo.com/forum/help-1/question/how-can-i-import-initial-inventory-stock-via-inventory-adjustment-155859

Aswini iWesabe

Avatar
Buang
Penulis

I can't seem to find the 'All Products' option. Any suggestoin?

Post Terkait Replies Tampilan Aktivitas
3
Nov 24
1696
3
Jan 21
5398
2
Mei 23
2354
0
Agu 22
1556
2
Mar 22
5676