Odoo App - Problem bei der Modulinstallation

Status
Für weitere Antworten geschlossen.

Chris122

Benutzer
Mitglied seit
12. Mrz 2019
Beiträge
35
Punkte für Reaktionen
0
Punkte
6
Hallo Zusammen,

ich möchte in Odoo11 ein spezielles Property Management Modul installieren und erhalte bei der Installation eine Fehlermeldung, wobei ich leider nicht drauf komme, wo der Fehler genau liegt und wie ich ihn beheben kann.

Eckdaten:
Docker Version: 18.09.0-0513
Odoo Version: mydoo-11-public:180527
Odoo Modul: zero_rental_sale_property 11.2018.1.0

https://github.com/zfis/zero_rental_sale_property/tree/11.0
Fehler bei der Installation:
Code:
Fehler:
Odoo Server Error

Traceback (most recent call last):
  File "/opt/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 1349, in _validate_module_views
    self.browse(vid)._check_xml()
  File "/opt/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 330, in _check_xml
    view_def = view.read_combined(['arch'])
  File "/opt/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 704, in read_combined
    arch_tree = self.apply_inheritance_specs(arch_tree, view_arch, parent_view['id'])
  File "/opt/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 641, in apply_inheritance_specs
    self.raise_view_error(_("Element '%s' cannot be located in parent view") % tag, inherit_id)
  File "/opt/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 503, in raise_view_error
    raise ValueError(message)
ValueError: Element '<field name="categ_id">' kann nicht in der übergeordneten Ansicht lokalisiert werden.

Fehler Kontext:
Ansicht `product.template.common.form`
[view_id: 343, xml_id: product.product_template_form_view, model: product.template, parent_id: k. A.]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/odoo/odoo-server/odoo/http.py", line 650, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/opt/odoo/odoo-server/odoo/http.py", line 310, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/opt/odoo/odoo-server/odoo/tools/pycompat.py", line 87, in reraise
    raise value
  File "/opt/odoo/odoo-server/odoo/http.py", line 692, in dispatch
    result = self._call_function(**self.params)
  File "/opt/odoo/odoo-server/odoo/http.py", line 342, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/odoo/odoo-server/odoo/service/model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/odoo/odoo-server/odoo/http.py", line 335, in checked_call
    result = self.endpoint(*a, **kw)
  File "/opt/odoo/odoo-server/odoo/http.py", line 936, in __call__
    return self.method(*args, **kw)
  File "/opt/odoo/odoo-server/odoo/http.py", line 515, in response_wrap
    response = f(*args, **kw)
  File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 935, in call_button
    action = self._call_kw(model, method, args, {})
  File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 923, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/opt/odoo/odoo-server/odoo/api.py", line 689, in call_kw
    return call_kw_multi(method, model, args, kwargs)
  File "/opt/odoo/odoo-server/odoo/api.py", line 680, in call_kw_multi
    result = method(recs, *args, **kwargs)
  File "<decorator-gen-46>", line 2, in button_immediate_install
  File "/opt/odoo/odoo-server/odoo/addons/base/module/module.py", line 71, in check_and_log
    return method(self, *args, **kwargs)
  File "/opt/odoo/odoo-server/odoo/addons/base/module/module.py", line 448, in button_immediate_install
    return self._button_immediate_function(type(self).button_install)
  File "/opt/odoo/odoo-server/odoo/addons/base/module/module.py", line 541, in _button_immediate_function
    modules.registry.Registry.new(self._cr.dbname, update_module=True)
  File "/opt/odoo/odoo-server/odoo/modules/registry.py", line 85, in new
    odoo.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/opt/odoo/odoo-server/odoo/modules/loading.py", line 343, in load_modules
    loaded_modules, update_module)
  File "/opt/odoo/odoo-server/odoo/modules/loading.py", line 242, 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/odoo/modules/loading.py", line 178, in load_module_graph
    env['ir.ui.view']._validate_module_views(module_name)
  File "/opt/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 1351, in _validate_module_views
    self.raise_view_error("Can't validate view:\n%s" % e, vid)
  File "/opt/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 503, in raise_view_error
    raise ValueError(message)
ValueError: Can't validate view:
Element '<field name="categ_id">' kann nicht in der übergeordneten Ansicht lokalisiert werden.

Fehler Kontext:
Ansicht `product.template.common.form`
[view_id: 343, xml_id: product.product_template_form_view, model: product.template, parent_id: k. A.]

Fehler Kontext:
Ansicht `product.template.property.form2`
[view_id: 1893, xml_id: zero_rental_sale_property.product_property_form_view2, model: product.template, parent_id: 359]

Ich würde das Problem in der property.xml suchen und zwar zwischen Line 38 und 44, bin aber leider nicht der große Programmierer sondern ERP-Anwender, weshalb ich eure Hilfe wirklich sehr zu schätzen wüsste!

Vielen Dank schon vorab und LG


Chris
 
Status
Für weitere Antworten geschlossen.
 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat