This question has been flagged
1 Reply
5300 Views

Cuando intento importar albaranes internos me sale el siguiente error:

La importación falló debido a:Error during import: Line 1 : type Trying to import record {u'origin': u'OF-1000', u'date': u'30/05/2014 15:47', u'move_lines': [(0, 0, {u'product_uos_qty': 1000.0, u'product_id': 43, u'product_uom': 10, u'location_dest_id': 11, u'product_qty': 1000.0, u'location_id': 14})], u'invoice_state': 'none', u'min_date': u'30/05/2014 15:47'}

El archivo en el que intento importar tiene formato csv (delimitado por comas), en el rango de celdas A1:L1 tengo los titulos (que son la columna antes del "=" de la lista de abajo), y en el rango de celdas A2:L2 tengo la informacion que quiero subir ( columna despues del "=")

  • id          =    prueba1
  • origin     =    OF-1000
  • date      =    30/05/2014 15:47
  • min_date  =   30/05/2014 15:47
  • invoice_state   =  No aplicable
  • move_lines/product_id  = [HRR-ABR-CR16] CONO RESINOSO TIPO 16 DE 1 1/4" X 3" X 5/8"]
  • move_lines/product_qty  =  1000
  • move_lines/product_uom  = Pieza 
  • move_lines/product_uos_qty  = 1000
  • move_lines/product_uos = 
  • move_lines/location_id  = stock
  • move_lines/location_dest_id  = Salida

 

 

Avatar
Discard
Best Answer

You are trying to import an internal stock movement from a csv file? It looks like the validation goes well and the product and location can be resolved.

But shouldn't you specify "unit(s)" as product_uos?

Otherwise, you can try to do the stock movement for one single product by hand. Then export it, modify the csv with the next product, and import that one.

Avatar
Discard