mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
support odoo
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
# Copyright 2017 Jarvis (www.odoomod.com)
|
# Copyright 2017 Jarvis (www.odoomod.com)
|
||||||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
|
# 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):
|
class BaseLanguageInstall(models.TransientModel):
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# Copyright 2017 Jarvis (www.odoomod.com)
|
# Copyright 2017 Jarvis (www.odoomod.com)
|
||||||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
|
# 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):
|
class MailThread(models.AbstractModel):
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<script type="text/javascript" src="/app_odoo_customize/static/src/js/app_window_title.js"/>
|
<script type="text/javascript" src="/app_odoo_customize/static/src/js/app_window_title.js"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</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">
|
<template id="replace_login" name="replace_login" inherit_id="web.login_layout">
|
||||||
<xpath expr="//a[@href='https://www.odoo.com']" position="replace">
|
<xpath expr="//a[@href='https://www.odoo.com']" position="replace">
|
||||||
<a href="https://www.sunpop.cn" target="_blank">Powered by <span>odooApp</span></a>
|
<a href="https://www.sunpop.cn" target="_blank">Powered by <span>odooApp</span></a>
|
||||||
|
|||||||
Reference in New Issue
Block a user