diff --git a/app_base_chinese/models/ir_module_module.py b/app_base_chinese/models/ir_module_module.py index 00e54235..3bdb3c1d 100644 --- a/app_base_chinese/models/ir_module_module.py +++ b/app_base_chinese/models/ir_module_module.py @@ -21,7 +21,8 @@ class Module(models.Model): else: module.description_html_cn = False if module_path and path: - with tools.file_open(path, 'rb') as desc_file: + # 注意: b 不能在 mode中才能使用 utf-8 + with tools.file_open(path, 'r') as desc_file: doc = desc_file.read() html = lxml.html.document_fromstring(doc) for element, attribute, link, pos in html.iterlinks(): diff --git a/app_odoo_customize/i18n/zh_CN.po b/app_odoo_customize/i18n/zh_CN.po index 4b214d99..49274583 100644 --- a/app_odoo_customize/i18n/zh_CN.po +++ b/app_odoo_customize/i18n/zh_CN.po @@ -451,7 +451,7 @@ msgstr "无需更新" #. module: app_odoo_customize #: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "OEM & Boost" -msgstr "定制与提速" +msgstr "定制与增强" #. module: app_odoo_customize #. odoo-javascript @@ -520,8 +520,8 @@ msgstr "安全与提速" #. module: app_odoo_customize #: model:ir.actions.act_window,name:app_odoo_customize.action_app_theme_config #: model:ir.ui.menu,name:app_odoo_customize.menu_app_theme_config -msgid "Settings" -msgstr "设置" +msgid "OEM and Boost" +msgstr "odoo定制OEM及增强" #. module: app_odoo_customize #: model:ir.model.fields,help:app_odoo_customize.field_res_config_settings__app_system_name diff --git a/app_odoo_customize/static/description/index.html b/app_odoo_customize/static/description/index.html index 70c9c0d2..fe008f73 100644 --- a/app_odoo_customize/static/description/index.html +++ b/app_odoo_customize/static/description/index.html @@ -245,7 +245,7 @@
diff --git a/app_odoo_customize/static/description/index_cn.html b/app_odoo_customize/static/description/index_cn.html
new file mode 100644
index 00000000..6f400d67
--- /dev/null
+++ b/app_odoo_customize/static/description/index_cn.html
@@ -0,0 +1,414 @@
+
+
+ https://github.com/guohuadeng/app-odoo
+ +
+
+ This moduld allows user to quickly customize and debranding Odoo. Quick debug, Language Switcher, + Online Documentation Access,Quick Data Clear.
+Support odoo 16,15,14,13, 12, 11, 10, 9. Including community and enterprise version.
+If you want to change the login page.
+Please modify the file \views\app_odoo_customize_views.xml
+应用界面升级,整合进odoo通用设置
+46. 增加快速帮助文档,可以在任意操作中获取相关的 odoo 帮助.
+45. 为应用模块增加模块路径信息
+44. 可配置停用自动用户订阅功能,这会提速odoo,减少资源消耗
+43. 可设置只允许管理员进入开发者模式,不可在url中直接debut=1来调试
+42. 可设置导航栏在上方还是下方,分开桌面与移动端.
+41. 修正odoo原生移动端菜单bug,点击个人设置时,原菜单不隐藏等
+Fix bug in mobile view in popup menu.
+Fix odoo Debug and Debug Assets.
+Fix odoo ribbon.
+Fix odoo translate update.
+Add odoo16 support.
+odoo15 remove data optimization. Easy and fast remove big data.
+Add odoo15 supported.
+40. 增强对企业版的支持
+39. 只有系统管理员可以操作快速debug
+38. 对话框可拖拽,可缩放,自动大屏优化
+37. noupdate字段的快速管理,主要针对 xml_id.
+Account date reset, and account chart reset support multi company reset.
+Fixed odoo Title.
+36. 可为多个模块强制更新翻译
+35. 优化至odoo14适用
+34. Add Remove all quality data(for odoo Enterprise)
+33. Add Demo Ribbon Setting.
+32. Fix odoo bug of complete name bug of product category and stock location.
+36. Add odoo 14 support.
+31. Show or hide odoo Referral in the top menu.
+30. 1 key export app translate file like .po file.
+28. Easy Menu manager.
+29. Add Install version in App list. Add Local updatable filter in app list.
+27. Add Odoo 13 support, all function add
+26. Add multi uninstall modules
+25. Add remove expense data
+Add Customize Odoo Native Module(eg. Enterprise) Url
+Add reset or clear website blog data
+Optimize chinese translate and document.
+Fix bug: Data reset.
+Fix bug: Save config error.
+Fix bug: If you install Muk moudle, odooapp customize would pop error like "attachment_location". Sometime you need to uninstall this app and restart odoo, install again to take affect.
+add 22. Update online manual and developer document to odoo12.
+Add 21. Reset Account Chart.
+Add 20. Show quick upgrade in app dashboard
+Now ready for Odoo 13,12, please email to me. guohuadeng@hotmail.com
+Fix Login bug when install website.
+Add 19. One Click to clear all data (Sometime pls click twice)
+Add 18. Show/Hide Author and Website in Apps Dashboard
++ odooai.cn Awesome Odoo + Addons +
+此模块用于 OEM 你的 odoo,增加自己公司的 Logo 相关信息及版权相关信息。
+
+ 便于快速开发、快速培训、可速查找odoo帮助文档。也可以方便的进行odoo数据清理与重置。
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Before
+
+ After uncheck "Show Author in Apps Dashboard"
+
+ No more redirect to odoo.com
+
+ You can find the pictures in "\app-odoo\app_odoo_customize\static\src\img\flags"
+
+
+ You can quickly delete all the test data in Apps: Sales/POS/Purchase/MRP/Inventory/Accounting/Message/Workflow etc.
+
+
+