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

how to remove title footer 'powered by odoo' in odoo 9? and remove title 'odoo' in header when open Point of sale session. Thanks before

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


Susi,


Go to this file

/odoo-9.0c-20160806/openerp/addons/web/views/webclient_templates.xml

You can see like following line twice

<a href="https://www.odoo.com" target="_blank">Powered by <span>Odoo</span></a>

Then edit

Go to this file to edit tiltle part of backend (Not POS)

/odoo-9.0c-20160806/openerp/addons/web/static/src/js/web_client.js
 this.set('title_part', {"zopenerp": "Your Title"});

(I am not expert in POS )

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

how can i inherit this file @shammeem?

You can inherit their templates "web.login_layout" and "web.menu_secondary"

<template id="custom_login_layout" inherit_id="web.login_layout" >

<xpath expr="expression to that" position="replace">

Your Footer

</xpath>

</template>

But here problem is the cutomization of web module is not simple. That may make great problems . You may loss your database.

I shall tell you a simple way, Do you have addons? Create if not. Then copy the whole web module

and paste in your addons. Now your web module will be overridden. Old web module will not shown in app list .You change the name in __openerp__.py to verify. You can edit any thing without loss web module :)

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 9 23
2041
0
thg 9 23
1752
2
thg 6 25
11268
6
thg 10 23
22117
3
thg 3 24
9545