add cn account
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
{
|
||||
'name': "App base chinese",
|
||||
'name': "App base chinese,中国化基本模块增强",
|
||||
'version': '11.0.10.31',
|
||||
'author': 'Sunpop.cn',
|
||||
'category': 'Base',
|
||||
@@ -30,17 +30,19 @@
|
||||
Default country, timezone, currency, partner...
|
||||
""",
|
||||
'description': """
|
||||
odoo Chinese enhance. 中国化增强-基础
|
||||
|
||||
odoo Chinese Enhance. 中国化增强-基础
|
||||
1. 中文默认值,如国家、时区、货币等。处理模块 base, product.
|
||||
2. 客户加简称,地址显示中文化,编码显示优先
|
||||
3. 中文演示数据(只有demo模式才加载)
|
||||
2. 客户加简称,地址显示中文化,客户编码显示优先
|
||||
3. todo:中文演示数据(只有demo模式才加载)
|
||||
|
||||
""",
|
||||
'pre_init_hook': 'pre_init_hook',
|
||||
'depends': [
|
||||
'product',
|
||||
'l10n_cn'
|
||||
],
|
||||
'images': [],
|
||||
'images': ['static/description/banner.jpg'],
|
||||
'data': [
|
||||
'views/res_partner_category_views.xml',
|
||||
'views/res_partner_views.xml',
|
||||
|
||||
@@ -22,9 +22,6 @@ def pre_init_hook(cr):
|
||||
数据初始化,只在安装时执行,更新时不执行
|
||||
"""
|
||||
try:
|
||||
cr.execute("UPDATE product_product "
|
||||
"SET default_code = '!!PR!!' || id "
|
||||
"WHERE default_code IS NULL OR default_code = 'New';")
|
||||
pass
|
||||
except Exception as e:
|
||||
raise Warning(e)
|
||||
|
||||
BIN
app_base_chinese/static/description/banner.jpg
Normal file
|
After Width: | Height: | Size: 48 KiB |
BIN
app_base_chinese/static/description/demo1.jpg
Normal file
|
After Width: | Height: | Size: 8.4 KiB |
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 162 KiB |
74
app_base_chinese/static/description/index.html
Normal file
@@ -0,0 +1,74 @@
|
||||
<section class="oe_container">
|
||||
<div class="oe_row oe_spaced" style="max-width: 800px;">
|
||||
<div class="oe_span12">
|
||||
<h2 class="oe_slogan">App base chinese. Local customize for china user </h2>
|
||||
<h3 class="oe_slogan">Set all chinese default value. Like Default country, timezone, currency, partner... </h3>
|
||||
<div class="oe_row">
|
||||
<h3>Lastest update: v11.0.11.07, 2018-11-07</h3>
|
||||
<div class="oe_span12">
|
||||
<img class="oe_demo oe_picture oe_screenshot" src="banner.png">
|
||||
</div>
|
||||
<div class="oe_span12 oe_spaced">
|
||||
<div class="alert alert-info" style="padding:8px;font-weight: 300; font-size: 20px;">
|
||||
<i class="fa fa-hand-o-right"></i><b> Key features: </b>
|
||||
<ul class="list-unstyled">
|
||||
<li>
|
||||
<i class="fa fa-check-square-o text-primary"></i>
|
||||
Chinese feature enhance.
|
||||
</li>
|
||||
<li>
|
||||
<i class="fa fa-check-square-o text-primary"></i>
|
||||
Set Default country, state, timezone, currency.
|
||||
</li>
|
||||
<li>
|
||||
<i class="fa fa-check-square-o text-primary"></i>
|
||||
Set partner to chinese format.
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="oe_span12">
|
||||
<img class="oe_demo oe_picture oe_screenshot" src="demo1.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>
|
||||
<div class="oe_row oe_spaced text-center">
|
||||
<h1>More Powerful addons, Make your odoo very easy to use, easy customize:
|
||||
<a class="btn btn-primary mb16" href="http://www.odoo.com/apps/modules/browse?author=Sunpop.cn">Supop.cn Odoo Addons</a>
|
||||
</h1>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
Before Width: | Height: | Size: 188 KiB |
|
Before Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 7.1 KiB |
|
Before Width: | Height: | Size: 7.7 KiB |
|
Before Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 106 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 9.5 KiB |
|
Before Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 8.5 KiB |
|
Before Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 117 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 5.8 KiB |
|
Before Width: | Height: | Size: 52 KiB |
|
Before Width: | Height: | Size: 86 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 8.3 KiB |
|
Before Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 3.8 KiB |
@@ -331,20 +331,5 @@
|
||||
<field name="filter" eval="True"/>
|
||||
</record>
|
||||
|
||||
<!--<!– partner 菜单 –>-->
|
||||
<!--<menuitem id="app_menu_partner" name="Partner" parent="app_home.app_menu_master_data" sequence="3"/>-->
|
||||
<!--<!– 客户 –>-->
|
||||
<!--<menuitem id="app_menu_partner_customer_form" action="app_action_partner_customer_form" parent="app_menu_partner" sequence="2"/>-->
|
||||
<!--<!– 供应商 –>-->
|
||||
<!--<menuitem id="app_menu_partner_supplier_form" action="app_action_partner_supplier_form" parent="app_menu_partner" sequence="3"/>-->
|
||||
<!--<!– 所有partner –>-->
|
||||
<!--<menuitem id="app_menu_partner_form" action="app_action_partner_form" parent="app_menu_partner" sequence="4"/>-->
|
||||
<!--<!– 联系人分类标签 –>-->
|
||||
<!--<menuitem id="app_menu_partner_category_form" action="base.action_partner_category_form" name="Contact Tags" sequence="11"-->
|
||||
<!--parent="app_menu_partner" groups="base.group_no_one"/>-->
|
||||
<!--<!– 联系人称谓 –>-->
|
||||
<!--<menuitem id="app_menu_partner_title_contact" action="base.action_partner_title_contact" parent="app_menu_partner" sequence="12"-->
|
||||
<!--groups="base.group_no_one"/>-->
|
||||
|
||||
</data>
|
||||
</odoo>
|
||||
|
||||