Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
4301 Prikazi

Hello please help me,i download my DB from free odoo cloud,so i installed odoo on my vps and upload the db and i upgrade to entreprise edition when i finished i have  problem i cant open settings i have this error appear :

RPC_ERROR

Odoo Server Error

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/tools/cache.py", line 85, in lookup
    r = d[key]
  File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 71, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/tools/lru.py", line 34, in __getitem__
    a = self.d[obj]
KeyError: ('ir.model.data', , 'stock.group_auto_reception_report')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
    result = request.dispatch()
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 687, in dispatch
    result = self._call_function(**self.params)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 359, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper
    return f(dbname, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 348, in checked_call
    result = self.endpoint(*a, **kw)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 916, in __call__
    return self.method(*args, **kw)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 535, in response_wrap
    response = f(*args, **kw)
  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1347, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1339, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/api.py", line 464, in call_kw
    result = _call_kw_multi(method, model, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/api.py", line 451, in _call_kw_multi
    result = method(recs, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/models.py", line 6356, in onchange
    defaults = self.default_get(missing_names)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/res_config.py", line 496, in default_get
    classified = self._get_classified_fields()
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/res_config.py", line 471, in _get_classified_fields
    groups.append((name, field_groups, ref(field.implied_group)))
  File "/usr/lib/python3/dist-packages/odoo/api.py", line 578, in ref
    res_model, res_id = self['ir.model.data']._xmlid_to_res_model_res_id(
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_model.py", line 1935, in _xmlid_to_res_model_res_id
    return self._xmlid_lookup(xmlid)[1:3]
  File "", line 2, in _xmlid_lookup
  File "/usr/lib/python3/dist-packages/odoo/tools/cache.py", line 90, in lookup
    value = d[key] = self.method(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_model.py", line 1928, in _xmlid_lookup
    raise ValueError('External ID not found in the system: %s' % xmlid)
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 643, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 301, in _handle_exception
    raise exception.with_traceback(None) from new_cause
ValueError: External ID not found in the system: stock.group_auto_reception_report


Avatar
Opusti

i dont know how to do it

please can you help me

Best Answer

Hello

please upgrade stock module and have a look.


1) Click on Apps icon and search stock module to upgrade stock apps.


once we upgrade any module it reload all data from data files and update ir.model.data  model which is external identifier 

it seems some how that group has removed or archived where  group (res.groups) = Display Reception Report at Validation 

< record id="group_auto_reception_report" model="res.groups">
< field name="name">Display Reception Report at Validation < /field>
< field name="category_id" ref="base.module_category_hidden"/>
< /record>


    And same group is used in python code to define boolean in configuration.

group_stock_auto_reception_report = fields.Boolean("Show Reception Report at Validation", implied_group='stock.group_auto_reception_report')

Thanks & Regards,



CandidRoot Solutions Pvt. Ltd.

Mobile: (+91) 8849036209
Email: info@candidroot.com
Skype: live:candidroot
Web: https://www.candidroot.com
Address: 1229-1230, Iconic Shyamal, Near Shyamal Cross Road, Ahmedabad, Gujarat 380015
    

Avatar
Opusti

thank you for your respond can you help for this issue

have you tried above solution? i think this should be solve by upgrading stock module.

i dont know how to do this can you help me please

please check my updated answer and screenshot which will let you know how to to upgrade module.

Related Posts Odgovori Prikazi Aktivnost
0
apr. 25
1196
0
apr. 25
830
2
jan. 25
2474
1
jun. 24
2096
2
jan. 25
2917