openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #17332
[Bug 1073638] Re: [Trunk] Impossible to import stock inventory from csv
** Changed in: openobject-addons
Importance: Undecided => Medium
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1073638
Title:
[Trunk] Impossible to import stock inventory from csv
Status in OpenERP Addons (modules):
Confirmed
Bug description:
With latest trunk addons revno : 7898 / web revno 3330.
I get this error when I try to import stock inventory from csv
Here are are the steps to reproduce the bug:
- install a fresh database with demo data
- Install stock
- Choose the French accounting
- Go to Warehouse > Inventory Control > Physical Inventories
- Create a new inventory with one product and one quantity
- Export it to csv, try to re-import it then you get the error
can't adapt type 'dict' at row 2
and in the server log file:
ERROR None openerp.sql_db: Programming error: can't adapt type 'dict',
in query insert into "stock_inventory_line"
(id,"inventory_id","location_id","product_id","product_qty",create_uid,create_date,write_uid,write_date)
values (18,%s,%s,%s,%s,%s,(now() at time zone 'UTC'),%s,(now() at time
zone 'UTC'))
I attached the csv file I tried to import
Thanks
Bertrand
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1073638/+subscriptions
References