Odoo Help

0

¿Como solucionar error al momento de importar albaranes internos?

By
Daniel Manzo
on 6/12/14, 11:41 AM 1,190 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

 

 

0
Manuel
On 6/12/14, 1:09 PM

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.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

Asked: 6/12/14, 11:41 AM
Seen: 1190 times
Last updated: 3/16/15, 8:10 AM