打印pdf时qweb报告odoo 8中的Wkhtmltopdf错误

打印pdf时qweb报告odoo 8中的Wkhtmltopdf错误,odoo,odoo-8,wkhtmltopdf,qweb,Odoo,Odoo 8,Wkhtmltopdf,Qweb,wkhtmltopdf版本是0.12.1。但我无法在Odoo 8中打印pdf。这可能是因为wkhtmltopdf版本 我解决了这个问题。wkhtmltopdf版本还可以。这是odoo基础代码中的问题。在openerp.module.request.Registry中,我不知道“报告”模型。此报告和代码适用于其他人。这就是为什么我更改了新的odoo基础版本8代码。基础代码中存在一些错误 Traceback (most recent call last): File "/home/frontiir/

wkhtmltopdf版本是0.12.1。但我无法在Odoo 8中打印pdf。这可能是因为wkhtmltopdf版本

我解决了这个问题。wkhtmltopdf版本还可以。这是odoo基础代码中的问题。在openerp.module.request.Registry中,我不知道“报告”模型。此报告和代码适用于其他人。这就是为什么我更改了新的odoo基础版本8代码。基础代码中存在一些错误

Traceback (most recent call last):
File "/home/frontiir/gitlap/isp-erp/odoo/openerp/http.py", line 500, in _handle_exception
 return super(JsonRequest, self)._handle_exception(exception)
File "/home/frontiir/gitlap/isp-erp/odoo/openerp/http.py", line 517, in dispatch
result = self._call_function(**self.params)
File "/home/frontiir/gitlap/isp-erp/odoo/openerp/http.py", line 283, in _call_function
 return checked_call(self.db, *args, **kwargs)
File "/home/frontiir/gitlap/isp-erp/odoo/openerp/service/model.py", line 113, in wrapper
 return f(dbname, *args, **kwargs)
File "/home/frontiir/gitlap/isp-erp/odoo/openerp/http.py", line 280, in checked_call
 return self.endpoint(*a, **kw)
File "/home/frontiir/gitlap/isp-erp/odoo/openerp/http.py", line 733, in __call__
 return self.method(*args, **kw)
File "/home/frontiir/gitlap/isp-erp/odoo/openerp/http.py", line 376, in response_wrap
 response = f(*args, **kw)
File "/home/frontiir/gitlap/isp-erp/odoo/addons/report/controllers/main.py", line 144, in check_wkhtmltopdf
 return request.registry['report']._check_wkhtmltopdf()
File "/home/frontiir/gitlap/isp-erp/odoo/openerp/modules/registry.py", line 100, in __getitem__
 return self.models[model_name]
KeyError: 'report'