Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
12392 Lượt xem

I am getting the following error when accessing odoo: Any assistance would be greatly appreciated.


Error to render compiling AST
TypeError: not all arguments converted during string formatting
Template: web.brand_promotion_message
Path: /t/t[3]
Node: <t t-raw="final_message % (odoo_logo, _message and ('- %s' % _message) or '')"/>
    

The error occured while rendering the template web.brand_promotion_message and evaluating the following expression: <t t-raw="final_message % (odoo_logo, _message and ('- %s' % _message) or '')"/>

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Dear Wayne,

You don't need a web access for you to edit your modules. Simply edit the file located in the odoo module  "web--> views--> webclient_templates.xml" .

check arround the line  <t t-set="final_message">Powered by %s%s</t> then apply 

and edit.

Hope this will help.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

I am getting the same error when trying to access my Odoo instance, any suggestions?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi Wayne,

It may look like syntax error. can you use t-esc instead of t-raw. and user "%s". 

for example <t t-esc="'%s' % (odoo_logo)"/>

Thanks

Ảnh đại diện
Huỷ bỏ
Tác giả

Thank you for the prompt response and forgive my ignorance. How may I make any changes when I cannot get to the system to make the appropriate updates. I truly appreciate your assistance and thank you

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 12 24
4030
0
thg 11 24
1648
2
thg 7 24
3377
0
thg 4 24
2178
3
thg 3 24
2246