how to import QOH in odoo 8

試著忘記壹切 提交于 2019-12-09 13:13:34

问题


I want to update my stock in odoo either its by odoo frontend or using backend (postgres query).

I have my stock value in csv file.

Finally, I want to update quantity on hand in bulk.


回答1:


It's finally solved, simply follow the step

Step – 1 ;

1-> select product in warehouse module (open in list view).

2-> select the product which you want to update the inventory .

3-> click on more button and export column

i-> product name and any other one if you needed .

you have file with name of product.temlate.csv .

4-> Add a column qty and enter the quantity of product .

Step – 2;

1-> select inventory adjustment in warehouse module .

2-> if you already have any created inventory then go to 3rd point if not then create a inventory and feel the detail . and select all product option in Inventory of - :

3-> now again click on inventory adjustment and select the inventory.

4-> click on more and export the following column

Inventories/location

Inventories/product

Invevtories/product Unit of Measure .

Now you have one more file with name stock.inventory.csv

Step -3 ->

1-> now add two column on stock.inventory.csv

First one is name and second is line_ids/product_qty.

and remove the id column .

2-> delete the value of column line_ids/product_id/id of stock.inventory.csv file .

now copy the values of id column from product.template.csv and paste into the line_ids/product_id/id column of stock.inventory.csv .

3-> now copy the values of qty column from product.template.csv and paste into the line_ids/product_qty column of stock.inventory.csv .

4-> enter any value in name column for your reference .

Step – 4-

make sure your file look like this file:-

Click on following link to see file

This is a sample of the succesfully imported data

http://bit.ly/odoocsv

AFTER IMPORTING DONT FORGET START INVENTORY




回答2:


You can fill up stock by using physical inventory, it's available at

Warehouse -> inventory Control -> Inventory Adjustment

You can import your csv in odoo and fill up physical inventory.

stock.inventory
stock.inventory.line

These are the models that you have to used to update your stocks(Inventory Loss to Stock Location).




回答3:


Another easy option to update any odoo fields via frontend in bulk is to install MassEdit addon from: https://github.com/OCA/server-tools/tree/8.0/mass_editing

tested on odoo v8 and works great



来源:https://stackoverflow.com/questions/29671399/how-to-import-qoh-in-odoo-8

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!