Welcome!

This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

0

(Solucionado)500 Internal Server Error .. Al actualizar modulo account voucher

por
Oscar Romera
en 10/8/16 22:34 3.233 vistas

Está corriendo Odoo V8 localizacion Argentina sobre ubuntu 14.04 lts.
Actualizé el modulo account voucher (no recuerdo las versiones) y ahora cuando voy a acceder a odoo muestra el error :

" 500 Internal error
Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application."

------------------------ LOG -------------------------------

/********************************************************************************************************************/
2016-08-10 20:40:12,270 8643 INFO db_suguba_test passlib.registry: registered crypt handler 'pbkdf2_sha512': <class 'passlib.handlers.pbkdf2.pbkdf2_s$
2016-08-10 20:40:12,271 8643 INFO db_suguba_test passlib.registry: registered crypt handler 'md5_crypt': <class 'passlib.handlers.md5_crypt.md5_crypt$
2016-08-10 20:40:13,729 8643 INFO db_suguba_test openerp.modules.module: module report_extended_stock: creating or updating database tables
2016-08-10 20:40:13,883 8643 INFO db_suguba_test openerp.modules.loading: loading report_extended_stock/views/report_view.xml
2016-08-10 20:40:13,926 8643 ERROR db_suguba_test openerp.addons.base.ir.ir_ui_view: Field `journal_ids` does not exist

Error context:
View `ir.actions.report.extended.account.xml`
[view_id: 970, xml_id: report_extended_stock.act_report_extended_xml_view, model: ir.actions.report.xml, parent_id: 7]
2016-08-10 20:40:13,936 8643 INFO db_suguba_test werkzeug: 200.63.169.41 - - [10/Aug/2016 20:40:13] "GET /web?db=db_suguba_test HTTP/1.1" 500 -
2016-08-10 20:40:13,953 8643 ERROR db_suguba_test werkzeug: Error on request:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 177, in run_wsgi
    execute(self.server.app)
  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 165, in execute
    application_iter = app(environ, start_response)
  File "/opt/odoo/odoo-server/openerp/service/server.py", line 291, in app
    return self.app(e, s)
  File "/opt/odoo/odoo-server/openerp/service/wsgi_server.py", line 216, in application
    return application_unproxied(environ, start_response)
  File "/opt/odoo/odoo-server/openerp/service/wsgi_server.py", line 202, in application_unproxied
    result = handler(environ, start_response)
  File "/opt/odoo/odoo-server/openerp/http.py", line 1297, in __call__
    return self.dispatch(environ, start_response)
  File "/opt/odoo/odoo-server/openerp/http.py", line 1271, in __call__
    return self.app(environ, start_wrapped)
  File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 579, in __call__
    return self.app(environ, start_response)
  File "/opt/odoo/odoo-server/openerp/http.py", line 1435, in dispatch
    ir_http = request.registry['ir.http']
  File "/opt/odoo/odoo-server/openerp/http.py", line 353, in registry
    return openerp.modules.registry.RegistryManager.get(self.db) if self.db else None
  File "/opt/odoo/odoo-server/openerp/modules/registry.py", line 339, in get
    update_module)
  File "/opt/odoo/odoo-server/openerp/modules/registry.py", line 370, in new
    openerp.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/opt/odoo/odoo-server/openerp/modules/loading.py", line 351, in load_modules
    force, status, report, loaded_modules, update_module)
  File "/opt/odoo/odoo-server/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 "/opt/odoo/odoo-server/openerp/modules/loading.py", line 176, in load_module_graph
    _load_data(cr, module_name, idref, mode, kind='data')
  File "/opt/odoo/odoo-server/openerp/modules/loading.py", line 118, in _load_data
    tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
     File "/opt/odoo/odoo-server/openerp/tools/convert.py", line 900, in convert_file
    convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
  File "/opt/odoo/odoo-server/openerp/tools/convert.py", line 986, in convert_xml_import
    obj.parse(doc.getroot(), mode=mode)
  File "/opt/odoo/odoo-server/openerp/tools/convert.py", line 852, in parse
    self._tags[rec.tag](self.cr, rec, n, mode=mode)
  File "/opt/odoo/odoo-server/openerp/tools/convert.py", line 762, 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$
  File "/opt/odoo/odoo-server/openerp/api.py", line 268, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_model.py", line 1020, in _update
    model_obj.write(cr, uid, [res_id], values, context=context)
  File "/opt/odoo/odoo-server/openerp/api.py", line 268, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_ui_view.py", line 275, in write
    context)
  File "/opt/odoo/odoo-server/openerp/api.py", line 268, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/odoo/odoo-server/openerp/api.py", line 399, in old_api
    result = method(recs, *args, **kwargs)
  File "/opt/odoo/odoo-server/openerp/models.py", line 3788, in write
    self._write(old_vals)
  File "/opt/odoo/odoo-server/openerp/api.py", line 266, in wrapper
    return new_api(self, *args, **kwargs)
  File "/opt/odoo/odoo-server/openerp/api.py", line 592, in new_api
    result = method(self._model, cr, uid, self.ids, *args, **old_kwargs)
  File "/opt/odoo/odoo-server/openerp/models.py", line 3967, in _write
    recs._validate_fields(vals)
  File "/opt/odoo/odoo-server/openerp/api.py", line 266, in wrapper
    return new_api(self, *args, **kwargs)
  File "/opt/odoo/odoo-server/openerp/models.py", line 1271, in _validate_fields
    raise ValidationError('\n'.join(errors))
 File "/opt/odoo/odoo-server/openerp/models.py", line 1271, in _validate_fields
    raise ValidationError('\n'.join(errors))
ParseError: "ValidateError
Field(s) `arch` failed against a constraint: Invalid view definition

Error details:
Field `journal_ids` does not exist

Error context:
View `ir.actions.report.extended.account.xml`
[view_id: 970, xml_id: report_extended_stock.act_report_extended_xml_view, model: ir.actions.report.xml, parent_id: 7]" while parsing /opt/odoo/custo$
<record id="act_report_extended_xml_view" model="ir.ui.view">
            <field name="name">ir.actions.report.extended.account.xml</field>
            <field name="model">ir.actions.report.xml</field>
            <field name="inherit_id" ref="base.act_report_xml_view"/>
            <field name="arch" type="xml">
                <notebook>
                    <page string="Picking Information" attrs="{'invisible':[('model','!=', 'stock.picking')]}">
                        <group>
                            <field name="stock_report_type"/>
                            <field name="stock_picking_type_ids"/>
                        </group>
                    </page>
                </notebook>
            </field>
        </record>
/********************************************************************************************************************/

Al parecer no encuentra journal_ids en un reporte o algo por estilo.

Como se puede solucionar? porque ocurre esto y como se puede evitar?
 


0
Oscar Romera
En 11/8/16 20:39

Al final hice un drop de la base de datos, por suerte era de test y listo, ahora anda todo de 10.

Espero que nunca suceda en produccion.


 


Mantener informado

Acerca de esta comunidad

Esta comunidad es para profesionales y entusiastas de nuestros productos y servicios, compartir los mejores contenidos y nuevas ideas de marketing, construir su perfil profesional y mejorar el mercado para todos. Lea las directrices

Herramientas de las preguntas

42 seguidor(es)

Estadísticas

Preguntado: 10/8/16 22:34
Visto: 3233 veces
Última actualización: 14/4/18 12:41