¿Error en el ingreso de una compañía?

Estimados alguien me podra ayudar al parecer tiene un BUG en el ingreso de la compañia al agregar la direccion, comuna, pais, ciudad me envia el siguiente error.

Odoo 

Odoo Server Error

Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 537, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 574, in dispatch result = self._call_function(**self.params) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 310, in _call_function return checked_call(self.db, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 113, in wrapper return f(dbname, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 307, in checked_call return self.endpoint(*a, **kw) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 803, in __call__ return self.method(*args, **kw) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 403, in response_wrap response = f(*args, **kw) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 952, in call_button action = self._call_kw(model, method, args, {}) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 940, in _call_kw return checked_call(request.db, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 113, in wrapper return f(dbname, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 939, in checked_call return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/addons/base/res/res_config.py", line 586, in execute action = self._install_modules(cr, uid, to_install, context=context) File "/usr/lib/python2.7/dist-packages/openerp/addons/base/res/res_config.py", line 55, in _install_modules result = ir_module.button_immediate_install(cr, uid, to_install_ids, context=context) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/addons/base/module/module.py", line 447, in button_immediate_install return self._button_immediate_function(cr, uid, ids, self.button_install, context=context) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/addons/base/module/module.py", line 495, in _button_immediate_function registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True) File "/usr/lib/python2.7/dist-packages/openerp/modules/registry.py", line 370, in new openerp.modules.load_modules(registry._db, force_demo, status, update_module) File "/usr/lib/python2.7/dist-packages/openerp/modules/loading.py", line 355, in load_modules loaded_modules, update_module) File "/usr/lib/python2.7/dist-packages/openerp/modules/loading.py", line 255, in load_marked_modules loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) File "/usr/lib/python2.7/dist-packages/openerp/modules/loading.py", line 176, in load_module_graph _load_data(cr, module_name, idref, mode, kind='data') File "/usr/lib/python2.7/dist-packages/openerp/modules/loading.py", line 118, in _load_data tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report) File "/usr/lib/python2.7/dist-packages/openerp/tools/convert.py", line 901, in convert_file convert_xml_import(cr, module, fp, idref, mode, noupdate, report) File "/usr/lib/python2.7/dist-packages/openerp/tools/convert.py", line 987, in convert_xml_import obj.parse(doc.getroot(), mode=mode) File "/usr/lib/python2.7/dist-packages/openerp/tools/convert.py", line 853, in parse self._tags[rec.tag](self.cr, rec, n, mode=mode) File "/usr/lib/python2.7/dist-packages/openerp/tools/convert.py", line 763, in _tag_record id = self.pool['ir.model.data']._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context ) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_model.py", line 1052, in _update res_id = model_obj.create(cr, uid, values, context=context) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 345, in old_api result = method(recs, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/addons/base/res/res_partner.py", line 573, in create partner = super(res_partner, self).create(vals) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 248, in wrapper return new_api(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 481, in new_api result = method(self._model, cr, uid, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/addons/mail/mail_thread.py", line 381, in create thread_id = super(mail_thread, self).create(cr, uid, values, context=context) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 345, in old_api result = method(recs, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 4092, in create record = self.browse(self._create(old_vals)) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 248, in wrapper return new_api(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 481, in new_api result = method(self._model, cr, uid, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 4230, in _create tuple([u[2] for u in updates if len(u) > 2]) File "/usr/lib/python2.7/dist-packages/openerp/sql_db.py", line 158, in wrapper return f(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/sql_db.py", line 234, in execute res = self._obj.execute(query, params) ParseError: "invalid input syntax for integer: "Santiago" LINE 1: ...always', 0, NULL, false, 'Apoquindo 6410 Of 212', 'Santiago'... ^ " while parsing /opt/odoo/stable-addons/bmya/odoo-addons/bmya_base_setup/views/res_partner_view.xml:4, near <record model="res.partner" id="par_cfa"> <field name="name">Blanco Mart&#237;n EIRL</field> <field name="is_company" eval="True"/> <field name="supplier" eval="True"/> <field name="customer" eval="False"/> <field name="street">Apoquindo 6410 Of 212</field> <field name="zip"/> <field name="city">Santiago</field> <field name="country_id" ref="base.cl"/> <field name="email">[email protected]</field> <field name="notify_email">always</field> <field name="phone">+56 2 2840-0990</field> <field name="website">www.blancomartin.cl</field> <field name="vat">CL762012243</field> </record>

Ariel Jara M. Chile
Ariel Jara M.
376
| 4 1 2
Preguntado en 28-02-16 16:22
0
voto
1613 Vistas

 

Estimado Daniel.

Instale la version 8.0 de docker byma t9, la version de odoo 9 esta en docker y tiene regionalizacion chilena?

 

 

Ariel Jara M. Chile
Ariel Jara M.
376
| 4 1 2
Respondido en 28-02-16 18:03
0
voto

Hola! qué versión de odoo tienes?,

 

Para la versión 9.0 hice una actualización para el módulo toponyms, en el que el campo city es integer y es seleccionable con las ciudades (como los estados  y regiones) y en el error veo que estas asignando "Santiago" como string y el campo está pidiendo de que sea integer , por lo que debes cambiar esa importación de datos de ejemplo a integer.

 

También puedes temporalmente deshabilitar el módulo toponyms, y una vez importado volver a instalar , esto te permitirá usar seleccionable con la base de datos de ciudades

Daniel Santibáñez Polanco Chile
Daniel Santibáñez Polanco
542
| 2 2 3
Respondido en 28-02-16 17:27
0
voto

Su respuesta

Trate por favor de dar una respuesta sustancial. Si quiere comentar en la pregunta o la respuesta, sólo use la herramienta de comentarios. Recuerde que siempre puede revise sus respuestas - no hay necesidad de responder dos veces la misma pregunta. También no olvide votar - ¡ayuda realmente a seleccionar las mejores preguntas y respuestas!

Realizar una pregunta

Mantener informado

Sobre este foro 

Esta comunidad es para profesionales y entusiastas de nuestros productos y servicios.

Lea las directrices

Herramientas de las preguntas

14 seguidor(es)

Estadísticas

Preguntado: 28-02-16 16:22
Visto: 1613 veces
Última actualización: 28-02-16 18:03