add app_web_enterprise
7
app_web_enterprise/__init__.py
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
from .hooks import pre_init_hook
|
||||||
|
from . import controllers
|
||||||
|
from . import models
|
||||||
|
from . import ir
|
||||||
|
from . import res
|
||||||
66
app_web_enterprise/__openerp__.py
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
# Created on 2017-11-05
|
||||||
|
# author: 广州尚鹏,http://www.sunpop.cn
|
||||||
|
# email: 300883@qq.com
|
||||||
|
# resource of Sunpop
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
|
|
||||||
|
# Odoo在线中文用户手册(长期更新)
|
||||||
|
# http://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html
|
||||||
|
|
||||||
|
# Odoo10离线中文用户手册下载
|
||||||
|
# http://www.sunpop.cn/odoo10_user_manual_document_offline/
|
||||||
|
# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备)
|
||||||
|
# http://www.sunpop.cn/odoo10_developer_document_offline/
|
||||||
|
# description:
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
'name': "App web enterprise enhance, odoo企业版界面增强",
|
||||||
|
'version': '11.0.4.30',
|
||||||
|
'author': 'Sunpop.cn',
|
||||||
|
'category': 'Base',
|
||||||
|
'website': 'http://www.sunpop.cn',
|
||||||
|
'license': 'LGPL-3',
|
||||||
|
'sequence': 2,
|
||||||
|
'summary': """
|
||||||
|
odoo enterprise version UI enhance.
|
||||||
|
广州尚鹏,Sunpop.cn 的odoo模块。企业版界面增强。
|
||||||
|
1. Add dropdown arrow to parent menu.
|
||||||
|
多级菜单中出现箭头。
|
||||||
|
2. Replace the odoo logo to your company logo in main menu.
|
||||||
|
替换主菜单界面的logo为你公司的logo。
|
||||||
|
3. Alway show search in main menu.
|
||||||
|
在主菜单界面让搜索可见。
|
||||||
|
""",
|
||||||
|
'description': """
|
||||||
|
模块开发模板,目录结构与文件定义。
|
||||||
|
""",
|
||||||
|
'price': 98.00,
|
||||||
|
'currency': 'EUR',
|
||||||
|
'depends': ['app_odoo_customize', 'web_enterprise'],
|
||||||
|
'images': [],
|
||||||
|
'data': [
|
||||||
|
'views/webclient_templates.xml',
|
||||||
|
],
|
||||||
|
'demo': [
|
||||||
|
],
|
||||||
|
'test': [
|
||||||
|
],
|
||||||
|
'css': [
|
||||||
|
],
|
||||||
|
'qweb': [
|
||||||
|
"static/src/xml/*.xml",
|
||||||
|
],
|
||||||
|
'js': [
|
||||||
|
],
|
||||||
|
'images': ['static/description/app_web_enterprise_03.jpg'],
|
||||||
|
'pre_init_hook': 'pre_init_hook',
|
||||||
|
'post_load': None,
|
||||||
|
'pre_init_hook': None,
|
||||||
|
'post_init_hook': None,
|
||||||
|
'installable': True,
|
||||||
|
'application': True,
|
||||||
|
'auto_install': True,
|
||||||
|
}
|
||||||
1
app_web_enterprise/controllers/__init__.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
26
app_web_enterprise/hooks.py
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
# Created on 2017-11-22
|
||||||
|
# author: 广州尚鹏,http://www.sunpop.cn
|
||||||
|
# email: 300883@qq.com
|
||||||
|
# resource of Sunpop
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
|
|
||||||
|
# Odoo在线中文用户手册(长期更新)
|
||||||
|
# http://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html
|
||||||
|
|
||||||
|
# Odoo10离线中文用户手册下载
|
||||||
|
# http://www.sunpop.cn/odoo10_user_manual_document_offline/
|
||||||
|
# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备)
|
||||||
|
# http://www.sunpop.cn/odoo10_developer_document_offline/
|
||||||
|
# description:
|
||||||
|
|
||||||
|
def pre_init_hook(cr):
|
||||||
|
"""
|
||||||
|
数据初始化,只在安装时执行,更新时不执行
|
||||||
|
"""
|
||||||
|
try:
|
||||||
|
#
|
||||||
|
pass
|
||||||
|
except Exception as e:
|
||||||
|
raise Warning(e)
|
||||||
16
app_web_enterprise/i18n/zh_CN.po
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# Translation of Odoo Server.
|
||||||
|
# This file contains the translation of the following modules:
|
||||||
|
# * felive_home
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2018-01-08 14:28+0000\n"
|
||||||
|
"PO-Revision-Date: 2018-01-08 14:28+0000\n"
|
||||||
|
"Last-Translator: <>\n"
|
||||||
|
"Language-Team: \n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: \n"
|
||||||
|
"Plural-Forms: \n"
|
||||||
1
app_web_enterprise/ir/__init__.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
1
app_web_enterprise/models/__init__.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
2
app_web_enterprise/report/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
1
app_web_enterprise/res/__init__.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
BIN
app_web_enterprise/static/description/app_web_enterprise_01.jpg
Normal file
|
After Width: | Height: | Size: 138 KiB |
BIN
app_web_enterprise/static/description/app_web_enterprise_02.jpg
Normal file
|
After Width: | Height: | Size: 96 KiB |
BIN
app_web_enterprise/static/description/app_web_enterprise_03.jpg
Normal file
|
After Width: | Height: | Size: 96 KiB |
BIN
app_web_enterprise/static/description/icon.png
Normal file
|
After Width: | Height: | Size: 78 KiB |
68
app_web_enterprise/static/description/index.html
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
<section class="oe_container">
|
||||||
|
<div class="oe_row oe_spaced" style="max-width: 800px;">
|
||||||
|
<div class="oe_span12">
|
||||||
|
<h2 class="oe_slogan">App Web Enterprise Enhance</h2>
|
||||||
|
<div class="oe_demo" style=" margin: 30px auto 0; padding: 0 15px 0 0; border:none; width: 96%;">
|
||||||
|
<p>This moduld base on App Odoo Customize </p>
|
||||||
|
<h1>Please download from
|
||||||
|
<a class="btn btn-primary mb16" href="http://www.odoo.com/apps/modules/11.0/app_odoo_customize">Get relate module</a>
|
||||||
|
</h1>
|
||||||
|
<h1 class="mt32 mb32">More Powerful addons:
|
||||||
|
<a class="btn btn-primary mb16" href="http://www.odoo.com/apps/modules/browse?author=Sunpop.cn">Supop.cn Odoo Addons</a>
|
||||||
|
</h1>
|
||||||
|
<h3>Lastest update: v11.0.5.4, 2018-05-04</h3>
|
||||||
|
<p>This moduld allows user to . </p>
|
||||||
|
<ul>
|
||||||
|
<li class="mb8">Add dropdown arrow to parent menu.</li>
|
||||||
|
<li class="mb8">Replace the odoo logo to your company logo in main menu.</li>
|
||||||
|
<li class="mb8">Alway show search in main menu.</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="oe_demo oe_screenshot mt32">
|
||||||
|
<img src="app_web_enterprise_01.jpg" style="border:1px solid black"/>
|
||||||
|
<br/>
|
||||||
|
</div>
|
||||||
|
<div class="oe_demo oe_screenshot mt32">
|
||||||
|
<img src="app_web_enterprise_02.jpg" style="border:1px solid black"/>
|
||||||
|
<br/>
|
||||||
|
</div>
|
||||||
|
<div class="oe_demo oe_screenshot mt32">
|
||||||
|
<img src="app_web_enterprise_03.jpg" style="border:1px solid black"/>
|
||||||
|
<br/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<section class="oe_container oe_dark">
|
||||||
|
<div class="oe_row oe_spaced text-center">
|
||||||
|
<div class="oe_span12">
|
||||||
|
<h2 class="oe_slogan">Technical Help & Support</h2>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-12 pad0">
|
||||||
|
<div class="oe_mt16">
|
||||||
|
<p><h4>
|
||||||
|
For any type of technical help & support requests, Feel free to contact us</h4></p>
|
||||||
|
<a style="background: #002e5a none repeat scroll 0% 0%; color: rgb(255, 255, 255);position: relative; overflow: hidden;"
|
||||||
|
class="btn btn-warning btn-lg" rel="nofollow" href="mailto:guohuadeng@hotmail.com"><span
|
||||||
|
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
|
||||||
|
<i class="fa fa-envelope"></i> guohuadeng@hotmail.com</a>
|
||||||
|
<p><h4>
|
||||||
|
Via QQ: 300883</h4></p>
|
||||||
|
<a style="background: #002e5a none repeat scroll 0% 0%; color: rgb(255, 255, 255);position: relative; overflow: hidden;"
|
||||||
|
class="btn btn-warning btn-lg" rel="nofollow" href="mailto:300883@qq.com"><span
|
||||||
|
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
|
||||||
|
<i class="fa fa-envelope"></i> 300883@qq.com</a>
|
||||||
|
</div>
|
||||||
|
<div class="oe_mt16">
|
||||||
|
<p><h4>
|
||||||
|
Visit our website for more support.</h4></p>
|
||||||
|
<a style="background: #002e5a none repeat scroll 0% 0%; color: rgb(255, 255, 255);position: relative; overflow: hidden;"
|
||||||
|
class="btn btn-warning btn-lg" rel="nofollow" href="http://www.sunpop.cn" target="_blank"><span
|
||||||
|
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
|
||||||
|
<i class="fa fa-web"></i>http://www.sunpop.cn</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
10
app_web_enterprise/static/src/less/app_switcher.less
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
.o_application_switcher {
|
||||||
|
.o_application_switcher_scrollable {
|
||||||
|
.o_application_switcher_footer {
|
||||||
|
> img {
|
||||||
|
width: auto;
|
||||||
|
max-width: 200px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
5
app_web_enterprise/static/src/less/menu_search.less
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
.o_menu_search {
|
||||||
|
&.o_bar_hidden {
|
||||||
|
opacity: 0.9;
|
||||||
|
}
|
||||||
|
}
|
||||||
16
app_web_enterprise/static/src/xml/base.xml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<templates id="template" xml:space="preserve">
|
||||||
|
|
||||||
|
<t t-extend="AppSwitcher.Content">
|
||||||
|
<t t-jquery=".o_application_switcher_footer" t-operation="inner">
|
||||||
|
<img src='/web/binary/company_logo'/>
|
||||||
|
</t>
|
||||||
|
</t>
|
||||||
|
|
||||||
|
<t t-extend="Menu.sections">
|
||||||
|
<t t-jquery=".dropdown-toggle" t-operation="append">
|
||||||
|
<span class="caret"/>
|
||||||
|
</t>
|
||||||
|
</t>
|
||||||
|
|
||||||
|
</templates>
|
||||||
9
app_web_enterprise/views/webclient_templates.xml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<odoo>
|
||||||
|
<template id="assets_backend" name="app_web_enterprise assets backend" inherit_id="web.assets_backend">
|
||||||
|
<xpath expr="//link[last()]" position="after">
|
||||||
|
<link rel="stylesheet" type="text/less" href="/app_web_enterprise/static/src/less/app_switcher.less"/>
|
||||||
|
<link rel="stylesheet" type="text/less" href="/app_web_enterprise/static/src/less/menu_search.less"/>
|
||||||
|
</xpath>
|
||||||
|
</template>
|
||||||
|
</odoo>
|
||||||
2
app_web_fullwidth/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
46
app_web_fullwidth/__manifest__.py
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
# Created on 2017-11-05
|
||||||
|
# author: 广州尚鹏,http://www.sunpop.cn
|
||||||
|
# email: 300883@qq.com
|
||||||
|
# resource of Sunpop
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
|
|
||||||
|
# Odoo在线中文用户手册(长期更新)
|
||||||
|
# http://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html
|
||||||
|
|
||||||
|
# Odoo10离线中文用户手册下载
|
||||||
|
# http://www.sunpop.cn/odoo10_user_manual_document_offline/
|
||||||
|
# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备)
|
||||||
|
# http://www.sunpop.cn/odoo10_developer_document_offline/
|
||||||
|
# description:
|
||||||
|
{
|
||||||
|
'name': 'App Web Fullwidth(form view fullwidth)',
|
||||||
|
'version': '11.0.5.4',
|
||||||
|
'category': 'web',
|
||||||
|
'author': 'Sunpop.cn',
|
||||||
|
'website': 'http://www.sunpop.cn',
|
||||||
|
'license': 'AGPL-3',
|
||||||
|
'sequence': 2,
|
||||||
|
'summary': """
|
||||||
|
UI Enhance for Odoo. Form view fullwidth
|
||||||
|
""",
|
||||||
|
'description': """
|
||||||
|
UI Enhance for Odoo. Form view fullwidth
|
||||||
|
""",
|
||||||
|
'depends': ['web', 'app_odoo_customize'],
|
||||||
|
'data': [
|
||||||
|
'views/template_view.xml',
|
||||||
|
],
|
||||||
|
'qweb': [
|
||||||
|
'static/src/xml/*.xml',
|
||||||
|
],
|
||||||
|
"price": 18.00,
|
||||||
|
"currency": "EUR",
|
||||||
|
|
||||||
|
'images': ['static/description/list_pivot.png'],
|
||||||
|
|
||||||
|
'installable': True,
|
||||||
|
'auto_install': False,
|
||||||
|
'application': True,
|
||||||
|
}
|
||||||
270
app_web_fullwidth/i18n/zh_CN.po
Normal file
@@ -0,0 +1,270 @@
|
|||||||
|
# Translation of Odoo Server.
|
||||||
|
# This file contains the translation of the following modules:
|
||||||
|
# * app_ui_enhance
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: Odoo Server 10.0+e-20171107\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2018-01-28 19:12+0000\n"
|
||||||
|
"PO-Revision-Date: 2018-01-28 19:12+0000\n"
|
||||||
|
"Last-Translator: <>\n"
|
||||||
|
"Language-Team: \n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: \n"
|
||||||
|
"Plural-Forms: \n"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#. openerp-web
|
||||||
|
#: code:addons/app_ui_enhance/static/src/xml/pivot_view.xml:71
|
||||||
|
#: code:addons/app_ui_enhance/static/src/xml/pivot_view.xml:92
|
||||||
|
#, python-format
|
||||||
|
msgid "All"
|
||||||
|
msgstr "全部"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: model:ir.model.fields,field_description:app_ui_enhance.field_app_ui_config_settings_app_ui_allow_barcode
|
||||||
|
msgid "Allow Barcode, Seperated by \",\""
|
||||||
|
msgstr "允许的条码,用\",\"分隔"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: model:ir.model,name:app_ui_enhance.model_app_ui_config_settings
|
||||||
|
msgid "App Web UI enhance settings"
|
||||||
|
msgstr "界面优化设置"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: model:ir.ui.view,arch_db:app_ui_enhance.view_app_ui_config_settings
|
||||||
|
msgid "Apply"
|
||||||
|
msgstr "应用"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: model:ir.ui.view,arch_db:app_ui_enhance.view_app_ui_config_settings
|
||||||
|
msgid "Cancel"
|
||||||
|
msgstr "取消"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: selection:app.ui.config.settings,app_ui_force_barcode:0
|
||||||
|
msgid "Codabar"
|
||||||
|
msgstr "Codabar"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: selection:app.ui.config.settings,app_ui_force_barcode:0
|
||||||
|
msgid "Code11"
|
||||||
|
msgstr "Code11"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: selection:app.ui.config.settings,app_ui_force_barcode:0
|
||||||
|
msgid "Code128"
|
||||||
|
msgstr "Code128"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: model:ir.model.fields,field_description:app_ui_enhance.field_app_ui_config_settings_create_uid
|
||||||
|
msgid "Created by"
|
||||||
|
msgstr "创建人"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: model:ir.model.fields,field_description:app_ui_enhance.field_app_ui_config_settings_create_date
|
||||||
|
msgid "Created on"
|
||||||
|
msgstr "创建时间"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: model:ir.model.fields,help:app_ui_enhance.field_app_ui_config_settings_app_ui_allow_barcode
|
||||||
|
msgid "Default Allow QR and Standard39."
|
||||||
|
msgstr "建议默认输入 QR,Standard39"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: model:ir.model.fields,field_description:app_ui_enhance.field_app_ui_config_settings_display_name
|
||||||
|
msgid "Display Name"
|
||||||
|
msgstr "显示名称"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: selection:app.ui.config.settings,app_ui_force_barcode:0
|
||||||
|
msgid "EAN13"
|
||||||
|
msgstr "EAN13"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: selection:app.ui.config.settings,app_ui_force_barcode:0
|
||||||
|
msgid "EAN8"
|
||||||
|
msgstr "EAN8"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#. openerp-web
|
||||||
|
#: code:addons/app_ui_enhance/static/src/xml/pivot_view.xml:22
|
||||||
|
#, python-format
|
||||||
|
msgid "End date"
|
||||||
|
msgstr "结束日期"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: selection:app.ui.config.settings,app_ui_force_barcode:0
|
||||||
|
msgid "Extended39"
|
||||||
|
msgstr "Extended39"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: selection:app.ui.config.settings,app_ui_force_barcode:0
|
||||||
|
msgid "Extended93"
|
||||||
|
msgstr "Extended93"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: selection:app.ui.config.settings,app_ui_force_barcode:0
|
||||||
|
msgid "FIM"
|
||||||
|
msgstr "FIM"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: model:ir.model.fields,field_description:app_ui_enhance.field_app_ui_config_settings_app_ui_force_barcode
|
||||||
|
msgid "Force all Odoo Barcode to:"
|
||||||
|
msgstr "强制设置所有Odoo条码格式:"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#. openerp-web
|
||||||
|
#: code:addons/app_ui_enhance/static/src/xml/pivot_view.xml:43
|
||||||
|
#, python-format
|
||||||
|
msgid "From"
|
||||||
|
msgstr "从"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: selection:app.ui.config.settings,app_ui_force_barcode:0
|
||||||
|
msgid "I2of5"
|
||||||
|
msgstr "I2of5"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: model:ir.model.fields,field_description:app_ui_enhance.field_app_ui_config_settings_id
|
||||||
|
msgid "ID"
|
||||||
|
msgstr "ID"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: model:ir.ui.view,arch_db:app_ui_enhance.view_app_ui_config_settings
|
||||||
|
msgid "Item to Show"
|
||||||
|
msgstr "显示/隐藏菜单项"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: model:ir.model.fields,field_description:app_ui_enhance.field_app_ui_config_settings___last_update
|
||||||
|
msgid "Last Modified on"
|
||||||
|
msgstr "最后修改日"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: model:ir.model.fields,field_description:app_ui_enhance.field_app_ui_config_settings_write_uid
|
||||||
|
msgid "Last Updated by"
|
||||||
|
msgstr "最后更新人"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: model:ir.model.fields,field_description:app_ui_enhance.field_app_ui_config_settings_write_date
|
||||||
|
msgid "Last Updated on"
|
||||||
|
msgstr "最后更新时间"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: selection:app.ui.config.settings,app_ui_force_barcode:0
|
||||||
|
msgid "MSI"
|
||||||
|
msgstr "MSI"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: selection:app.ui.config.settings,app_ui_force_barcode:0
|
||||||
|
msgid "Odoo Default"
|
||||||
|
msgstr "Odoo 默认"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: selection:app.ui.config.settings,app_ui_force_barcode:0
|
||||||
|
msgid "POSTNET"
|
||||||
|
msgstr "POSTNET"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#. openerp-web
|
||||||
|
#: code:addons/app_ui_enhance/static/src/xml/pivot_view.xml:18
|
||||||
|
#: code:addons/app_ui_enhance/static/src/xml/pivot_view.xml:22
|
||||||
|
#: code:addons/app_ui_enhance/static/src/xml/pivot_view.xml:43
|
||||||
|
#: code:addons/app_ui_enhance/static/src/xml/pivot_view.xml:47
|
||||||
|
#, python-format
|
||||||
|
msgid "Press Enter to search"
|
||||||
|
msgstr "直接按回车即可搜索"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: selection:app.ui.config.settings,app_ui_force_barcode:0
|
||||||
|
msgid "QR"
|
||||||
|
msgstr "QR"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: model:ir.model,name:app_ui_enhance.model_report
|
||||||
|
msgid "Report"
|
||||||
|
msgstr "报表"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: model:ir.ui.view,arch_db:app_ui_enhance.view_app_ui_config_settings
|
||||||
|
msgid "Report Setting"
|
||||||
|
msgstr "报表输出设置"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: model:ir.ui.view,arch_db:app_ui_enhance.view_app_ui_config_settings
|
||||||
|
msgid "Search Enhance"
|
||||||
|
msgstr "搜索增加"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: model:ir.model.fields,help:app_ui_enhance.field_app_ui_config_settings_app_ui_show_search_date
|
||||||
|
#: model:ir.model.fields,help:app_ui_enhance.field_app_ui_config_settings_app_ui_show_search_number
|
||||||
|
msgid "Set 'True' to show, Set 'False' to hide"
|
||||||
|
msgstr "设为 'True' 则显示,设为 'False' 则隐藏"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: model:ir.model.fields,help:app_ui_enhance.field_app_ui_config_settings_app_ui_force_barcode
|
||||||
|
msgid "Set Odoo Default to use the barcode odoo define in report(EAN13)."
|
||||||
|
msgstr "设置为'Odoo默认'即使用代码中设置的条码编码(EAN13)"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: model:ir.model.fields,field_description:app_ui_enhance.field_app_ui_config_settings_app_ui_show_search_date
|
||||||
|
msgid "Show date range search in tree/pivot view"
|
||||||
|
msgstr "显示日期搜索,在tree/pivot视图生效"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: model:ir.model.fields,field_description:app_ui_enhance.field_app_ui_config_settings_app_ui_show_search_number
|
||||||
|
msgid "Show number range search tree/pivot view"
|
||||||
|
msgstr "显示数值搜索,在tree/pivot视图生效"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: selection:app.ui.config.settings,app_ui_force_barcode:0
|
||||||
|
msgid "Standard39"
|
||||||
|
msgstr "Standard39"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: selection:app.ui.config.settings,app_ui_force_barcode:0
|
||||||
|
msgid "Standard93"
|
||||||
|
msgstr "Standard93"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#. openerp-web
|
||||||
|
#: code:addons/app_ui_enhance/static/src/xml/pivot_view.xml:18
|
||||||
|
#, python-format
|
||||||
|
msgid "Start date"
|
||||||
|
msgstr "开始日期"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#. openerp-web
|
||||||
|
#: code:addons/app_ui_enhance/static/src/xml/pivot_view.xml:47
|
||||||
|
#, python-format
|
||||||
|
msgid "To"
|
||||||
|
msgstr "至"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: model:ir.actions.act_window,name:app_ui_enhance.action_app_ui_config
|
||||||
|
#: model:ir.ui.menu,name:app_ui_enhance.menu_app_ui_config
|
||||||
|
msgid "UI Enhance"
|
||||||
|
msgstr "界面增强"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: selection:app.ui.config.settings,app_ui_force_barcode:0
|
||||||
|
msgid "UPCA"
|
||||||
|
msgstr "UPCA"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: selection:app.ui.config.settings,app_ui_force_barcode:0
|
||||||
|
msgid "USPS_4State"
|
||||||
|
msgstr "USPS_4State"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: model:ir.ui.view,arch_db:app_ui_enhance.view_app_ui_config_settings
|
||||||
|
msgid "odoo UI Enhance"
|
||||||
|
msgstr "odoo 界面增强"
|
||||||
|
|
||||||
|
#. module: app_ui_enhance
|
||||||
|
#: model:ir.ui.view,arch_db:app_ui_enhance.view_app_ui_config_settings
|
||||||
|
msgid "odooApp UI Settings"
|
||||||
|
msgstr "界面增强设置"
|
||||||
|
|
||||||
1
app_web_fullwidth/models/__init__.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
BIN
app_web_fullwidth/static/description/date_range.jpg
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
app_web_fullwidth/static/description/date_range.png
Normal file
|
After Width: | Height: | Size: 325 KiB |
BIN
app_web_fullwidth/static/description/icon.png
Normal file
|
After Width: | Height: | Size: 78 KiB |
49
app_web_fullwidth/static/description/index.html
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
<section class="oe_container">
|
||||||
|
<div class="oe_row oe_spaced" style="max-width: 800px;">
|
||||||
|
<div class="oe_span12">
|
||||||
|
<h2 class="oe_slogan">App Web Fullwidth(form view fullwidth)</h2>
|
||||||
|
<div class="oe_demo" style=" margin: 30px auto 0; padding: 0 15px 0 0; border:none; width: 96%;">
|
||||||
|
<h3>Please install <a href="https://www.odoo.com/apps/modules/11.0/app_odoo_customize/" target="_blank">app_odoo_customize</a> First.</h3>
|
||||||
|
<p>This moduld allows user to set the form view to full width by date or number range in List view and Pivot view. </p>
|
||||||
|
<div class="oe_demo oe_picture oe_screenshot">
|
||||||
|
<img src="date_range.jpg">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="oe_container oe_dark">
|
||||||
|
<div class="oe_row oe_spaced text-center">
|
||||||
|
<div class="oe_span12">
|
||||||
|
<h2 class="oe_slogan">Technical Help & Support</h2>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-12 pad0">
|
||||||
|
<div class="oe_mt16">
|
||||||
|
<p><h4>
|
||||||
|
For any type of technical help & support requests, Feel free to contact us</h4></p>
|
||||||
|
<a style="background: #002e5a none repeat scroll 0% 0%; color: rgb(255, 255, 255);position: relative; overflow: hidden;"
|
||||||
|
class="btn btn-warning btn-lg" rel="nofollow" href="mailto:guohuadeng@hotmail.com"><span
|
||||||
|
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
|
||||||
|
<i class="fa fa-envelope"></i> guohuadeng@hotmail.com</a>
|
||||||
|
<p><h4>
|
||||||
|
Via QQ: 300883</h4></p>
|
||||||
|
<a style="background: #002e5a none repeat scroll 0% 0%; color: rgb(255, 255, 255);position: relative; overflow: hidden;"
|
||||||
|
class="btn btn-warning btn-lg" rel="nofollow" href="mailto:300883@qq.com"><span
|
||||||
|
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
|
||||||
|
<i class="fa fa-envelope"></i> 300883@qq.com</a>
|
||||||
|
</div>
|
||||||
|
<div class="oe_mt16">
|
||||||
|
<p><h4>
|
||||||
|
Visit our website for more support.</h4></p>
|
||||||
|
<a style="background: #002e5a none repeat scroll 0% 0%; color: rgb(255, 255, 255);position: relative; overflow: hidden;"
|
||||||
|
class="btn btn-warning btn-lg" rel="nofollow" href="http://www.sunpop.cn" target="_blank"><span
|
||||||
|
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
|
||||||
|
<i class="fa fa-web"></i>http://www.sunpop.cn</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="oe_container oe_separator">
|
||||||
|
</section>
|
||||||
BIN
app_web_fullwidth/static/description/list_pivot.jpg
Normal file
|
After Width: | Height: | Size: 48 KiB |
BIN
app_web_fullwidth/static/description/list_pivot.png
Normal file
|
After Width: | Height: | Size: 205 KiB |
BIN
app_web_fullwidth/static/description/odoo_web_tree_bg_color.png
Normal file
|
After Width: | Height: | Size: 61 KiB |
BIN
app_web_fullwidth/static/description/setup.png
Normal file
|
After Width: | Height: | Size: 174 KiB |
BIN
app_web_fullwidth/static/description/setup1.jpg
Normal file
|
After Width: | Height: | Size: 64 KiB |
BIN
app_web_fullwidth/static/description/setup1.png
Normal file
|
After Width: | Height: | Size: 124 KiB |
BIN
app_web_fullwidth/static/description/setup2.jpg
Normal file
|
After Width: | Height: | Size: 98 KiB |
BIN
app_web_fullwidth/static/description/value_range.jpg
Normal file
|
After Width: | Height: | Size: 51 KiB |
BIN
app_web_fullwidth/static/description/value_range.png
Normal file
|
After Width: | Height: | Size: 246 KiB |
BIN
app_web_fullwidth/static/description/web_bg_color_change.png
Normal file
|
After Width: | Height: | Size: 88 KiB |
15
app_web_fullwidth/static/src/css/app_web_enhance.css
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
/*
|
||||||
|
list标头不换行
|
||||||
|
*/
|
||||||
|
.table-responsive {
|
||||||
|
white-space: nowrap !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
sheet全宽
|
||||||
|
*/
|
||||||
|
.o_form_view .o_form_sheet_bg .o_form_sheet {
|
||||||
|
max-width: 98% !important;
|
||||||
|
width: 98%;
|
||||||
|
}
|
||||||
10
app_web_fullwidth/views/template_view.xml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<odoo>
|
||||||
|
<data>
|
||||||
|
<template id="assets_backend" name="app_web_fullwidth asset" inherit_id="web.assets_backend">
|
||||||
|
<xpath expr="." position="inside">
|
||||||
|
<link rel="stylesheet" type="text/css" href="/app_web_fullwidth/static/src/css/app_web_enhance.css"/>
|
||||||
|
</xpath>
|
||||||
|
</template>
|
||||||
|
</data>
|
||||||
|
</odoo>
|
||||||