I run Odoo on my machine,
But when I want to open it on browser
I get message as below.
What's wrong with it?
KeyError: 'website'
Error when render the template
KeyError: 'website'
Template: website.layout
Path: /t/html/t[2]
Node: - - -
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
For me the error was:
KeyError: 'website'
Error when render the template
KeyError: 'website'
Template: website.layout
Te solution:
put , website = True int the decoration of your controller like this:
class xyz(http.Controller):
@http.route('/xyz, auth='user', website = True)
def index(self, **kw):
pls make sure you install Wkhtmltopdf
if not try this:
>>>>sudo pip3 install Wkhtmltopdf
This error occurs when you attempt to access some column in a pandas DataFrame that does not exist.
Typically this error occurs when you simply misspell a column names or include an accidental space before or after the column name.
Jimmy
Hi, Did you solve your issue ? I am having something similar
Yes.
But same error occure when not use custom modules
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký
used any custom modules ?
finally, I unstall and reinstall the module to solve problem. Still not know what happen.