wt-io-it / odoo-addons Goto Github PK
View Code? Open in Web Editor NEWOdoo Addons by WT-IO-IT
Home Page: https://www.wt-io-it.at
Odoo Addons by WT-IO-IT
Home Page: https://www.wt-io-it.at
In python 3 itervalues has renamed to values, so in product.py, line 96
for info in ingredients.itervalues():
must be
for info in ingredients.values():
for now in mrp_labeling and in mrp_nutrition
It seems there is some error in the code that makes odoo not able to find the External ID for custom_backend.product_template_tree_view
Which is needed in the file mrp_labeling/views/product.xml
File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_model.py", line 899, in xmlid_lookup
raise ValueError('External ID not found in the system: %s' % (xmlid))
ParseError: "External ID not found in the system: custom_backend.product_template_tree_view" while parsing /opt/odoo/.local/share/Odoo/addons/8.0/mrp_labeling/views/product.xml:4, near
product.template.product.tree
product.template
Fout context:
Weergavemrp.production.form
[view_id: 1630, xml_id: n/b, model: mrp.production, parent_id: 873]" while parsing /opt/odoo/.local/share/Odoo/addons/8.0/mrp_labeling/views/mrp_production.xml:4, near
mrp.production.form
mrp.production
When trying to install the modules I have the following errors
Odoo Server Error
Traceback (most recent call last):
File "/opt/odoo/odoo-server/openerp/http.py", line 544, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo-server/openerp/http.py", line 581, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/odoo-server/openerp/http.py", line 317, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/service/model.py", line 118, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/http.py", line 314, in checked_call
return self.endpoint(*a, **kw)
File "/opt/odoo/odoo-server/openerp/http.py", line 810, in call
return self.method(*args, **kw)
File "/opt/odoo/odoo-server/openerp/http.py", line 410, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 948, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 936, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
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/module/module.py", line 719, in install_from_urls
self.update_list(cr, uid, 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/module/module.py", line 651, in update_list
handler.load_addons()
File "/opt/odoo/odoo-server/openerp/http.py", line 1317, in load_addons
m = import('openerp.addons.' + module)
File "/opt/odoo/odoo-server/openerp/modules/module.py", line 80, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/opt/odoo/.local/share/Odoo/addons/8.0/account_product_gross_net/init.py", line 1, in
import models
File "/opt/odoo/.local/share/Odoo/addons/8.0/account_product_gross_net/models/init.py", line 1, in
import product
File "/opt/odoo/.local/share/Odoo/addons/8.0/account_product_gross_net/models/product.py", line 6, in
import addons.decimal_precision as dp
ImportError: No module named addons.decimal_precision
It seems I am missing the module addons.decimal_precision
The module decimal_precision is installed is this the same ?
If you try to print, Odoo crashes with this exception:
Odoo Server Error
Traceback (most recent call last):
File "/etc/odoo/server/addons/report/controllers/main.py", line 96, in report_download
response = self.report_routes(reportname, docids=docids, converter='pdf')
File "/etc/odoo/server/openerp/http.py", line 525, in response_wrap
response = f(*args, **kw)
File "/etc/odoo/server/addons/report/controllers/main.py", line 45, in report_routes
pdf = report_obj.get_pdf(cr, uid, docids, reportname, data=data, context=context)
File "/etc/odoo/server/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/etc/odoo/server/addons/report/models/report.py", line 181, in get_pdf
html = self.get_html(cr, uid, ids, report_name, data=data, context=context)
File "/etc/odoo/server/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/etc/odoo/server/addons/report/models/report.py", line 147, in get_html
return self.render(cr, uid, [], report.report_name, docargs, context=context)
File "/etc/odoo/server/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/etc/odoo/server/addons/report/models/report.py", line 123, in render
return view_obj.render(cr, uid, template, values, context=context)
File "/etc/odoo/server/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/etc/odoo/server/addons/website/models/ir_ui_view.py", line 166, in render
return super(view, self).render(cr, uid, id_or_xml_id, values=values, engine=engine, context=context)
File "/etc/odoo/server/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/etc/odoo/server/addons/web_editor/models/ir_ui_view.py", line 29, in render
return super(view, self).render(cr, uid, id_or_xml_id, values=values, engine=engine, context=context)
File "/etc/odoo/server/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/etc/odoo/server/openerp/addons/base/ir/ir_ui_view.py", line 1087, in render
return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context)
File "/etc/odoo/server/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/etc/odoo/server/openerp/addons/base/ir/ir_qweb.py", line 254, in render
return self.render_node(element, qwebcontext, generated_attributes=qwebcontext.pop('generated_attributes', ''))
File "/etc/odoo/server/openerp/addons/base/ir/ir_qweb.py", line 297, in render_node
result = self.render_element(element, template_attributes, generated_attributes, qwebcontext)
File "/etc/odoo/server/openerp/addons/base/ir/ir_qweb.py", line 320, in render_element
generated_attributes= name == "t" and generated_attributes or ''))
File "/etc/odoo/server/openerp/addons/base/ir/ir_qweb.py", line 295, in render_node
result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)
File "/etc/odoo/server/openerp/addons/base/ir/ir_qweb.py", line 448, in render_tag_call
d[0] = self.render_element(element, template_attributes, generated_attributes, d)
File "/etc/odoo/server/openerp/addons/base/ir/ir_qweb.py", line 320, in render_element
generated_attributes= name == "t" and generated_attributes or ''))
File "/etc/odoo/server/openerp/addons/base/ir/ir_qweb.py", line 295, in render_node
result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)
File "/etc/odoo/server/openerp/addons/base/ir/ir_qweb.py", line 426, in render_tag_foreach
ru.append(self.render_element(element, template_attributes, generated_attributes, copy_qwebcontext))
File "/etc/odoo/server/openerp/addons/base/ir/ir_qweb.py", line 320, in render_element
generated_attributes= name == "t" and generated_attributes or ''))
File "/etc/odoo/server/openerp/addons/base/ir/ir_qweb.py", line 295, in render_node
result = self._render_tag[t_render](self, element, template_attributes, generated_attributes, qwebcontext)
File "/etc/odoo/server/openerp/addons/base/ir/ir_qweb.py", line 371, in render_tag_raw
inner = self.eval_str(template_attributes["raw"], qwebcontext)
File "/etc/odoo/server/openerp/addons/base/ir/ir_qweb.py", line 203, in eval_str
val = self.eval(expr, qwebcontext)
File "/etc/odoo/server/openerp/addons/base/ir/ir_qweb.py", line 195, in eval
raise_qweb_exception(message="Could not evaluate expression %r" % expr, expression=expr, template=template)
File "/etc/odoo/server/openerp/addons/base/ir/ir_qweb.py", line 192, in eval
return qwebcontext.safe_eval(expr)
File "/etc/odoo/server/openerp/addons/base/ir/ir_qweb.py", line 104, in safe_eval
return eval(expr, None, locals_dict, nocopy=True, locals_builtins=True)
File "/etc/odoo/server/openerp/tools/safe_eval.py", line 298, in safe_eval
return eval(c, globals_dict, locals_dict)
File "", line 1, in <module>
QWebException: "'NoneType' object is not callable" while evaluating
"translate_doc(doc_id, doc_model, 'create_uid.lang', 'mrp_plan_wizard.mrp_plan_list_document')"
File "/opt/odoo/odoo-server/openerp/models.py", line 1275, in _validate_fields
raise ValidationError('\n'.join(errors))
ParseError: "ValidateError
veld(en) arch
niet juist wegen beperking: Invalid view definition
Meer info over fout:
Veld employee_id` bestaat niet
Fout context:
Weergavemrp.production.form
[view_id: 1614, xml_id: n/b, model: mrp.production, parent_id: 873]" while parsing /opt/odoo/.local/share/Odoo/addons/8.0/mrp_labeling/views/mrp_production.xml:4, near
mrp.production.form
mrp.production
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.