콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
2613 화면

I've imported my DB from a previous server using the DB manager, everything went well except when i try to load the Sales  and Invoicing modules, I get the following errors and cannot see the actual contents:

```


Error:


Odoo Server Error




Traceback (most recent call last):


  File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/http.py", line 624, in _handle_exception


    return super(JsonRequest, self)._handle_exception(exception)


  File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/http.py", line 310, in _handle_exception


    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])


  File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/tools/pycompat.py", line 14, in reraise


    raise value


  File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/http.py", line 669, in dispatch


    result = self._call_function(**self.params)


  File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/http.py", line 350, in _call_function


    return checked_call(self.db, *args, **kwargs)


  File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/service/model.py", line 94, in wrapper


    return f(dbname, *args, **kwargs)


  File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/http.py", line 339, in checked_call


    result = self.endpoint(*a, **kw)


  File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/http.py", line 915, in __call__


    return self.method(*args, **kw)


  File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/http.py", line 515, in response_wrap


    response = f(*args, **kw)


  File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/addons/web/controllers/main.py", line 1322, in call_kw


    return self._call_kw(model, method, args, kwargs)


  File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/addons/web/controllers/main.py", line 1314, in _call_kw


    return call_kw(request.env[model], method, args, kwargs)


  File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/api.py", line 383, in call_kw


    result = _call_kw_model(method, model, args, kwargs)


  File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/api.py", line 356, in _call_kw_model


    result = method(recs, *args, **kwargs)


  File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/models.py", line 1441, in load_views


    for [v_id, v_type] in views


  File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/models.py", line 1441, in <dictcomp>


    for [v_id, v_type] in views


  File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/addons/mail/models/mail_thread.py", line 410, in fields_view_get


    res = super(MailThread, self).fields_view_get(view_id=view_id, view_type=view_type, toolbar=toolbar, submenu=submenu)


  File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/addons/web/models/models.py", line 206, in fields_view_get


    r = super().fields_view_get(view_id, view_type, toolbar, submenu)


  File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/models.py", line 1528, in fields_view_get


    xarch, xfields = View.postprocess_and_fields(self._name, etree.fromstring(result['arch']), view_id)


  File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/addons/base/models/ir_ui_view.py", line 975, in postprocess_and_fields


    fields_def = self.postprocess(model, node, view_id, False, fields)


  File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/addons/base/models/ir_ui_view.py", line 905, in postprocess


    fields.update(self.postprocess(model, f, view_id, in_tree_view, model_fields))


  File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/addons/base/models/ir_ui_view.py", line 905, in postprocess


    fields.update(self.postprocess(model, f, view_id, in_tree_view, model_fields))


  File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/addons/base/models/ir_ui_view.py", line 905, in postprocess


    fields.update(self.postprocess(model, f, view_id, in_tree_view, model_fields))


  [Previous line repeated 1 more time]


  File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/addons/base/models/ir_ui_view.py", line 828, in postprocess


    ).postprocess_and_fields(field.comodel_name, f, view_id)


  File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/addons/base/models/ir_ui_view.py", line 987, in postprocess_and_fields


    self.raise_view_error(message, view_id)


  File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/addons/base/models/ir_ui_view.py", line 614, in raise_view_error


    raise ValueError(message)


ValueError: Field `product_image_medium` does not exist




Error context:


View `n/a`


[view_id: n/a, xml_id: n/a, model: n/a, parent_id: n/a]

```


Both modules are working OK on my former server, so it must have been something related with the migration.


In the new server I have odoo installed with Bitnami,

Any help is appreciated, thanks!




아바타
취소
작성자 베스트 답변

thanks for replying Niyas Raphy, I exported the database with the `include files` option and i thought that included the addon files as well as its config (also because I saw a `manifest.json` which includes the list of all of them). So if they were not imported I will install manually on by one (i don't have ssh/ftp access to the former server, so I cannot 'move' all the addons file at once)

Once I install all of them, how can I add them to the addons path?

Thanks a lot again

아바타
취소
작성자

thanks Niyas, I've updated the conf file and also installed two of the modules that were missing, but I'm still seeing the error. do you think i need to manually install all the previously installed modules?

작성자

ok I found the cuplrit was this addon: https://apps.odoo.com/apps/modules/13.0/dusal_sale/

just uninstalling it did the job, thanks a lot Niyas! I cannot upvote your first answer cause i don't have enough karma :(

베스트 답변

Hi,

With a quick search inside the odoo13 source code, cant see such a field. Can you check whether this field is coming from a custom module ? Did you moved all the third party modules to the new system and add into the addons path ? If not check and confirm it.


Thanks

아바타
취소
관련 게시물 답글 화면 활동
4
5월 24
13588
1
4월 24
3972
0
11월 23
2670
1
9월 23
2820
2
8월 23
5453