diff --git a/app_odoo_customize/__manifest__.py b/app_odoo_customize/__manifest__.py index f5822ccf..5b3c6495 100644 --- a/app_odoo_customize/__manifest__.py +++ b/app_odoo_customize/__manifest__.py @@ -16,14 +16,15 @@ # description: { 'name': 'App Odoo Customize(Backend Debranding Title,Language,Documentation,Quick Debug,Clear Data)', - 'version': '12.0.10.10', + 'version': '12.0.11.08', 'author': 'Sunpop.cn', 'category': 'Productivity', 'website': 'http://www.sunpop.cn', 'license': 'AGPL-3', 'sequence': 2, 'summary': """ - Keyword: odoo debrand, odoo debranding, customize my odoo. Quick customize and debranding. Quick debug, Language Switcher, Online Documentation Access,data clearing,Delete data. + odoo debrand, odoo debranding, customize my odoo. + Quick customize and debranding. Quick debug, Language Switcher, Online Documentation Access,data clearing,Delete data.reset account chart. """, 'description': """ @@ -51,6 +52,8 @@ You can config odoo, make it look like your own platform. 17. Stop Odoo Auto Subscribe(Performance Improve) 18. Show/Hide Author and Website in Apps Dashboard 19. One Click to clear all data (Sometime pls click twice) +20. Show quick upgrade in app dashboard, click to show module info not go to odoo.com +21. Can clear and reset account chart. Be cautious. This module can help to white label the Odoo. Also helpful for training and support for your odoo end-user. diff --git a/app_odoo_customize/data/res_groups.xml b/app_odoo_customize/data/res_groups.xml index 8597adc6..c4ae9968 100644 --- a/app_odoo_customize/data/res_groups.xml +++ b/app_odoo_customize/data/res_groups.xml @@ -1,10 +1,19 @@ - - Show Author and Website in Apps Dashboard + Show Author in Apps Dashboard + + Show Quick Upgrade in Apps Dashboard + + + + + + + \ No newline at end of file diff --git a/app_odoo_customize/i18n/zh_CN.po b/app_odoo_customize/i18n/zh_CN.po index 2af1e5b0..bbcb3558 100644 --- a/app_odoo_customize/i18n/zh_CN.po +++ b/app_odoo_customize/i18n/zh_CN.po @@ -4,10 +4,10 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0alpha1\n" +"Project-Id-Version: Odoo Server 12.0+e-20181008\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-09-23 05:18+0000\n" -"PO-Revision-Date: 2018-09-23 05:18+0000\n" +"POT-Creation-Date: 2018-11-07 18:42+0000\n" +"PO-Revision-Date: 2018-11-07 18:42+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -15,60 +15,70 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" -#. module: base -#: model:ir.module.module,summary:base.module_app_odoo_customize -msgid "Keyword: odoo debrand, odoo debranding, customize my odoo. Quick customize and debranding your own Odoo. Quick debug, Language Switcher, Online Documentation Access,Delete test data." -msgstr "快速定制你的odoo" - #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "Accounting" -msgstr "会计" +msgstr "财务" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "All Business" -msgstr "所有业务" +msgstr "所有业务" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "Base Models" -msgstr "基础模型数据" +msgstr "基础模型数据" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "Inventory" -msgstr "库存" +msgstr "库存" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "MRP" -msgstr "制造" +msgstr "生产" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "POS" -msgstr "POS" +msgstr "" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "Project" -msgstr "项目" +msgstr "项目" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "Purchase" -msgstr "采购" +msgstr "采购" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "Sale" -msgstr "销售" +msgstr "销售" #. module: app_odoo_customize #: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__unsplash_access_key msgid "Access Key" -msgstr "Access Key" +msgstr "访问秘钥" + +#. module: app_odoo_customize +#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__module_account_predictive_bills +msgid "Account Predictive Bills" +msgstr "预付账单科目" + +#. module: app_odoo_customize +#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__module_account_taxcloud +msgid "Account TaxCloud" +msgstr "科目税" + +#. module: app_odoo_customize +#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__module_account_accountant +msgid "Accounting" +msgstr "财务" #. module: app_odoo_customize #. openerp-web @@ -84,23 +94,18 @@ msgstr "激活开发者模式" msgid "Activate the developer mode (with assets)" msgstr "激活开发者模式 (前端资源)" -#. module: app_odoo_customize -#: model:ir.model.fields,help:app_odoo_customize.field_app_theme_config_settings__group_multi_currency -msgid "Allows to work in a multi currency environment" -msgstr "允许在多货币环境中使用" - #. module: app_odoo_customize #: model:ir.model,name:app_odoo_customize.model_app_theme_config_settings -msgid "Odoo Customize settings" -msgstr "Odoo 定制化" +msgid "App Odoo Customize settings" +msgstr "App Odoo 自定义设置" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "Apply" msgstr "应用" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "Cancel" msgstr "取消" @@ -110,9 +115,9 @@ msgid "Check to stop Odoo Subscribe function" msgstr "选中可停止odoo内置的用户消息订阅" #. module: app_odoo_customize -#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__company_id -msgid "Company" -msgstr "公司" +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +msgid "Clean and reset Account Chart" +msgstr "清除会计科目,便于重置" #. module: app_odoo_customize #: model:ir.actions.act_window,name:app_odoo_customize.action_app_theme_config @@ -121,7 +126,7 @@ msgid "Customize Debrand" msgstr "定制我的odoo" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "Data Cleaning (Be careful to do that!)" msgstr "数据清理(请谨慎操作!)" @@ -133,270 +138,301 @@ msgid "Deactivate the developer mode" msgstr "取消激活开发者模式" #. module: app_odoo_customize -#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__user_default_rights -msgid "Deactivate the developer mode" -msgstr "取消激活开发者模式" - -#. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "Delete All BOM" msgstr "删除所有物料清单" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "Delete All MRP/Sale/Purchase/Account/MRP/Inventory/Project/Message/Workflow" msgstr "清除所有业务数据 MRP/Sale/Purchase/Account/MRP/Inventory/Project/Message/Workflow" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "Delete All Manufacturing Order" msgstr "删除所有生产单" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "Delete All Message" msgstr "删除所有消息" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "Delete All Move/Picking/Package/Lot" msgstr "删除所有库存调拨/拣货/包装/批次数据" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "Delete All POS Order" msgstr "删除所有POS订单" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "Delete All Product" msgstr "删除所有产品及变体" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "Delete All Product Attribute" msgstr "删除所有产品属性" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "Delete All Project/Task/Forecast" msgstr "删除所有项目/任务/预测" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "Delete All Purchase Order and Requisition" msgstr "删除所有询价单、采购单,采购招标" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "Delete All Sales Order" msgstr "删除所有报价单、销售单" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "Delete All Voucher/Invoice/Bill" msgstr "删除所有收据/发票/账单" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "Delete All Workflow" msgstr "删除所有工作流" #. module: app_odoo_customize -#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_documentation_dev_url +#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__app_documentation_dev_url msgid "Developer Documentation Url" msgstr "开发者手册链接" #. module: app_odoo_customize #. openerp-web -#: code:addons/app_odoo_customize/static/src/xml/customize_user_menu.xml:16 +#: code:addons/app_odoo_customize/static/src/xml/customize_user_menu.xml:10 #, python-format msgid "Developer Manual" msgstr "开发者手册" #. module: app_odoo_customize -#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_display_name +#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__display_name msgid "Display Name" msgstr "显示名称" -#. module: app_odoo_customize -#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__external_report_layout_id -msgid "Document Template" -msgstr "文档模板" - #. module: app_odoo_customize #: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__app_documentation_url msgid "Documentation Url" msgstr "用户手册链接" #. module: app_odoo_customize -#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_account_title +#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__app_account_title msgid "My Odoo.com Account Title" msgstr "我的帐户显示标题" #. module: app_odoo_customize -#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_account_url +#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__app_account_url msgid "My Odoo.com Account Url" msgstr "我的帐户链接" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings -msgid "Please confirm to delete the select data?" -msgstr "确认删除指定数据?" - -#. module: app_odoo_customize -#: model:ir.model.fields,help:app_odoo_customize.field_app_theme_config_settings__app_system_name -msgid "Setup System Name,which replace Odoo" -msgstr "设置系统名称,取代 Odoo" - -#. module: app_odoo_customize -#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_group_show_author_in_apps +#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__group_show_author_in_apps #: model:res.groups,name:app_odoo_customize.group_show_author_in_apps -msgid "Show Author and Website in Apps Dashboard" -msgstr "显示应用的作者和网站-在应用安装面板中" +msgid "Show Author in Apps Dashboard" +msgstr "显示应用的作者-在安装面板中" #. module: app_odoo_customize -#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_show_documentation_dev +#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__app_show_documentation_dev msgid "Show Developer Documentation" msgstr "显示开发者文档" #. module: app_odoo_customize -#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_show_documentation +#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__app_show_documentation msgid "Show Documentation" msgstr "显示文档" -#. module: app_odoo_customize -#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__show_effect -msgid "Show Effect" -msgstr "" - #. module: app_odoo_customize #: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__app_show_enterprise msgid "Show Enterprise Tag" msgstr "显示升级企业版标签提醒" #. module: app_odoo_customize -#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_show_account +#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__app_show_account msgid "Show My Account" msgstr "显示我的帐户" #. module: app_odoo_customize -#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_show_poweredby +#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__app_show_poweredby msgid "Show Powered by Odoo" msgstr "显示Powered by Odoo" #. module: app_odoo_customize -#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_show_debug +#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__app_show_debug msgid "Show Quick Debug" msgstr "显示快速调试" #. module: app_odoo_customize -#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_show_lang +#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__app_show_lang msgid "Show Quick Language Switcher" msgstr "显示快速多语言切换" #. module: app_odoo_customize -#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_show_share +#: model:res.groups,name:app_odoo_customize.group_show_quick_upgrade +msgid "Show Quick Upgrade in Apps Dashboard" +msgstr "在应用面板显示快速升级按键" + +#. module: app_odoo_customize +#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__app_show_share msgid "Show Share Dashboard" msgstr "显示分享Odoo" #. module: app_odoo_customize -#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_show_support +#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__app_show_support msgid "Show Support" msgstr "显示支持" #. module: app_odoo_customize -#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_stop_subscribe +#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__group_show_line_subtotals_tax_included +msgid "Show line subtotals with taxes (B2C)" +msgstr "显示含税明细行在汇总表(B2B)." + +#. module: app_odoo_customize +#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__group_show_line_subtotals_tax_excluded +msgid "Show line subtotals without taxes (B2B)" +msgstr "明细行汇总含税(B2B)." + +#. module: app_odoo_customize +#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__group_product_pricelist +msgid "Show pricelists On Products" +msgstr "显示产品的价目表" + +#. module: app_odoo_customize +#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__group_pricelist_item +msgid "Show pricelists to customers" +msgstr "给客户显示价目表" + +#. module: app_odoo_customize +#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__module_product_email_template +msgid "Specific Email" +msgstr "特定的电子邮件" + +#. module: app_odoo_customize +#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__app_stop_subscribe msgid "Stop Odoo Subscribe(Performance Improve)" msgstr "停用Odoo自动订阅(提高性能)" #. module: app_odoo_customize -#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_support_url +#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__group_stock_multi_locations +msgid "Storage Locations" +msgstr "储存位置" + +#. module: app_odoo_customize +#: model:ir.model.fields,help:app_odoo_customize.field_app_theme_config_settings__group_stock_multi_locations +msgid "Store products in specific locations of your warehouse (e.g. bins, racks) and to track inventory accordingly." +msgstr "将产品存储在你仓库的特定位置(如:箱柜、货架)并据此跟踪库存。" + +#. module: app_odoo_customize +#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__app_support_url msgid "Support Url" msgstr "支持链接" #. module: app_odoo_customize -#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings_app_system_name -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model:ir.model.fields,field_description:app_odoo_customize.field_app_theme_config_settings__app_system_name +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "System Name" msgstr "系统名称" #. module: app_odoo_customize #: model:ir.model.fields,help:app_odoo_customize.field_app_theme_config_settings__group_show_author_in_apps msgid "Uncheck to Hide Author and Website in Apps Dashboard" -msgstr "" +msgstr "不选中则会隐藏 App 作者及网站" #. module: app_odoo_customize #: model:ir.model.fields,help:app_odoo_customize.field_app_theme_config_settings__app_show_enterprise msgid "Uncheck to hide the Enterprise tag" -msgstr "" +msgstr "不选中则会隐藏升级到企业版标签" #. module: app_odoo_customize #: model:ir.model.fields,help:app_odoo_customize.field_app_theme_config_settings__app_show_share msgid "Uncheck to hide the Odoo Share Dashboard" -msgstr "" +msgstr "不选中则会隐藏odoo分享" #. module: app_odoo_customize -#: model:ir.model.fields,help:app_odoo_customize.field_app_theme_config_settings_app_show_poweredby +#: model:ir.model.fields,help:app_odoo_customize.field_app_theme_config_settings__app_show_poweredby msgid "Uncheck to hide the Powered by text" msgstr "不勾选则不显示Odoo Powered by" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model:ir.model.fields,help:app_odoo_customize.field_app_theme_config_settings__group_show_quick_upgrade +msgid "Uncheck to show normal install in Apps Dashboard" +msgstr "不选中则显示常规安装" + +#. module: app_odoo_customize +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.app_module_view_kanban +msgid "Uninstall" +msgstr "卸载" + +#. module: app_odoo_customize +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.app_module_view_kanban +msgid "Upgrade" +msgstr "升级" + +#. module: app_odoo_customize +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "User Menu" msgstr "用户菜单" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "User Menu Content" msgstr "菜单项具体操作设置" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "Visit our website for more apps and Support. http://www.sunpop.cn" msgstr "请访问我们的网站获取更多支持. http://www.sunpop.cn" #. module: app_odoo_customize -#: model:ir.model.fields,help:app_odoo_customize.field_app_theme_config_settings_app_show_account +#: model:ir.model.fields,help:app_odoo_customize.field_app_theme_config_settings__app_show_account msgid "When enable,User can login to your website" msgstr "启用后,会显示登录到你的网站" #. module: app_odoo_customize -#: model:ir.model.fields,help:app_odoo_customize.field_app_theme_config_settings_app_show_lang +#: model:ir.model.fields,help:app_odoo_customize.field_app_theme_config_settings__app_show_lang msgid "When enable,User can quick switch language in user menu" msgstr "启用后,会显示快速语言切换菜单" #. module: app_odoo_customize -#: model:ir.model.fields,help:app_odoo_customize.field_app_theme_config_settings_app_show_documentation_dev +#: model:ir.model.fields,help:app_odoo_customize.field_app_theme_config_settings__app_show_documentation_dev msgid "When enable,User can visit development documentation" msgstr "启用后,会显示开发手册链接" #. module: app_odoo_customize -#: model:ir.model.fields,help:app_odoo_customize.field_app_theme_config_settings_app_show_documentation +#: model:ir.model.fields,help:app_odoo_customize.field_app_theme_config_settings__app_show_documentation msgid "When enable,User can visit user manual" msgstr "启用后,会显示用户手册链接" #. module: app_odoo_customize -#: model:ir.model.fields,help:app_odoo_customize.field_app_theme_config_settings_app_show_support +#: model:ir.model.fields,help:app_odoo_customize.field_app_theme_config_settings__app_show_support msgid "When enable,User can vist your support site" msgstr "启用后,会显示在线支持链接" #. module: app_odoo_customize -#: model:ir.model.fields,help:app_odoo_customize.field_app_theme_config_settings_app_show_debug +#: model:ir.model.fields,help:app_odoo_customize.field_app_theme_config_settings__app_show_debug msgid "When enable,everyone login can see the debug menu" msgstr "启用后,会显示快速调试菜单" #. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model:ir.model.fields,help:app_odoo_customize.field_app_theme_config_settings__totals_below_sections +msgid "When ticked, totals and subtotals appear below the sections of the report." +msgstr "勾选后,总计和小计会显示在报表的下一节。" + +#. module: app_odoo_customize +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "White Label Setting" msgstr "个性化odoo设置" #. module: app_odoo_customize -#: model:ir.model,name:app_odoo_customize.model_ir_ui_view -msgid "ir.ui.view" -msgstr "" - -#. module: app_odoo_customize -#: model:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings msgid "odooApp Customize Settings" msgstr "odooApp 定制化设置" + diff --git a/app_odoo_customize/models/__init__.py b/app_odoo_customize/models/__init__.py index 6de04395..6f56315c 100644 --- a/app_odoo_customize/models/__init__.py +++ b/app_odoo_customize/models/__init__.py @@ -2,5 +2,5 @@ from . import app_theme_config_settings from . import ir_ui_view -from . import base_language_install +# from . import base_language_install # from . import mail_thread diff --git a/app_odoo_customize/models/app_theme_config_settings.py b/app_odoo_customize/models/app_theme_config_settings.py index 60b16179..35369225 100644 --- a/app_odoo_customize/models/app_theme_config_settings.py +++ b/app_odoo_customize/models/app_theme_config_settings.py @@ -2,7 +2,7 @@ import logging -from openerp import api, fields, models, _ +from odoo import api, fields, models, _ _logger = logging.getLogger(__name__) @@ -25,7 +25,7 @@ class AppThemeConfigSettings(models.TransientModel): app_show_share = fields.Boolean('Show Share Dashboard', help=u"Uncheck to hide the Odoo Share Dashboard") app_show_poweredby = fields.Boolean('Show Powered by Odoo', help=u"Uncheck to hide the Powered by text") app_stop_subscribe = fields.Boolean('Stop Odoo Subscribe(Performance Improve)', help=u"Check to stop Odoo Subscribe function") - group_show_author_in_apps = fields.Boolean(string="Show Author and Website in Apps Dashboard", implied_group='app_odoo_customize.group_show_author_in_apps', + group_show_author_in_apps = fields.Boolean(string="Show Author in Apps Dashboard", implied_group='app_odoo_customize.group_show_author_in_apps', help=u"Uncheck to Hide Author and Website in Apps Dashboard") app_documentation_url = fields.Char('Documentation Url') @@ -412,6 +412,39 @@ class AppThemeConfigSettings(models.TransientModel): pass # raise Warning(e) return True + @api.multi + def remove_account_chart(self): + to_removes = [ + # 清除财务科目,用于重设 + ['account.tax.account.tag', ], + ['account.tax', ], + ['account.account.account.tag', ], + ['wizard_multi_charts_accounts'], + ['account.account', ], + ['account.journal', ], + ] + try: + for line in to_removes: + obj_name = line[0] + obj = self.pool.get(obj_name) + if obj: + sql = "delete from %s" % obj._table + self._cr.execute(sql) + + # reset default tax,不管多公司 + field1 = self.env['ir.model.fields']._get('product.template', "taxes_id").id + field2 = self.env['ir.model.fields']._get('product.template', "supplier_taxes_id").id + + sql = ("delete from ir_default where field_id = %s or field_id = %s") % (field1, field2) + self._cr.execute(sql) + + sql = "update res_company set chart_template_id=null ;" + self._cr.execute(sql) + # 更新序号 + except Exception as e: + pass + return True + @api.multi def remove_project(self): to_removes = [ diff --git a/app_odoo_customize/models/base_language_install.py b/app_odoo_customize/models/base_language_install.py index 727dd549..79549656 100644 --- a/app_odoo_customize/models/base_language_install.py +++ b/app_odoo_customize/models/base_language_install.py @@ -2,7 +2,7 @@ # Copyright 2017 Jarvis (www.odoomod.com) # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). -from openerp import api, fields, models, _ +from odoo import api, fields, models, _ class BaseLanguageInstall(models.TransientModel): diff --git a/app_odoo_customize/models/ir_ui_view.py b/app_odoo_customize/models/ir_ui_view.py index dfed0827..632653f7 100644 --- a/app_odoo_customize/models/ir_ui_view.py +++ b/app_odoo_customize/models/ir_ui_view.py @@ -2,7 +2,7 @@ import logging -from openerp import api, fields, models, _ +from odoo import api, fields, models, _ _logger = logging.getLogger(__name__) diff --git a/app_odoo_customize/models/mail_thread.py b/app_odoo_customize/models/mail_thread.py index 3e979303..a570f7e6 100644 --- a/app_odoo_customize/models/mail_thread.py +++ b/app_odoo_customize/models/mail_thread.py @@ -2,7 +2,7 @@ # Copyright 2017 Jarvis (www.odoomod.com) # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). -from openerp import api, fields, models, _ +from odoo import api, fields, models, _ class MailThread(models.AbstractModel): diff --git a/app_odoo_customize/readme.md b/app_odoo_customize/readme.md index e333b138..38bec408 100644 --- a/app_odoo_customize/readme.md +++ b/app_odoo_customize/readme.md @@ -1,7 +1,7 @@ ##App Odoo Customize(Debranding Title,Language,Documentation,Quick Debug,Quick Data Clear) ============ White label odoo. -Support Odoo 12, 11, 10, 9. +Support Odoo 12, 11, 10, 9. Including communicate and enterprise version. You can config odoo, make it look like your own platform. 1. Deletes Odoo label in footer 2. Replaces "Odoo" in Windows title @@ -21,7 +21,9 @@ You can config odoo, make it look like your own platform. 16. Fix odoo reload module translation bug while enable english language 17. Stop Odoo Auto Subscribe(Performance Improve) 18. Show/Hide Author and Website in Apps Dashboard (odoo 11 only) -19. Set System Icon (odoo 10 only) +19. One Click to clear all data (Sometime pls click twice) +20. Show quick upgrade in app dashboard + This module can help to white label the Odoo. Also helpful for training and support for your odoo end-user. The user can get the help document just by one click. @@ -31,6 +33,8 @@ http://www.sunpop.cn ## 在符合odoo开源协议的前提下,去除odoo版权信息,自定义你的odoo 可完全自行设置下列 odoo 选项,让 odoo 看上去像是你的软件产品 +支持odoo 12, 11, 10, 9 版本,社区版企业版通用 + 1. 删除菜单导航页脚的 Odoo 标签 2. 将弹出窗口中 "Odoo" 设置为自定义名称 3. 自定义用户菜单中的 Documentation, Support, About 的链接 @@ -50,10 +54,13 @@ http://www.sunpop.cn 17. 可停用odoo自动订阅功能,避免“同样对象关注2次”bug,同时提升性能 18. 显示/隐藏应用的作者和网站-在应用安装面板中 19. 一键清除所有数据(视当前数据情况,有时需点击2次) +20. 在应用面板显示快速升级按键 +21. 清除并重置会计科目表 使用方法:将解压后的 app_odoo_customize 放到 odoo的 addons目录下,激活开发者模式,应用-->更新应用列表, 找到 "App odoo Customize"模块,安装即可。 + ## 其它技术资源: #### odoo10-windows64位高性能最新绿色版下载及制作方法-提速50% http://www.sunpop.cn/odoo10_fast_x64_download/ diff --git a/app_odoo_customize/static/description/banner.png b/app_odoo_customize/static/description/banner.png index 6bd0fba1..29cdfe57 100644 Binary files a/app_odoo_customize/static/description/banner.png and b/app_odoo_customize/static/description/banner.png differ diff --git a/app_odoo_customize/static/description/cnreadme.png b/app_odoo_customize/static/description/cnreadme.png index 441c4b99..eba763d7 100644 Binary files a/app_odoo_customize/static/description/cnreadme.png and b/app_odoo_customize/static/description/cnreadme.png differ diff --git a/app_odoo_customize/static/description/index.html b/app_odoo_customize/static/description/index.html index db63794a..5d1ed91b 100644 --- a/app_odoo_customize/static/description/index.html +++ b/app_odoo_customize/static/description/index.html @@ -1,37 +1,50 @@ -
+

App Odoo Customize

This moduld allows user to quickly customize and debranding Odoo. Quick debug, Language Switcher, Online Documentation Access,Quick Data Clear.

-

Lastest update: v12.0.10.10

-

Support for odoo 12.

-

More Powerful addons: - Sunpop.cn Addons -

+

Support Odoo 12, 11, 10, 9. Including communicate and enterprise version.

+

Update: v11.0.11.08

+

Add 21. Reset Account Chart.

+

Update: v11.0.9.30

+

Add 20. Show quick upgrade in app dashboard

+

Update: v11.0.9.25

+

Now ready for odoo 12, please email to me. guohuadeng@hotmail.com

+

Update: v11.0.7.23

+

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

+
+

More Powerful addons:

+ +

-

Odoo 12, 11, 10, 9 Support

-
    -
  • 1. Deletes Odoo label in footer
  • -
  • 2. Replaces "Odoo" in Windows title
  • -
  • 3. Customize Documentation, Support, About links and title in usermenu
  • -
  • 4. Adds "Developer mode" link to the top right-hand User Menu.
  • -
  • 5. Adds Quick Language Switcher to the top right-hand User Menu.
  • -
  • 6. Adds Country flags to the top right-hand User Menu.
  • -
  • 7. Adds English and Chinese user documentation access to the top right-hand User Menu.
  • -
  • 8. Adds developer documentation access to the top right-hand User Menu.
  • -
  • 9. Customize "My odoo.com account" button
  • -
  • 10. Standalone setting panel, easy to setup.
  • -
  • 11. Provide 236 country flags.
  • -
  • 12. Multi-language Support.
  • -
  • 13. Change Powered by Odoo in login screen.(Please change '../views/app_odoo_customize_view.xml' #15)
  • -
  • 14. Quick delete test data in Apps: Sales/POS/Purchase/MRP/Inventory/Accounting/Project/Base Models.
  • -
  • 15. Reset All the Sequence to beginning of 1: SO/PO/MO/Invoice...
  • -
  • 16. Fix odoo reload module translation bug while enable english language
  • -
  • 17. Stop Odoo Auto Subscribe(Performance Improve)
  • -
  • 18. Show/Hide Author and Website in Apps Dashboard (odoo 11 only)
  • -
  • 19. One Click to clear all data (Sometime pls click twice)
  • +

    Add Odoo 12, 11 Support

    +
      +
    • 1. Deletes Odoo label in footer
    • +
    • 2. Replaces "Odoo" in Windows title
    • +
    • 3. Customize Documentation, Support, About links and title in usermenu
    • +
    • 4. Adds "Developer mode" link to the top right-hand User Menu.
    • +
    • 5. Adds Quick Language Switcher to the top right-hand User Menu.
    • +
    • 6. Adds Country flags to the top right-hand User Menu.
    • +
    • 7. Adds English and Chinese user documentation access to the top right-hand User Menu.
    • +
    • 8. Adds developer documentation access to the top right-hand User Menu.
    • +
    • 9. Customize "My odoo.com account" button
    • +
    • 10. Standalone setting panel, easy to setup.
    • +
    • 11. Provide 236 country flags.
    • +
    • 12. Multi-language Support.
    • +
    • 13. Change Powered by Odoo in login screen.(Please change '../views/app_odoo_customize_view.xml' #15)
    • +
    • 14. Quick delete test data in Apps: Sales/POS/Purchase/MRP/Inventory/Accounting/Project/Base Models.
    • +
    • 15. Reset All the Sequence to beginning of 1: SO/PO/MO/Invoice...
    • +
    • 16. Fix odoo reload module translation bug while enable english language
    • +
    • 17. Stop Odoo Auto Subscribe(Performance Improve)
    • +
    • 18. Show/Hide Author and Website in Apps Dashboard (odoo 11 only)
    • +
    • 19. One Click to clear all data (Sometime pls click twice)
    • +
    • 20. Set System Icon (odoo 10 only)

    This module can help to white label the Odoo. @@ -77,7 +90,7 @@

    How to use: Go to Settings -> odooApp Settings

- +
@@ -103,7 +116,7 @@
-

After uncheck "Show Author and Website in Apps Dashboard"

+

After uncheck "Show Author in Apps Dashboard"


@@ -129,7 +142,7 @@

You can quickly delete all the test data in Apps: Sales/POS/Purchase/MRP/Inventory/Accounting/Message/Workflow etc.

- +
diff --git a/app_odoo_customize/static/description/set1.jpg b/app_odoo_customize/static/description/set1.jpg index 8b671010..f5e378f2 100644 Binary files a/app_odoo_customize/static/description/set1.jpg and b/app_odoo_customize/static/description/set1.jpg differ diff --git a/app_odoo_customize/static/description/set12.png b/app_odoo_customize/static/description/set12.png index bda7ea1b..5a2a0e50 100644 Binary files a/app_odoo_customize/static/description/set12.png and b/app_odoo_customize/static/description/set12.png differ diff --git a/app_odoo_customize/static/description/set3.jpg b/app_odoo_customize/static/description/set3.jpg index d1285f3a..18e543d4 100644 Binary files a/app_odoo_customize/static/description/set3.jpg and b/app_odoo_customize/static/description/set3.jpg differ diff --git a/app_odoo_customize/views/app_theme_config_settings_view.xml b/app_odoo_customize/views/app_theme_config_settings_view.xml index ea52a1b2..5c71fd67 100644 --- a/app_odoo_customize/views/app_theme_config_settings_view.xml +++ b/app_odoo_customize/views/app_theme_config_settings_view.xml @@ -132,6 +132,9 @@ Accounting + + + + +