support odoo

This commit is contained in:
ivan deng
2018-02-19 15:02:50 +08:00
parent d0cd55f4ab
commit b9ff0c210b
3 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
# Copyright 2017 Jarvis (www.odoomod.com)
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
from odoo import api, fields, models, _
from openerp import api, fields, models, _
class BaseLanguageInstall(models.TransientModel):

View File

@@ -2,7 +2,7 @@
# Copyright 2017 Jarvis (www.odoomod.com)
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
from odoo import api, fields, models, _
from openerp import api, fields, models, _
class MailThread(models.AbstractModel):

View File

@@ -9,7 +9,7 @@
<script type="text/javascript" src="/app_odoo_customize/static/src/js/app_window_title.js"/>
</xpath>
</template>
<!-- some odoo version not support, please remove this if you are using odoo9 -->
<template id="replace_login" name="replace_login" inherit_id="web.login_layout">
<xpath expr="//a[@href='https://www.odoo.com']" position="replace">
<a href="https://www.sunpop.cn" target="_blank">Powered by <span>odooApp</span></a>