コンテンツへスキップ
メニュー
この質問にフラグが付けられました

Hello Team,

I have created few products using the import option as follows : Inventory > Master Data > Products > Import file

Now I wish to update the "quantity on hand" for these products and I am trying to do it using the import option as follows: Inventory> Inventory Adjustment> Import

I have already created my CSV file but when i am doing the import i am getting the following error message:

"null value in column "location_id" violates not-null constraint DETAIL: Failing row contains (229, 172, null, 313, 1, 15.000, null, null, null, null, null, 2, 2018-12-28 20:23:40.467659, 2, 2018-12-28 20:23:40.467659). at row 2"

Can you please help me to solve this issue? I can send you the file.

Note: I am using online odoo version 11

Thanking you in advance.

Klix

アバター
破棄
最善の回答

dear Klix,

Try Excel like this:

name
line_ids/location_id/id
line_ids/product_qty
line_ids/product_uom_id/id
line_ids/product_id
stock.stock_location_stock
4
product.product_uom_dozen
product name 1
stock.stock_location_stock
2
product.product_uom_dozen
product name 2

アバター
破棄
最善の回答

Hi,


as this is inventory valuation where you have imported the stock you have to validate it after importing. This is the best way to do it.

Best regards

アバター
破棄
著作者 最善の回答

Hello Ayman, 

I have tried your excel format and it works! I have been struggling with this since yesterday and I really appreciate your helps.

One last thing i would like to know if you can help me on this, After importing products and their quantity using your excel format, i can see that the status of the inventory is set Draft after successful import.

I would like to know if it possible to set inventory Status=Validated in the excel itself when importing?

Thanking you in advance.

Klix


アバター
破棄
関連投稿 返信 ビュー 活動
2
10月 24
2306
3
7月 22
6465
1
4月 21
1923
2
1月 21
5013
1
8月 18
5042