fix chinese

This commit is contained in:
Ivan Office
2024-12-18 17:01:01 +08:00
parent 0c42da73ba
commit deb450b8f0
4 changed files with 132 additions and 89 deletions

View File

@@ -17,8 +17,8 @@
{ {
'name': 'odoo中文版套件之基础,中国会计基础,Chinese Enhance All in One', 'name': 'odoo中国版,中文本土化套件,中国会计基础,Odoo Chinese localization Enhance All in One',
'version': '16.24.12.16', 'version': '16.24.12.18',
'author': 'odooai.cn', 'author': 'odooai.cn',
'category': 'Base', 'category': 'Base',
'website': 'https://www.odooai.cn', 'website': 'https://www.odooai.cn',
@@ -28,7 +28,7 @@
'price': 0, 'price': 0,
'currency': 'EUR', 'currency': 'EUR',
'summary': ''' 'summary': '''
odoo简体中文版全面增强. Chinese enhance. Out of the box use odoo in china. Chinese address format, number format, money format. odoo简体中文版全面增强. 更具政策敏感性的翻译。Chinese enhance. Out of the box use odoo in china. Chinese address format, number format, money format.
Set all chinese default value. Default country, timezone, currency, partner.中国会计基础模块. Set all chinese default value. Default country, timezone, currency, partner.中国会计基础模块.
''', ''',
'description': ''' 'description': '''
@@ -49,6 +49,7 @@
14. 常用小数精度调整 14. 常用小数精度调整
15. 销售团队改为中国 15. 销售团队改为中国
16. 精简语言的显示,如 Chinese简体中文改为 中文 16. 精简语言的显示,如 Chinese简体中文改为 中文
17. 将'国家'字段处理为'国家/地区',避免政策敏感问题(需配合我司Odoo中文翻译)
21. 多语言支持,多公司支持 21. 多语言支持,多公司支持
22. Odoo 18,17,16,15,14,13,12, 企业版社区版在线SaaS.sh版等全版本支持 22. Odoo 18,17,16,15,14,13,12, 企业版社区版在线SaaS.sh版等全版本支持
23. 代码完全开源 23. 代码完全开源

View File

@@ -7,5 +7,21 @@
<field name="address_format" eval="'%(country_name)s%(state_name)s%(city)s%(street)s\n%(street2)s'"/> <field name="address_format" eval="'%(country_name)s%(state_name)s%(city)s%(street)s\n%(street2)s'"/>
<field name="address_view_id" ref="app_base_chinese.app_view_partner_form_chinese"/> <field name="address_view_id" ref="app_base_chinese.app_view_partner_form_chinese"/>
</record> </record>
<function model="res.country" name="write" context="{'lang': 'zh_CN'}">
<value eval="[ref('base.cn')]"/>
<value eval="{'sequence': 1}"/>
</function>
<function model="res.country" name="write" context="{'lang': 'zh_CN'}">
<value eval="[ref('base.hk')]"/>
<value eval="{'sequence': 11}"/>
</function>
<function model="res.country" name="write" context="{'lang': 'zh_CN'}">
<value eval="[ref('base.mo')]"/>
<value eval="{'sequence': 21}"/>
</function>
<function model="res.country" name="write" context="{'lang': 'zh_CN'}">
<value eval="[ref('base.tw')]"/>
<value eval="{'sequence': 31}"/>
</function>
</data> </data>
</odoo> </odoo>

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

View File

@@ -1,93 +1,109 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
# -*- coding: utf-8 -*-
##############################################################################
# Copyright (C) 2009~2024 odooAi.cn
##############################################################################
-->
<html>
<!-- begin title-->
<section class="oe_container container o_cc o_cc2">
<h2 class="text-center bg-warning text-white pt24 pb24">Odoo Chinese localization Enhance All in One.Local customize for china user</h2>
<h3 class="text-center">odoo中国版中文本土化套件之基础框架,中国会计基础</h3>
<p class="text-center">20+项中文优化,配合 www.odooapp.cn 的Odoo中文翻译版使用最佳</p>
</section>
<!-- end title-->
<section class="oe_container container"> <section class="oe_container container">
<div class="oe_row oe_spaced" > <div class="oe_row oe_spaced">
<div class="row"> <div class="row">
<h2 class="oe_slogan">Chinese Enhance All in One。 Local customize for china user </h2> <h3>Latest update: v18.0.24.12.18</h3>
<h3 class="oe_slogan">20+ chinese setting enhance.</h3> <div class="oe_span12 oe_spaced">
<div class="oe_row"> <div class="alert alert-info" style="padding:8px;font-weight: 300; font-size: 20px;">
<h3>Latest update: v16.23.08.02</h3> <i class="fa fa-hand-o-right"></i><b> Key features: </b>
<div class="oe_span12 oe_spaced"> <ul class="list-unstyled">
<div class="alert alert-info" style="padding:8px;font-weight: 300; font-size: 20px;"> <li>
<i class="fa fa-hand-o-right"></i><b> Key features: </b> <i class="fa fa-check-square-o text-primary"></i>
<ul class="list-unstyled"> 1. Chinese address format, applicable to all Chinese customers, suppliers, partners, users, employee information etc.
<li> </li>
<i class="fa fa-check-square-o text-primary"></i> <li>
1. Chinese address format, applicable to all Chinese customers, suppliers, partners, users, employee information etc. <i class="fa fa-check-square-o text-primary"></i>
</li> 2. Default values in Chinese such as country, time zone and currency. Processing module base, product.
<li> </li>
<i class="fa fa-check-square-o text-primary"></i> <li>
2. Default values in Chinese such as country, time zone and currency. Processing module base, product. <i class="fa fa-check-square-o text-primary"></i>
</li> 3. Add customer abbreviation and display addresses in Chinese; prioritize displaying customer codes.
<li> </li>
<i class="fa fa-check-square-o text-primary"></i> <li>
3. Add customer abbreviation and display addresses in Chinese; prioritize displaying customer codes. <i class="fa fa-check-square-o text-primary"></i>
</li> 4. Display phone numbers along with mobile numbers for customer addresses.
<li> </li>
<i class="fa fa-check-square-o text-primary"></i> <li>
4. Display phone numbers along with mobile numbers for customer addresses. <i class="fa fa-check-square-o text-primary"></i>
</li> 5. Currency processing with added sorting display.
<li> </li>
<i class="fa fa-check-square-o text-primary"></i> <li>
5. Currency processing with added sorting display. <i class="fa fa-check-square-o text-primary"></i>
</li> 6. Fixed bug where the category list and m2o field did not display the name of the Chinese directory.
<li> </li>
<i class="fa fa-check-square-o text-primary"></i> <li>
6. Fixed bug where the category list and m2o field did not display the name of the Chinese directory. <i class="fa fa-check-square-o text-primary"></i>
</li> 7. Fixed bug where warehouse location list and m2o field did not display the name of the Chinese directory.
<li> </li>
<i class="fa fa-check-square-o text-primary"></i> <li>
7. Fixed bug where warehouse location list and m2o field did not display the name of the Chinese directory. <i class="fa fa-check-square-o text-primary"></i>
</li> 8. Superuser changed time zone to China.
<li> </li>
<i class="fa fa-check-square-o text-primary"></i> <li>
8. Superuser changed time zone to China. <i class="fa fa-check-square-o text-primary"></i>
</li> 9. Date format is year-month-day (e.g., 2023-08-08) and time is 12:34
<li> </li>
<i class="fa fa-check-square-o text-primary"></i> <li>
9. Date format is year-month-day (e.g., 2023-08-08) and time is 12:34 <i class="fa fa-check-square-o text-primary"></i>
</li> 10.Country sorting added; China ranked first
<li> </li>
<i class="fa fa-check-square-o text-primary"></i> <li>
10.Country sorting added; China ranked first <i class="fa fa-check-square-o text-primary"></i>
</li> 11.Display payment-related information according to typical practices in China.
<li> </li>
<i class="fa fa-check-square-o text-primary"></i> <li>
11.Display payment-related information according to typical practices in China. <i class="fa fa-check-square-o text-primary"></i>
</li> 12.Default export translation is set to Mandarin (po).
<li> </li>
<i class="fa fa-check-square-o text-primary"></i> <li>
12.Default export translation is set to Mandarin (po). <i class="fa fa-check-square-o text-primary"></i>
</li> 13.Added 'name_en_US' field in base model which updates translation value when assigned a value.
<li> </li>
<i class="fa fa-check-square-o text-primary"></i> <li>
13.Added 'name_en_US' field in base model which updates translation value when assigned a value. <i class="fa fa-check-square-o text-primary"></i>
</li> 14.Common decimal precision adjustments made.
<li> </li>
<i class="fa fa-check-square-o text-primary"></i> <li>
14.Common decimal precision adjustments made. <i class="fa fa-check-square-o text-primary"></i>
</li> 15.Sales team changed to "China".
<li> </li>
<i class="fa fa-check-square-o text-primary"></i> <li>
15.Sales team changed to "China". <i class="fa fa-check-square-o text-primary"></i>
</li> 16.Correct the 'Country' to '国家/地区', More Policy sensitivity.
<li> </li>
<i class="fa fa-check-square-o text-primary"></i> <li>
21. Multi-language Support. Multi-Company Support. <i class="fa fa-check-square-o text-primary"></i>
</li> 21. Multi-language Support. Multi-Company Support.
<li> </li>
<i class="fa fa-check-square-o text-primary"></i> <li>
22. Support Odoo 18,17,16,15,14,13,12, Enterprise and Community and odoo.sh Edition. <i class="fa fa-check-square-o text-primary"></i>
</li> 22. Support Odoo 18,17,16,15,14,13,12, Enterprise and Community and odoo.sh Edition.
<li> </li>
<i class="fa fa-check-square-o text-primary"></i> <li>
23. Full Open Source.. <i class="fa fa-check-square-o text-primary"></i>
</li> 23. Full Open Source..
</ul> </li>
</div> </ul>
</div>
<div class="row">
<img class="oe_demo oe_screenshot img img-fluid" src="cnreadme.png">
</div> </div>
</div> </div>
<div class="row">
<img class="oe_demo oe_screenshot img img-fluid" src="cnreadme.png">
</div>
</div> </div>
</div> </div>
</section> </section>
@@ -120,6 +136,15 @@
</div> </div>
</section> </section>
<section class="oe_container container">
<div class="oe_row oe_spaced">
<h4 class="oe_slogan">将'国家'字段处理为'国家/地区',避免政策敏感问题(需配合我司Odoo中文翻译)</h4>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="demo4.jpg">
</div>
</div>
</section>
<section class="container oe_dark"> <section class="container oe_dark">
<div class="oe_row oe_spaced text-center"> <div class="oe_row oe_spaced text-center">
<div class="row"> <div class="row">
@@ -154,3 +179,4 @@
</div> </div>
</section> </section>
</html>