bug after installing l10n_de

Bug #884982 reported by Stephan Cordes
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
High
OpenERP R&D Addons Team 3

Bug Description

I installed the last deb-Pack from november the 1st. Create a new Database with german language. First installing the finances and in the first step i was asked for the Chart of Accounts. (l10n_de)
Now the error ist:

Your Company (test61)
Administrator

LOGOUT

    Add More Features
    Kunden
    Produkte

Finanzen Administration
«
Konfiguration Personalisierung Übersetzungen Unternehmen Benutzer Sicherheit Übersicht Module
Importiere Modul Update der Module Starte Installation Übersicht Module
Wartungsvertrag Berichtswesen

Pinnwand Administration

Configuration Overview
Fortschritt:22%

Administration

        Konfiguration Unternehmen
        Install Applications
        Define default users preferences
        Specify Your Terminology for Customers
        Create Additional Users

Accounting

        Setup your Bank Accounts
        Review your Financial Accounts
        Review your Financial Journals
        Review your Payment Terms

Sales Management

        Create or Import Customers
        Create or Import Products

Letzte Aktivitäten

 Datum Erstellung Benutzer Nachricht

Users

 Benutzername Letzte Verbindung

 Administrator 11.01.2011 23:33:19

Powered by openerp.com.
Modul Aktualisierungclose
Modul Aktualisierung

Ihr System wird aktualisert

Beachten Sie, dass dieser Vorgang einige Zeit dauern kann.
Module Updates

OpenERP close

OpenERP Server Error

Client Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 154, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 724, in call_button
    action = self.call_common(req, model, method, args, domain_id, context_id)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 716, in call_common
    return getattr(req.session.model(model), method)(*args)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/openerplib/main.py", line 417, in proxy
    *args)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/openerplib/main.py", line 294, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/openerplib/main.py", line 264, in send
    raise fault

Server Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/openerplib/main.py", line 245, in send
    result = openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 325, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 580, in dispatch
    res = fn(db, uid, *params)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 120, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 172, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 163, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base/module/wizard/base_module_upgrade.py", line 98, in upgrade_module
    _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/usr/lib/pymodules/python2.7/openerp/pooler.py", line 39, in restart_pool
    registry = RegistryManager.new(db_name, force_demo, status, update_module, True)
  File "/usr/lib/pymodules/python2.7/openerp/modules/registry.py", line 160, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 336, in load_modules
    processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 251, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 190, in load_module_graph
    load_update_xml(module_name, idref, mode)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 91, in <lambda>
    load_update_xml = lambda *args: _load_data(cr, *args, kind='update_xml')
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 137, in _load_data
    tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
  File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 999, in convert_xml_import
    obj.parse(doc.getroot())
  File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 889, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 847, in _tag_record
    f_val = self.id_get(cr, f_ref)
  File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 866, in id_get
    res = self.model_id_get(cr, id_str)
  File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 875, in model_id_get
    return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
  File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py", line 18, in lookup
    r = self.lookup(self2, cr, *args)
  File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py", line 46, in lookup
    value = d[args] = self.method(self2, cr, *args)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_model.py", line 629, in get_object_reference
    data_id = self._get_id(cr, uid, module, xml_id)
  File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py", line 18, in lookup
    r = self.lookup(self2, cr, *args)
  File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py", line 46, in lookup
    value = d[args] = self.method(self2, cr, *args)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_model.py", line 622, in _get_id
    raise ValueError('No such external ID currently defined in the system: %s.%s' % (module, xml_id))
ValueError: No such external ID currently defined in the system: account.account_type_receivable

And in the Terminal:
stephan@stephan-Pavilion-zd7000A-RG160AV-ABA:~$ openerp-server -r openerp -w simfc --db_host 127.0.0.1
[2011-11-01 22:37:56,420][?] INFO:server:OpenERP version 6.1dev-20111101-020002
[2011-11-01 22:37:56,421][?] INFO:server:addons paths: /usr/lib/pymodules/python2.7/openerp/addons
[2011-11-01 22:37:56,421][?] INFO:server:database hostname: 127.0.0.1
[2011-11-01 22:37:56,421][?] INFO:server:database port: 5432
[2011-11-01 22:37:56,422][?] INFO:server:database user: openerp
[2011-11-01 22:37:56,423][?] INFO:web-services:starting NET-RPC service on 0.0.0.0:8070
[2011-11-01 22:37:56,424][?] INFO:server:Starting 1 services
[2011-11-01 22:37:57,732][?] INFO:wsgi:HTTP service (werkzeug) running on 0.0.0.0:8069
[2011-11-01 22:37:57,735][?] INFO:web:embedded mode
[2011-11-01 22:37:57,765][?] INFO:web.common.http:Loading web_gantt
[2011-11-01 22:37:58,094][?] INFO:web.common.http:Loading web_chat
[2011-11-01 22:37:58,115][?] INFO:web.common.http:Loading web_livechat
[2011-11-01 22:37:58,146][?] INFO:web.common.http:Loading web_hello
[2011-11-01 22:37:58,175][?] INFO:web.common.http:Loading web_graph
[2011-11-01 22:37:58,268][?] INFO:web.common.http:Loading base
[2011-11-01 22:37:58,718][?] INFO:web.common.http:Loading point_of_sale
[2011-11-01 22:37:59,010][?] INFO:web.common.http:Loading web_tests
[2011-11-01 22:37:59,175][?] INFO:web.common.http:Loading web
[2011-11-01 22:37:59,186][?] INFO:web.common.http:Loading web_diagram
[2011-11-01 22:37:59,338][?] INFO:web.common.http:Loading web_kanban
[2011-11-01 22:37:59,353][?] INFO:web.common.http:Loading web_rpc
[2011-11-01 22:37:59,633][?] INFO:web.common.http:Loading auth_openid
[2011-11-01 22:38:00,439][?] INFO:web.common.http:Loading web_calendar
[2011-11-01 22:38:00,489][?] INFO:web.common.http:Loading web_dashboard
[2011-11-01 22:38:00,547][?] INFO:web.common.http:Loading pad
[2011-11-01 22:38:00,608][?] INFO:web.common.http:Loading share
[2011-11-01 22:38:00,986][?] INFO:web.common.http:Loading web_mobile
[2011-11-01 22:38:01,083][?] INFO:web.common.http:Loading web_uservoice
[2011-11-01 22:38:01,360][?] INFO:web.common.http:Loading mail
[2011-11-01 22:38:01,518][?] INFO:server:OpenERP server is running, waiting for connections...
[2011-11-01 22:38:16,723][test61] INFO:init.load:module base: loading objects
[2011-11-01 22:38:16,723][test61] INFO:init:module base: registering objects
[2011-11-01 22:38:17,131][test61] INFO:init.load:module web: loading objects
[2011-11-01 22:38:17,132][test61] INFO:init:module web: registering objects
[2011-11-01 22:38:17,138][test61] WARNING:init:module web: description is empty !
[2011-11-01 22:38:17,139][test61] INFO:init:module web: no quality certificate
[2011-11-01 22:38:17,140][test61] INFO:init.load:module web_mobile: loading objects
[2011-11-01 22:38:17,140][test61] INFO:init:module web_mobile: registering objects
[2011-11-01 22:38:17,151][test61] WARNING:init:module web_mobile: description is empty !
[2011-11-01 22:38:17,151][test61] INFO:init:module web_mobile: no quality certificate
[2011-11-01 22:38:17,152][test61] INFO:init.load:module web_tests: loading objects
[2011-11-01 22:38:17,153][test61] INFO:init:module web_tests: registering objects
[2011-11-01 22:38:17,165][test61] WARNING:init:module web_tests: description is empty !
[2011-11-01 22:38:17,171][test61] INFO:init:module web_tests: no quality certificate
[2011-11-01 22:38:17,172][test61] INFO:init.load:module base_setup: loading objects
[2011-11-01 22:38:17,173][test61] INFO:init:module base_setup: registering objects
[2011-11-01 22:38:17,234][test61] INFO:init.load:module process: loading objects
[2011-11-01 22:38:17,235][test61] INFO:init:module process: registering objects
[2011-11-01 22:38:17,282][test61] INFO:init.load:module web_graph: loading objects
[2011-11-01 22:38:17,284][test61] INFO:init:module web_graph: registering objects
[2011-11-01 22:38:17,294][test61] WARNING:init:module web_graph: description is empty !
[2011-11-01 22:38:17,297][test61] INFO:init:module web_graph: no quality certificate
[2011-11-01 22:38:17,298][test61] INFO:init.load:module base_iban: loading objects
[2011-11-01 22:38:17,299][test61] INFO:init:module base_iban: registering objects
[2011-11-01 22:38:17,330][test61] INFO:init.load:module web_kanban: loading objects
[2011-11-01 22:38:17,331][test61] INFO:init:module web_kanban: registering objects
[2011-11-01 22:38:17,345][test61] WARNING:init:module web_kanban: description is empty !
[2011-11-01 22:38:17,346][test61] INFO:init:module web_kanban: no quality certificate
[2011-11-01 22:38:17,347][test61] INFO:init.load:module web_calendar: loading objects
[2011-11-01 22:38:17,347][test61] INFO:init:module web_calendar: registering objects
[2011-11-01 22:38:17,367][test61] WARNING:init:module web_calendar: description is empty !
[2011-11-01 22:38:17,367][test61] INFO:init:module web_calendar: no quality certificate
[2011-11-01 22:38:17,370][test61] INFO:init.load:module board: loading objects
[2011-11-01 22:38:17,370][test61] INFO:init:module board: registering objects
[2011-11-01 22:38:17,414][test61] INFO:init.load:module web_gantt: loading objects
[2011-11-01 22:38:17,415][test61] INFO:init:module web_gantt: registering objects
[2011-11-01 22:38:17,432][test61] WARNING:init:module web_gantt: description is empty !
[2011-11-01 22:38:17,433][test61] INFO:init:module web_gantt: no quality certificate
[2011-11-01 22:38:17,434][test61] INFO:init.load:module web_dashboard: loading objects
[2011-11-01 22:38:17,435][test61] INFO:init:module web_dashboard: registering objects
[2011-11-01 22:38:17,441][test61] WARNING:init:module web_dashboard: description is empty !
[2011-11-01 22:38:17,442][test61] INFO:init:module web_dashboard: no quality certificate
[2011-11-01 22:38:17,443][test61] INFO:init.load:module decimal_precision: loading objects
[2011-11-01 22:38:17,444][test61] INFO:init:module decimal_precision: registering objects
[2011-11-01 22:38:17,460][test61] INFO:init.load:module web_diagram: loading objects
[2011-11-01 22:38:17,461][test61] INFO:init:module web_diagram: registering objects
[2011-11-01 22:38:17,472][test61] WARNING:init:module web_diagram: description is empty !
[2011-11-01 22:38:17,473][test61] INFO:init:module web_diagram: no quality certificate
[2011-11-01 22:38:17,474][test61] INFO:init.load:module product: loading objects
[2011-11-01 22:38:17,474][test61] INFO:init:module product: registering objects
[2011-11-01 22:38:17,591][test61] INFO:init.load:module analytic: loading objects
[2011-11-01 22:38:17,591][test61] INFO:init:module analytic: registering objects
[2011-11-01 22:38:17,646][test61] INFO:init.load:module account: loading objects
[2011-11-01 22:38:17,647][test61] INFO:init:module account: registering objects
[2011-11-01 22:38:18,802][test61] INFO:init.load:module base_vat: loading objects
[2011-11-01 22:38:18,803][test61] INFO:init:module base_vat: registering objects
[2011-11-01 22:38:18,868][test61] INFO:init.load:module account_voucher: loading objects
[2011-11-01 22:38:18,869][test61] INFO:init:module account_voucher: registering objects
[2011-11-01 22:38:19,017][test61] INFO:init.load:module account_chart: loading objects
[2011-11-01 22:38:19,018][test61] INFO:init:module account_chart: registering objects
[2011-11-01 22:38:19,086][test61] INFO:werkzeug:127.0.0.1 - - [01/Nov/2011 22:38:19] "POST /web/dataset/save HTTP/1.1" 200 -
[2011-11-01 22:38:19,116][?] INFO:werkzeug:127.0.0.1 - - [01/Nov/2011 22:38:19] "POST /web/dataset/get HTTP/1.1" 200 -
[2011-11-01 22:38:19,661][test61] INFO:init.load:module base: loading objects
[2011-11-01 22:38:20,193][test61] INFO:init.load:module web: loading objects
[2011-11-01 22:38:20,207][test61] WARNING:init:module web: description is empty !
[2011-11-01 22:38:20,208][test61] INFO:init:module web: no quality certificate
[2011-11-01 22:38:20,225][test61] INFO:init.load:module web_mobile: loading objects
[2011-11-01 22:38:20,236][test61] WARNING:init:module web_mobile: description is empty !
[2011-11-01 22:38:20,239][test61] INFO:init:module web_mobile: no quality certificate
[2011-11-01 22:38:20,240][test61] INFO:init.load:module web_tests: loading objects
[2011-11-01 22:38:20,252][test61] WARNING:init:module web_tests: description is empty !
[2011-11-01 22:38:20,253][test61] INFO:init:module web_tests: no quality certificate
[2011-11-01 22:38:20,256][test61] INFO:init.load:module base_setup: loading objects
[2011-11-01 22:38:20,306][test61] INFO:init.load:module process: loading objects
[2011-11-01 22:38:20,357][test61] INFO:init.load:module web_graph: loading objects
[2011-11-01 22:38:20,366][test61] WARNING:init:module web_graph: description is empty !
[2011-11-01 22:38:20,374][test61] INFO:init:module web_graph: no quality certificate
[2011-11-01 22:38:20,377][test61] INFO:init.load:module base_iban: loading objects
[2011-11-01 22:38:20,398][test61] INFO:init.load:module web_kanban: loading objects
[2011-11-01 22:38:20,414][test61] WARNING:init:module web_kanban: description is empty !
[2011-11-01 22:38:20,419][test61] INFO:init:module web_kanban: no quality certificate
[2011-11-01 22:38:20,422][test61] INFO:init.load:module web_calendar: loading objects
[2011-11-01 22:38:20,438][test61] WARNING:init:module web_calendar: description is empty !
[2011-11-01 22:38:20,442][test61] INFO:init:module web_calendar: no quality certificate
[2011-11-01 22:38:20,443][test61] INFO:init.load:module board: loading objects
[2011-11-01 22:38:20,485][test61] INFO:init.load:module web_gantt: loading objects
[2011-11-01 22:38:20,499][test61] WARNING:init:module web_gantt: description is empty !
[2011-11-01 22:38:20,499][test61] INFO:init:module web_gantt: no quality certificate
[2011-11-01 22:38:20,504][test61] INFO:init.load:module web_dashboard: loading objects
[2011-11-01 22:38:20,517][test61] WARNING:init:module web_dashboard: description is empty !
[2011-11-01 22:38:20,517][test61] INFO:init:module web_dashboard: no quality certificate
[2011-11-01 22:38:20,518][test61] INFO:init.load:module decimal_precision: loading objects
[2011-11-01 22:38:20,536][test61] INFO:init.load:module web_diagram: loading objects
[2011-11-01 22:38:20,546][test61] WARNING:init:module web_diagram: description is empty !
[2011-11-01 22:38:20,550][test61] INFO:init:module web_diagram: no quality certificate
[2011-11-01 22:38:20,551][test61] INFO:init.load:module product: loading objects
[2011-11-01 22:38:20,654][test61] INFO:init.load:module analytic: loading objects
[2011-11-01 22:38:20,681][test61] INFO:init.load:module account: loading objects
[2011-11-01 22:38:21,329][test61] INFO:init.load:module base_vat: loading objects
[2011-11-01 22:38:21,345][test61] INFO:init.load:module account_voucher: loading objects
[2011-11-01 22:38:21,436][test61] INFO:init.load:module account_chart: loading objects
[2011-11-01 22:38:21,458][test61] INFO:init.load:module l10n_de: loading objects
[2011-11-01 22:38:21,459][test61] INFO:init:module l10n_de: registering objects
[2011-11-01 22:38:21,475][test61] INFO:init:module l10n_de: creating or updating database tables
[2011-11-01 22:38:21,485][test61] INFO:init.load:module l10n_de: loading account_tax_skr03.xml
[2011-11-01 22:38:23,537][test61] INFO:init.load:module l10n_de: loading account_types_skr03.xml
[2011-11-01 22:38:23,672][test61] INFO:init.load:module l10n_de: loading account_chart_skr03.xml
[2011-11-01 22:38:29,142][test61] ERROR:tools.convert.xml_import:Parse error in /usr/lib/pymodules/python2.7/openerp/addons/l10n_de/account_chart_skr03.xml:1226:
<record model="account.account.template" id="account_1490">
   <field name="name">Forderungen aus L+L gg. Gesellschafter</field>
   <field name="code">1490</field>
   <field name="reconcile" eval="True"/>
   <field name="type">receivable</field>
   <field name="user_type" ref="account.account_type_receivable"/>
   <field name="parent_id" ref="view_balance_1530"/>
  </record>
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 889, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 847, in _tag_record
    f_val = self.id_get(cr, f_ref)
  File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 866, in id_get
    res = self.model_id_get(cr, id_str)
  File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 875, in model_id_get
    return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
  File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py", line 18, in lookup
    r = self.lookup(self2, cr, *args)
  File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py", line 46, in lookup
    value = d[args] = self.method(self2, cr, *args)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_model.py", line 629, in get_object_reference
    data_id = self._get_id(cr, uid, module, xml_id)
  File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py", line 18, in lookup
    r = self.lookup(self2, cr, *args)
  File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py", line 46, in lookup
    value = d[args] = self.method(self2, cr, *args)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_model.py", line 622, in _get_id
    raise ValueError('No such external ID currently defined in the system: %s.%s' % (module, xml_id))
ValueError: No such external ID currently defined in the system: account.account_type_receivable
[2011-11-01 22:38:29,178][test61] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 120, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 172, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 163, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base/module/wizard/base_module_upgrade.py", line 98, in upgrade_module
    _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/usr/lib/pymodules/python2.7/openerp/pooler.py", line 39, in restart_pool
    registry = RegistryManager.new(db_name, force_demo, status, update_module, True)
  File "/usr/lib/pymodules/python2.7/openerp/modules/registry.py", line 160, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 336, in load_modules
    processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 251, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 190, in load_module_graph
    load_update_xml(module_name, idref, mode)
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 91, in <lambda>
    load_update_xml = lambda *args: _load_data(cr, *args, kind='update_xml')
  File "/usr/lib/pymodules/python2.7/openerp/modules/loading.py", line 137, in _load_data
    tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
  File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 999, in convert_xml_import
    obj.parse(doc.getroot())
  File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 889, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 847, in _tag_record
    f_val = self.id_get(cr, f_ref)
  File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 866, in id_get
    res = self.model_id_get(cr, id_str)
  File "/usr/lib/pymodules/python2.7/openerp/tools/convert.py", line 875, in model_id_get
    return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
  File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py", line 18, in lookup
    r = self.lookup(self2, cr, *args)
  File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py", line 46, in lookup
    value = d[args] = self.method(self2, cr, *args)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_model.py", line 629, in get_object_reference
    data_id = self._get_id(cr, uid, module, xml_id)
  File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py", line 18, in lookup
    r = self.lookup(self2, cr, *args)
  File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py", line 46, in lookup
    value = d[args] = self.method(self2, cr, *args)
  File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_model.py", line 622, in _get_id
    raise ValueError('No such external ID currently defined in the system: %s.%s' % (module, xml_id))
ValueError: No such external ID currently defined in the system: account.account_type_receivable
[2011-11-01 22:38:29,267][test61] INFO:werkzeug:127.0.0.1 - - [01/Nov/2011 22:38:29] "POST /web/dataset/call_button HTTP/1.1" 200 -

Related branches

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello,

I have checked your issue with latest updated code of trunk and apply same scenario as per your bug specification

but it is working fine at my end. Would you please again with updated code and informed us where you faced the

problem.

Thanks and waiting for your reply.

Changed in openobject-server:
status: New → Incomplete
Revision history for this message
Stephan Cordes (stephancordes) wrote :

I try it again on different computers with Ubuntu and Debian.
If i install the Finance & account, the assets management and the l10n_de (german chart of accounts) i get this bug.
But maybe its not the l10n_de. In the same time the system installs account_chart, base_iban, base_vat.
I was not able to run a 6.1 System with l10n_de.

Regards
Stephan Cordes

Revision history for this message
Stephan Cordes (stephancordes) wrote :

i was trying to install l10n_de as the first modul (wih its dependencies) an get the same Error.
(deb-Package of the 6.1dev from 9.11.2011)

Changed in openobject-server:
status: Incomplete → New
Revision history for this message
Stephan Cordes (stephancordes) wrote :

Maybe it is becaus this merging?:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-import_quickbooks-backlog-5-step2-kjo/+merge/68812

Maybe the deiniton of account.account_type_receivable is now wrong?
Sorry, i am not an expert

Revision history for this message
Stephan Cordes (stephancordes) wrote :

in the beta1 from today it is the same bug. (I was copying the newest openerp directory in the /usr/lib/pymodules/python2.7)

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello,

It may be.
I have tried again with latest updated code with trunk, in fresh db with and without demo data also in web but didn't face the problem. I have checked with following revision.

Server - 3798
Gtk-client - 2000
Web-client - 1459
Addons - 5666

Would you please try again and informed us still you have faced the same problem ?

Changed in openobject-server:
status: New → Incomplete
Revision history for this message
Rüdiger Könen (ruediger-koenen) wrote :
Download full text (6.5 KiB)

Hey Guys,

Sorry, but there maybe is still an issue with theinstallation of chart.
So here we go:

Environment:
Ubuntu 10.04LTS
postgeSQL 8.4 (fresh db)
phyton 2.6

openERP-Version:
http://nightly.openerp.com/6.1/src/openerp-6.1dev-20111118-020001.tar.gz

Error:
OpenERP Server Error

Client Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-6.1dev_20111118_020001-py2.6.egg/openerp/addons/web/common/http.py", line 154, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-6.1dev_20111118_020001-py2.6.egg/openerp/addons/web/controllers/main.py", line 796, in call_button
    action = self.call_common(req, model, method, args, domain_id, context_id)
  File "/usr/local/lib/python2.6/dist-packages/openerp-6.1dev_20111118_020001-py2.6.egg/openerp/addons/web/controllers/main.py", line 788, in call_common
    return getattr(req.session.model(model), method)(*args)
  File "/usr/local/lib/python2.6/dist-packages/openerp-6.1dev_20111118_020001-py2.6.egg/openerp/addons/web/common/openerplib/main.py", line 429, in proxy
    *args)
  File "/usr/local/lib/python2.6/dist-packages/openerp-6.1dev_20111118_020001-py2.6.egg/openerp/addons/web/common/openerplib/main.py", line 306, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/usr/local/lib/python2.6/dist-packages/openerp-6.1dev_20111118_020001-py2.6.egg/openerp/addons/web/common/openerplib/main.py", line 276, in send
    raise fault

Server Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-6.1dev_20111118_020001-py2.6.egg/openerp/addons/web/common/openerplib/main.py", line 257, in send
    result = openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/opt/openERP/allin/openerp-6.1dev-20111118-020001/openerp/netsvc.py", line 325, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/opt/openERP/allin/openerp-6.1dev-20111118-020001/openerp/service/web_services.py", line 580, in dispatch
    res = fn(db, uid, *params)
  File "/opt/openERP/allin/openerp-6.1dev-20111118-020001/openerp/osv/osv.py", line 120, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/openERP/allin/openerp-6.1dev-20111118-020001/openerp/osv/osv.py", line 172, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/openERP/allin/openerp-6.1dev-20111118-020001/openerp/osv/osv.py", line 163, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-6.1dev_20111118_020001-py2.6.egg/openerp/addons/base/res/res_config.py", line 120, in action_next
    next = self.execute(cr, uid, ids, context=context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-6.1dev_20111118_020001-py2.6.egg/openerp/addons/account/installer.py", line 222, in execute
    super(account_installer, self).execute(cr, uid, ids, context=context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-6.1dev_20111118_020001-py2.6.egg/openerp/addons/base/res/res_config.py"...

Read more...

Revision history for this message
Stephan Cordes (stephancordes) wrote :

I tryed the openerp_6.1dev-20111118-020001-1_all.deb
in Ububtu 11.10 with postgres 8.4 and python 2.7
I used the included webclient in localhost:8069

the same Error after Installing l10n_de (first of all, no demos)
"No such external ID currently defined in the system: account.account_type_receivable"

All my tests with different systems gives me the same result.

the following error is new:
After "ok" in the errormessage, there is a new message:

Client Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 154, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 616, in load
    return {'data': self.do_load(req)}
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 630, in do_load
    menu_ids = Menus.search([], 0, False, False, context)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/openerplib/main.py", line 429, in proxy
    *args)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/openerplib/main.py", line 306, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/openerplib/main.py", line 276, in send
    raise fault

Server Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/openerplib/main.py", line 257, in send
    result = openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 325, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 577, in dispatch
    security.check(db,uid,passwd)
  File "/usr/lib/pymodules/python2.7/openerp/service/security.py", line 42, in check
    return user_obj.check(db, uid, passwd)
AttributeError: 'NoneType' object has no attribute 'check'

Regards
Stephan

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello,

Thanks for your nice explanation.

I have again tried without demo and faced the same problem at my end.

Thanks.

affects: openobject-server → openobject-addons
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → High
status: Incomplete → Confirmed
Revision history for this message
DJ Patel (OpenERP) (mdi-openerp) wrote :

Hello Stephan Cordes,

Thanks for reporting. The solution for this bug is proposed in the branch : https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-884982-mdi/

with following Revision ID and Number.

Revision ID : <email address hidden>
Revision Number : 5762

Thanks and Regards,

Divyesh Makwana(MDI)

Changed in openobject-addons:
status: Confirmed → Fix Committed
Changed in openobject-addons:
milestone: none → 6.1
Revision history for this message
Raphael Collet (OpenERP) (rco-openerp) wrote :

landed in trunk
revno: 6005
revision-id: <email address hidden>

Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.