diff --git a/app_account_invoice_product_multi_add/views/account_move_views.xml b/app_account_invoice_product_multi_add/views/account_move_views.xml index b91ab246..add2fb15 100644 --- a/app_account_invoice_product_multi_add/views/account_move_views.xml +++ b/app_account_invoice_product_multi_add/views/account_move_views.xml @@ -7,7 +7,7 @@ - - + - + @@ -23,11 +23,11 @@ - + - + @@ -38,11 +38,11 @@ - + - + @@ -53,12 +53,12 @@ - + - + diff --git a/app_base_chinese/__manifest__.py b/app_base_chinese/__manifest__.py index e09f5447..f1769889 100644 --- a/app_base_chinese/__manifest__.py +++ b/app_base_chinese/__manifest__.py @@ -18,7 +18,7 @@ { 'name': "App base chinese,中国化基本模块增强", - 'version': '13.20.03.19', + 'version': '13.20.04.11', 'author': 'Sunpop.cn', 'category': 'Base', 'website': 'https://www.sunpop.cn', @@ -29,6 +29,7 @@ 'summary': """ Chinese enhance. Out of the box use in china. Set all chinese default value. + Add quick set of english name. Default country, timezone, currency, partner... """, 'description': """ @@ -39,13 +40,14 @@ 3. 客户地址显示增加手机号与电话号码 4. 货币处理,增加排序显示 5. 用户名支持翻译(可能会增加复杂度,后续看) - 6. 修正产品类别的列表及m2o字段中不显示中文目录名的Bug + 6. 修正品类的列表及m2o字段中不显示中文目录名的Bug 7. 修正仓库位置的列表及m2o字段中不显示中文目录名的Bug 8. 超级用户改时区为 中国 9. 时间格式年月日为 2019-12-30,时间为 22:10 10. 国家增加排序,中国排第一 11. 收款相关显示中国习惯 - 12. 翻译导出默认中文,默认po + 12. 翻译导出默认中文,默认po + 13. 在 base 模型增加 name_en_US 字段,赋值后同时改翻译值 21. todo:中文演示数据(只有demo模式才加载) """, 'pre_init_hook': 'pre_init_hook', @@ -65,7 +67,6 @@ 'views/templates.xml', 'wizard/sale_make_invoice_advance_views.xml', 'data/ir_default_data.xml', - 'data/ir_sequence_data.xml', 'data/base_data.xml', 'data/res_country_data.xml', 'data/res_currency_data.xml', diff --git a/app_base_chinese/data/ir_sequence_data.xml b/app_base_chinese/data/ir_sequence_data.xml deleted file mode 100644 index 20ef70f3..00000000 --- a/app_base_chinese/data/ir_sequence_data.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - 产品目录常规编号规则 - product.category.seq.normal - CAT - 4 - - - diff --git a/app_base_chinese/i18n/zh_CN.po b/app_base_chinese/i18n/zh_CN.po index c05fd86d..f254f57e 100644 --- a/app_base_chinese/i18n/zh_CN.po +++ b/app_base_chinese/i18n/zh_CN.po @@ -6,15 +6,24 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 13.0+e\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-01-18 15:21+0000\n" -"PO-Revision-Date: 2020-01-18 23:22+0800\n" +"POT-Creation-Date: 2020-04-10 18:20+0000\n" +"PO-Revision-Date: 2020-04-10 18:20+0000\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" +"Content-Transfer-Encoding: \n" "Plural-Forms: \n" -"X-Generator: Poedit 1.7.7\n" + +#. module: app_base_chinese +#: model:ir.model.fields,field_description:app_base_chinese.field_account_tax_group__active +msgid "Active" +msgstr "激活" + +#. module: app_base_chinese +#: model:ir.model,name:app_base_chinese.model_base +msgid "Base" +msgstr "基础" #. module: app_base_chinese #: model:ir.model.fields,field_description:app_base_chinese.field_product_category__complete_name @@ -41,11 +50,23 @@ msgstr "币种" msgid "Determine the display order. Sort ascending." msgstr "决定显示顺序,数字越小排序越前" +#. module: app_base_chinese +#: model:ir.model.fields,field_description:app_base_chinese.field_res_partner__name_en_US +#: model:ir.model.fields,field_description:app_base_chinese.field_res_users__name_en_US +msgid "English Name" +msgstr "英文名" + #. module: app_base_chinese #: model_terms:ir.ui.view,arch_db:app_base_chinese.app_view_sale_advance_payment_inv msgid "FaPiao / Invoice Orders" msgstr "创建收据/发票" +#. module: app_base_chinese +#: model:ir.model.fields,field_description:app_base_chinese.field_res_partner__fax +#: model:ir.model.fields,field_description:app_base_chinese.field_res_users__fax +msgid "Fax" +msgstr "传真" + #. module: app_base_chinese #: model:ir.model.fields,field_description:app_base_chinese.field_stock_location__complete_name msgid "Full Location Name" @@ -87,8 +108,23 @@ msgstr "产品类别" msgid "Sequence" msgstr "单号规则" +#. module: app_base_chinese +#: model:ir.model.fields,help:app_base_chinese.field_account_tax_group__active +msgid "Set active to false to hide the tax without removing it." +msgstr "请不要删除指定税率,可以将其归档。" + #. module: app_base_chinese #: model:ir.model.fields,field_description:app_base_chinese.field_res_partner__short_name #: model:ir.model.fields,field_description:app_base_chinese.field_res_users__short_name msgid "Short Name" msgstr "简称" + +#. module: app_base_chinese +#: model:ir.model,name:app_base_chinese.model_account_tax_group +msgid "Tax Group" +msgstr "税组" + +#. module: app_base_chinese +#: model:ir.sequence,name:app_base_chinese.sequence_product_category_normal +msgid "产品目录常规编号规则" +msgstr "" diff --git a/app_base_chinese/models/__init__.py b/app_base_chinese/models/__init__.py index 423324f5..9ab3b890 100644 --- a/app_base_chinese/models/__init__.py +++ b/app_base_chinese/models/__init__.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- +from . import base from . import res_partner from . import res_currency from . import product_category diff --git a/app_base_chinese/models/base.py b/app_base_chinese/models/base.py new file mode 100644 index 00000000..a1fa4774 --- /dev/null +++ b/app_base_chinese/models/base.py @@ -0,0 +1,46 @@ +# -*- coding: utf-8 -*- + +import logging + +from odoo import api, fields, models, _ + +_logger = logging.getLogger(__name__) + + +class Base(models.AbstractModel): + _inherit = 'base' + + # name_en_US 只要某个模型有此字段,且放在界面上,就会进行此处理 + # 无此字段不处理 + + # todo: 为了性能,暂时不在 create 时处理 + # todo: create_multi ? + # todo: 在 ir.translation 中处理以提高性能, 或反向写回 + @api.model + def create(self, vals): + name_field = self._fields.get("name") + name_en_field = self._fields.get("name_en_US") + name_en_US = None + if name_field and name_field.translate and name_field.type in ["char", "text"] \ + and name_en_field and name_en_field.type in["char", "text"] and 'name_en_US' in vals: + name_en_US = vals.get('name_en_US') + rec = super(Base, self).create(vals) + if name_en_US: + try: + rec.with_context(lang='en_US').name = name_en_US + except Exception as e: + pass + return rec + + def write(self, vals): + name_field = self._fields.get("name") + name_en_field = self._fields.get("name_en_US") + if name_field and name_field.translate and name_field.type in ["char", "text"] \ + and name_en_field and name_en_field.type in["char", "text"] and 'name_en_US' in vals: + name_en_US = vals.get('name_en_US') + if name_en_US != None: + try: + self.with_context(lang='en_US').write(dict(name=name_en_US)) + except Exception as e: + pass + return super(Base, self).write(vals) diff --git a/app_base_chinese/models/res_partner.py b/app_base_chinese/models/res_partner.py index e932ab3f..310cf4c7 100644 --- a/app_base_chinese/models/res_partner.py +++ b/app_base_chinese/models/res_partner.py @@ -8,6 +8,7 @@ class ResPartner(models.Model): _inherit = 'res.partner' name = fields.Char(index=True, translate=True) + name_en_US = fields.Char('English Name') short_name = fields.Char('Short Name') # 简称 fax = fields.Char('Fax') # 简称 diff --git a/app_base_chinese/static/description/index.html b/app_base_chinese/static/description/index.html index cf70572e..3f59ff52 100644 --- a/app_base_chinese/static/description/index.html +++ b/app_base_chinese/static/description/index.html @@ -4,7 +4,7 @@

App base chinese. Local customize for china user

Set all chinese default value. Like Default country, timezone, currency, partner...

-

Lastest update: v12.19.3.04

+

Lastest update: v13.20.04.11

diff --git a/app_base_chinese/views/res_partner_views.xml b/app_base_chinese/views/res_partner_views.xml index 25ab25d2..5b5a22b1 100644 --- a/app_base_chinese/views/res_partner_views.xml +++ b/app_base_chinese/views/res_partner_views.xml @@ -13,6 +13,7 @@ + diff --git a/app_base_superbar/__manifest__.py b/app_base_superbar/__manifest__.py index aa823841..ba73141e 100644 --- a/app_base_superbar/__manifest__.py +++ b/app_base_superbar/__manifest__.py @@ -17,7 +17,7 @@ { 'name': "Easy Admin navigator, quick search filter", - 'version': '13.19.10.16', + 'version': '13.20.04.06', 'author': 'Sunpop.cn', 'category': 'Base', 'website': 'https://www.sunpop.cn', diff --git a/app_base_superbar/views/ir_actions_act_window_views.xml b/app_base_superbar/views/ir_actions_act_window_views.xml index 5242246e..f5f6f63f 100644 --- a/app_base_superbar/views/ir_actions_act_window_views.xml +++ b/app_base_superbar/views/ir_actions_act_window_views.xml @@ -6,10 +6,10 @@ - + - + diff --git a/app_base_superbar/views/ir_actions_actions_views.xml b/app_base_superbar/views/ir_actions_actions_views.xml index 6cbd7ccd..1108cc20 100644 --- a/app_base_superbar/views/ir_actions_actions_views.xml +++ b/app_base_superbar/views/ir_actions_actions_views.xml @@ -6,10 +6,10 @@ - + - + diff --git a/app_base_superbar/views/ir_actions_report_views.xml b/app_base_superbar/views/ir_actions_report_views.xml index b36725ef..ee0c4e27 100644 --- a/app_base_superbar/views/ir_actions_report_views.xml +++ b/app_base_superbar/views/ir_actions_report_views.xml @@ -6,10 +6,10 @@ - + - + diff --git a/app_base_superbar/views/ir_actions_server_views.xml b/app_base_superbar/views/ir_actions_server_views.xml index f93cb23a..c5f9100e 100644 --- a/app_base_superbar/views/ir_actions_server_views.xml +++ b/app_base_superbar/views/ir_actions_server_views.xml @@ -6,11 +6,11 @@ - + - + diff --git a/app_base_superbar/views/ir_attachment_views.xml b/app_base_superbar/views/ir_attachment_views.xml index 189e6555..4bb99baa 100644 --- a/app_base_superbar/views/ir_attachment_views.xml +++ b/app_base_superbar/views/ir_attachment_views.xml @@ -6,10 +6,10 @@ - + - + diff --git a/app_base_superbar/views/ir_default_views.xml b/app_base_superbar/views/ir_default_views.xml index 3fa40a98..4613e3c0 100644 --- a/app_base_superbar/views/ir_default_views.xml +++ b/app_base_superbar/views/ir_default_views.xml @@ -7,9 +7,9 @@ - + - + diff --git a/app_base_superbar/views/ir_model_access_views.xml b/app_base_superbar/views/ir_model_access_views.xml index 60c2a37e..305a2180 100644 --- a/app_base_superbar/views/ir_model_access_views.xml +++ b/app_base_superbar/views/ir_model_access_views.xml @@ -6,10 +6,10 @@ - + - + diff --git a/app_base_superbar/views/ir_model_constraint_views.xml b/app_base_superbar/views/ir_model_constraint_views.xml index 3640511e..9974646e 100644 --- a/app_base_superbar/views/ir_model_constraint_views.xml +++ b/app_base_superbar/views/ir_model_constraint_views.xml @@ -7,10 +7,10 @@ - + - + diff --git a/app_base_superbar/views/ir_model_fields_views.xml b/app_base_superbar/views/ir_model_fields_views.xml index 3aa2d5dd..5ea7dcd3 100644 --- a/app_base_superbar/views/ir_model_fields_views.xml +++ b/app_base_superbar/views/ir_model_fields_views.xml @@ -6,10 +6,11 @@ - + + - + diff --git a/app_base_superbar/views/ir_ui_menu_views.xml b/app_base_superbar/views/ir_ui_menu_views.xml index 6d950b63..a66dfeae 100644 --- a/app_base_superbar/views/ir_ui_menu_views.xml +++ b/app_base_superbar/views/ir_ui_menu_views.xml @@ -6,9 +6,9 @@ - - - + + + diff --git a/app_base_superbar/views/ir_ui_view_views.xml b/app_base_superbar/views/ir_ui_view_views.xml index e7557206..60a39c76 100644 --- a/app_base_superbar/views/ir_ui_view_views.xml +++ b/app_base_superbar/views/ir_ui_view_views.xml @@ -6,10 +6,10 @@ - + - + diff --git a/app_base_superbar/views/res_groups_views.xml b/app_base_superbar/views/res_groups_views.xml index 97500fc0..9363b2e6 100644 --- a/app_base_superbar/views/res_groups_views.xml +++ b/app_base_superbar/views/res_groups_views.xml @@ -6,9 +6,9 @@ - + - + diff --git a/app_contacts_superbar/views/res_partner_views.xml b/app_contacts_superbar/views/res_partner_views.xml index 75c68e0c..874192c9 100644 --- a/app_contacts_superbar/views/res_partner_views.xml +++ b/app_contacts_superbar/views/res_partner_views.xml @@ -7,7 +7,7 @@ - + @@ -19,7 +19,7 @@ - + diff --git a/app_crm_superbar/views/crm_lead_views.xml b/app_crm_superbar/views/crm_lead_views.xml index 144104c9..9d402d72 100644 --- a/app_crm_superbar/views/crm_lead_views.xml +++ b/app_crm_superbar/views/crm_lead_views.xml @@ -6,12 +6,12 @@ - + - + @@ -21,13 +21,13 @@ - + - + diff --git a/app_hr_superbar/views/hr_views.xml b/app_hr_superbar/views/hr_views.xml index 7f1c6539..831daf52 100644 --- a/app_hr_superbar/views/hr_views.xml +++ b/app_hr_superbar/views/hr_views.xml @@ -7,11 +7,11 @@ - + - + diff --git a/app_mail_superbar/views/mail_channel_partner_views.xml b/app_mail_superbar/views/mail_channel_partner_views.xml index d27ad3f3..9a47c24d 100644 --- a/app_mail_superbar/views/mail_channel_partner_views.xml +++ b/app_mail_superbar/views/mail_channel_partner_views.xml @@ -6,10 +6,10 @@ - + - + diff --git a/app_mail_superbar/views/mail_followers_views.xml b/app_mail_superbar/views/mail_followers_views.xml index 23234eda..e0ed6e90 100644 --- a/app_mail_superbar/views/mail_followers_views.xml +++ b/app_mail_superbar/views/mail_followers_views.xml @@ -7,10 +7,10 @@ - + - + diff --git a/app_mail_superbar/views/mail_mail_views.xml b/app_mail_superbar/views/mail_mail_views.xml index 8bbc0a20..68e59c90 100644 --- a/app_mail_superbar/views/mail_mail_views.xml +++ b/app_mail_superbar/views/mail_mail_views.xml @@ -6,10 +6,10 @@ - + - + diff --git a/app_mail_superbar/views/mail_message_views.xml b/app_mail_superbar/views/mail_message_views.xml index ee5c80e6..6d9567ab 100644 --- a/app_mail_superbar/views/mail_message_views.xml +++ b/app_mail_superbar/views/mail_message_views.xml @@ -6,11 +6,11 @@ - + - + diff --git a/app_mail_superbar/views/mail_tracking_value_views.xml b/app_mail_superbar/views/mail_tracking_value_views.xml index b8decffc..26fc1bba 100644 --- a/app_mail_superbar/views/mail_tracking_value_views.xml +++ b/app_mail_superbar/views/mail_tracking_value_views.xml @@ -6,9 +6,9 @@ - + - + diff --git a/app_module_superbar/views/module_views.xml b/app_module_superbar/views/module_views.xml index 936e5e03..8594621e 100644 --- a/app_module_superbar/views/module_views.xml +++ b/app_module_superbar/views/module_views.xml @@ -7,11 +7,11 @@ - + - + diff --git a/app_mrp_bom_product_multi_add/views/mrp_bom_views.xml b/app_mrp_bom_product_multi_add/views/mrp_bom_views.xml index a6aa4e7c..65702ebe 100644 --- a/app_mrp_bom_product_multi_add/views/mrp_bom_views.xml +++ b/app_mrp_bom_product_multi_add/views/mrp_bom_views.xml @@ -7,8 +7,8 @@ - - + - + - + diff --git a/app_mrp_superbar/views/mrp_production_views.xml b/app_mrp_superbar/views/mrp_production_views.xml index c7a4c23b..bcc2a37b 100644 --- a/app_mrp_superbar/views/mrp_production_views.xml +++ b/app_mrp_superbar/views/mrp_production_views.xml @@ -7,13 +7,13 @@ - + - + diff --git a/app_mrp_superbar/views/mrp_workorder_views.xml b/app_mrp_superbar/views/mrp_workorder_views.xml index 8a0bfd08..6ac8ec6a 100644 --- a/app_mrp_superbar/views/mrp_workorder_views.xml +++ b/app_mrp_superbar/views/mrp_workorder_views.xml @@ -7,10 +7,10 @@ - + - + diff --git a/app_mrp_workcenter_chart/__manifest__.py b/app_mrp_workcenter_chart/__manifest__.py index 77fca457..d6707b49 100644 --- a/app_mrp_workcenter_chart/__manifest__.py +++ b/app_mrp_workcenter_chart/__manifest__.py @@ -33,7 +33,7 @@ { 'name': "MRP Workcenter Parent Child Hierarchy,工作中心分级", - 'version': '13.20.01.06', + 'version': '13.20.03.30', 'author': 'Sunpop.cn', 'category': 'Base', 'website': 'https://www.sunpop.cn', diff --git a/app_mrp_workcenter_chart/views/mrp_workcenter_views.xml b/app_mrp_workcenter_chart/views/mrp_workcenter_views.xml index 43d1c058..c7064d28 100644 --- a/app_mrp_workcenter_chart/views/mrp_workcenter_views.xml +++ b/app_mrp_workcenter_chart/views/mrp_workcenter_views.xml @@ -9,9 +9,6 @@ - - - @@ -103,9 +100,9 @@ - - - + + + diff --git a/app_mrp_workcenter_chart/views/mrp_workorder_views.xml b/app_mrp_workcenter_chart/views/mrp_workorder_views.xml index c91e8d3e..af75a1b0 100644 --- a/app_mrp_workcenter_chart/views/mrp_workorder_views.xml +++ b/app_mrp_workcenter_chart/views/mrp_workorder_views.xml @@ -6,7 +6,7 @@ mrp.workorder - + diff --git a/app_odoo_customize/__manifest__.py b/app_odoo_customize/__manifest__.py index 373ebd7e..28fb5038 100644 --- a/app_odoo_customize/__manifest__.py +++ b/app_odoo_customize/__manifest__.py @@ -23,14 +23,14 @@ { 'name': 'Customize odoo OEM (Boost, My Odoo)', - 'version': '13.20.03.19', + 'version': '13.20.04.12', 'author': 'Sunpop.cn', 'category': 'Productivity', 'website': 'https://www.sunpop.cn', 'license': 'LGPL-3', 'sequence': 2, 'summary': """ - Default keep odoo Logo. For quick developer. Quick customize, set brand, boost, reset data, debug. Language Switcher. + 1 click customize odoo, reset data. For quick develop. Set brand, boost, reset data, debug. Language Switcher. Easy Delete data.reset account chart. customize my odoo. """, @@ -69,11 +69,47 @@ 26. Add multi uninstall modules 27. Add odoo boost modules link. 28. Easy Menu manager. - 29. Add Install version in App list. Add Local updatable filter in app list. + 29. Apps version compare. Add Install version in App list. Add Local updatable filter in app list. + 30. 1 key export app translate file like .po file. + 31. Show or hide odoo Referral in the top menu. 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. + ## 在符合odoo开源协议的前提下,去除odoo版权信息,自定义你的odoo + 可完全自行设置下列 odoo 选项,让 odoo 看上去像是你的软件产品 + 支持Odoo 13,12, 11, 10, 9 版本,社区版企业版通用 + 1. 删除菜单导航页脚的 Odoo 标签 + 2. 将弹出窗口中 "Odoo" 设置为自定义名称 + 3. 自定义用户菜单中的 Documentation, Support, About 的链接 + 4. 在用户菜单中增加快速切换开发模式 + 5. 在用户菜单中增加快速切换多国语言 + 6. 对语言菜单进行美化,设置国旗图标 + 7. 在用户菜单中增加中/英文用户手册,可以不用翻墙加速了 + 8. 在用户菜单中增加开发者手册,含python教程,jquery参考,Jinja2模板,PostgresSQL参考 + 9. 在用户菜单中自定义"My odoo.com account" + 10. 单独设置面板,每个选项都可以自定义 + 11. 提供236个国家的国旗文件(部份需要自行设置文件名) + 12. 多语言版本 + 13. 自定义登陆界面中的 Powered by Odoo + 14. 快速删除测试数据,支持模块包括:销售/POS门店/采购/生产/库存/会计/项目/消息与工作流等. + 15. 将各类单据的序号重置,从1开始,包括:SO/PO/MO/Invoice 等 + 16. 修复odoo启用英文后模块不显示中文的Bug + 17. 可停用odoo自动订阅功能,避免“同样对象关注2次”bug,同时提升性能 + 18. 显示/隐藏应用的作者和网站-在应用安装面板中 + 19. 一键清除所有数据(视当前数据情况,有时需点击2次) + 20. 在应用面板显示快速升级按键,点击时不会导航至 odoo.com + 21. 清除并重置会计科目表 + 22. 全新升级将odoo12用户及开发手册导航至国内网站,或者自己定义的网站 + 23. 增加清除网站数据功能 + 24. 自定义 odoo 原生模块跳转的url(比如企业版模块) + 25. 增加删除费用报销数据功能 + 26. 增加批量卸载模块功能 + 27. 增加odoo加速功能 + 28. 快速管理顶级菜单 + 29. App版本比较,快速查看可本地更新的模块 + 30. 一键导出翻译文件 po + 31. 显示或去除 odoo 推荐 """, 'images': ['static/description/banner.gif'], 'depends': [ diff --git a/app_odoo_customize/i18n/zh_CN.po b/app_odoo_customize/i18n/zh_CN.po index 83849fe3..799c15b8 100644 --- a/app_odoo_customize/i18n/zh_CN.po +++ b/app_odoo_customize/i18n/zh_CN.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 13.0+e\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-03-15 10:33+0000\n" -"PO-Revision-Date: 2020-03-15 10:33+0000\n" +"POT-Creation-Date: 2020-04-12 10:21+0000\n" +"PO-Revision-Date: 2020-04-12 10:21+0000\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -275,6 +275,11 @@ msgstr "我的帐户链接" msgid "Please confirm to delete the select data?" msgstr "您确认要删除指定数据?" +#. module: app_odoo_customize +#: model_terms:ir.ui.view,arch_db:app_odoo_customize.replace_login +msgid "Powered by odooApp" +msgstr "Powered by Sunpop.cn" + #. module: app_odoo_customize #: model:ir.model.fields,help:app_odoo_customize.field_res_config_settings__app_system_name msgid "Setup System Name,which replace Odoo" @@ -306,6 +311,11 @@ msgstr "显示升级企业版标签提醒" msgid "Show My Account" msgstr "显示我的帐户" +#. module: app_odoo_customize +#: model:ir.model.fields,field_description:app_odoo_customize.field_res_config_settings__module_odoo_referral +msgid "Show Odoo Referral" +msgstr "显示Odoo推荐" + #. module: app_odoo_customize #: model:ir.model.fields,field_description:app_odoo_customize.field_res_config_settings__app_show_poweredby msgid "Show Powered by Odoo" @@ -372,6 +382,11 @@ msgstr "不选中则会隐藏odoo分享" msgid "Uncheck to hide the Powered by text" msgstr "不勾选则不显示Odoo Powered by" +#. module: app_odoo_customize +#: model:ir.model.fields,help:app_odoo_customize.field_res_config_settings__module_odoo_referral +msgid "Uncheck to remove the Odoo Referral" +msgstr "不勾选则不显示Odoo推荐" + #. module: app_odoo_customize #: model_terms:ir.ui.view,arch_db:app_odoo_customize.app_module_view_kanban msgid "Uninstall" diff --git a/app_odoo_customize/models/ir_module_module.py b/app_odoo_customize/models/ir_module_module.py index 7dc33c15..b1938638 100644 --- a/app_odoo_customize/models/ir_module_module.py +++ b/app_odoo_customize/models/ir_module_module.py @@ -14,8 +14,7 @@ class IrModule(models.Model): # installed_version = fields.Char('Latest Version', compute='_get_latest_version') # latest_version = fields.Char('Installed Version', readonly=True) - local_updatable = fields.Boolean('Local updatable', compute='_get_latest_version', - compute_sudo=True, default=False, store=True) + local_updatable = fields.Boolean('Local updatable', compute='_get_latest_version', default=False, store=True) def module_multi_uninstall(self): """ Perform the various steps required to uninstall a module completely @@ -33,10 +32,11 @@ class IrModule(models.Model): }) return action - @api.depends('name') + @api.depends('name', 'latest_version', 'state') def _get_latest_version(self): default_version = modules.adapt_version('1.0') for module in self: + module.local_updatable = False module.installed_version = self.get_module_info(module.name).get('version', default_version) if module.installed_version and module.latest_version and operator.gt(module.installed_version, module.latest_version): module.local_updatable = True diff --git a/app_odoo_customize/models/res_config_settings.py b/app_odoo_customize/models/res_config_settings.py index cc77ec8c..ad7db050 100644 --- a/app_odoo_customize/models/res_config_settings.py +++ b/app_odoo_customize/models/res_config_settings.py @@ -24,6 +24,7 @@ class ResConfigSettings(models.TransientModel): app_show_poweredby = fields.Boolean('Show Powered by Odoo', help="Uncheck to hide the Powered by text") group_show_author_in_apps = fields.Boolean(string="Show Author in Apps Dashboard", implied_group='app_odoo_customize.group_show_author_in_apps', help="Uncheck to Hide Author and Website in Apps Dashboard") + module_odoo_referral = fields.Boolean('Show Odoo Referral', help="Uncheck to remove the Odoo Referral") app_documentation_url = fields.Char('Documentation Url') app_documentation_dev_url = fields.Char('Developer Documentation Url') diff --git a/app_odoo_customize/static/description/banner.gif b/app_odoo_customize/static/description/banner.gif index 0aa86d0a..ca7ab00b 100644 Binary files a/app_odoo_customize/static/description/banner.gif and b/app_odoo_customize/static/description/banner.gif differ diff --git a/app_odoo_customize/static/description/cnreadme.png b/app_odoo_customize/static/description/cnreadme.png index 3aeb2a97..787cbd58 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 5f613d3a..ff1cd136 100644 --- a/app_odoo_customize/static/description/index.html +++ b/app_odoo_customize/static/description/index.html @@ -42,6 +42,10 @@ Online Documentation Access,Quick Data Clear.

Support Odoo 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

+
@@ -51,6 +55,10 @@

This is a Long Term Support Apps.

+

Update: v13.20.04.12

+

31. Show or hide odoo Referral in the top menu.

+

Update: v13.20.03.23

+

30. 1 key export app translate file like .po file.

Update: v13.20.02.25

28. Easy Menu manager.

29. Add Install version in App list. Add Local updatable filter in app list.

@@ -115,6 +123,11 @@
  • 23. Add reset or clear website blog data
  • 24. Customize Odoo Native Module(eg. Enterprise) Url
  • 25. Add remove expense data
  • +
  • 26. Add multi uninstall modules
  • +
  • 27. Add odoo boost modules link.
  • +
  • 28. Easy Menu manager.
  • +
  • 29. Apps version compare. Add Install version in App list. Add Local updatable filter in app list.
  • +
  • 30. 1 key export app translate file like .po file.
  • This module can help to white label the Odoo. diff --git a/app_odoo_customize/views/app_odoo_customize_views.xml b/app_odoo_customize/views/app_odoo_customize_views.xml index c8a2cf14..704e3bc2 100644 --- a/app_odoo_customize/views/app_odoo_customize_views.xml +++ b/app_odoo_customize/views/app_odoo_customize_views.xml @@ -9,9 +9,9 @@ - - - - - + \ No newline at end of file diff --git a/app_odoo_customize/views/app_theme_config_settings_views.xml b/app_odoo_customize/views/app_theme_config_settings_views.xml index e7847e8d..80645777 100644 --- a/app_odoo_customize/views/app_theme_config_settings_views.xml +++ b/app_odoo_customize/views/app_theme_config_settings_views.xml @@ -66,6 +66,10 @@

    +
    + +
    diff --git a/app_pos_superbar/__manifest__.py b/app_pos_superbar/__manifest__.py index 59ae578f..b9989802 100644 --- a/app_pos_superbar/__manifest__.py +++ b/app_pos_superbar/__manifest__.py @@ -17,7 +17,7 @@ { 'name': "App Pos order browse by store salesperson status", - 'version': '13.19.10.16', + 'version': '13.20.04.11', 'author': 'Sunpop.cn', 'category': 'Point of Sale', 'website': 'https://www.sunpop.cn', diff --git a/app_pos_superbar/views/pos_order_views.xml b/app_pos_superbar/views/pos_order_views.xml index cbdd87b0..461ca065 100644 --- a/app_pos_superbar/views/pos_order_views.xml +++ b/app_pos_superbar/views/pos_order_views.xml @@ -7,12 +7,12 @@ - + - + diff --git a/app_pos_superbar/views/product_views.xml b/app_pos_superbar/views/product_views.xml index eb7e7783..f9669a1c 100644 --- a/app_pos_superbar/views/product_views.xml +++ b/app_pos_superbar/views/product_views.xml @@ -6,8 +6,8 @@ product.template - - + + diff --git a/app_pos_superbar/views/report_pos_order_views.xml b/app_pos_superbar/views/report_pos_order_views.xml index 06cb1e3d..a61649fb 100644 --- a/app_pos_superbar/views/report_pos_order_views.xml +++ b/app_pos_superbar/views/report_pos_order_views.xml @@ -7,11 +7,11 @@ - + - + diff --git a/app_product_brand/__manifest__.py b/app_product_brand/__manifest__.py index f092ff26..f4b8783e 100644 --- a/app_product_brand/__manifest__.py +++ b/app_product_brand/__manifest__.py @@ -41,7 +41,7 @@ { 'name': 'Product Brand Manager', - 'version': '13.19.12.12', + 'version': '13.20.04.11', 'author': 'Sunpop.cn', 'category': 'Product', 'website': 'https://www.sunpop.cn', diff --git a/app_product_brand/migrations/12.0.2.0.0/post-migration.py b/app_product_brand/migrations/12.0.2.0.0/post-migration.py deleted file mode 100644 index 2d7bd852..00000000 --- a/app_product_brand/migrations/12.0.2.0.0/post-migration.py +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright 2019 Tecnativa - Pedro M. Baeza -# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html - -from openupgradelib import openupgrade -from openupgradelib import openupgrade_90 - - -@openupgrade.migrate(use_env=True) -def migrate(env, version): - column = openupgrade.get_legacy_name('logo') - if openupgrade.column_exists(env.cr, 'product_brand', column): - openupgrade_90.convert_binary_field_to_attachment( - env, {'product.brand': [('logo', None)]}, - ) diff --git a/app_product_brand/migrations/12.0.2.0.0/pre-migration.py b/app_product_brand/migrations/12.0.2.0.0/pre-migration.py deleted file mode 100644 index 0f6162b4..00000000 --- a/app_product_brand/migrations/12.0.2.0.0/pre-migration.py +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 2019 Tecnativa - Pedro M. Baeza -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - -from openupgradelib import openupgrade - -column_renames = { - 'product_brand': [ - ('logo', None), - ], -} - - -@openupgrade.migrate() -def migrate(env, version): - if openupgrade.column_exists(env.cr, 'product_brand', 'logo'): - openupgrade.rename_columns(env.cr, column_renames) diff --git a/app_product_brand/models/__init__.py b/app_product_brand/models/__init__.py index 6cb55ac7..166b9881 100644 --- a/app_product_brand/models/__init__.py +++ b/app_product_brand/models/__init__.py @@ -1 +1,2 @@ from . import product_brand +from . import product_template diff --git a/app_product_brand/models/product_brand.py b/app_product_brand/models/product_brand.py index f81b0dda..de1ae1d5 100644 --- a/app_product_brand/models/product_brand.py +++ b/app_product_brand/models/product_brand.py @@ -39,12 +39,3 @@ class ProductBrand(models.Model): for brand in self: brand.products_count = len(brand.product_ids) - -class ProductTemplate(models.Model): - _inherit = 'product.template' - - product_brand_id = fields.Many2one( - 'product.brand', - string='Brand', - help='Select a brand for this product' - ) diff --git a/app_product_brand/models/product_template.py b/app_product_brand/models/product_template.py new file mode 100644 index 00000000..b1510037 --- /dev/null +++ b/app_product_brand/models/product_template.py @@ -0,0 +1,19 @@ +# Copyright 2009 NetAndCo (). +# Copyright 2011 Akretion Benoît Guillot +# Copyright 2014 prisnet.ch Seraphine Lantible +# Copyright 2016 Serpent Consulting Services Pvt. Ltd. +# Copyright 2018 Daniel Campos +# Copyright 2019 Sunpop.cn +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) + +from odoo import api, fields, models, _ + + +class ProductTemplate(models.Model): + _inherit = 'product.template' + + product_brand_id = fields.Many2one( + 'product.brand', + string='Brand', + help='Select a brand for this product' + ) diff --git a/app_product_brand/reports/account_invoice_report.py b/app_product_brand/reports/account_invoice_report.py index 2ff32fbb..c2168cdc 100644 --- a/app_product_brand/reports/account_invoice_report.py +++ b/app_product_brand/reports/account_invoice_report.py @@ -7,10 +7,7 @@ from odoo import fields, models class AccountInvoiceReport(models.Model): _inherit = "account.invoice.report" - product_brand_id = fields.Many2one( - comodel_name='product.brand', - string='Brand', - ) + product_brand_id = fields.Many2one('product.brand', string='Brand') def _select(self): select_str = super()._select() diff --git a/app_product_brand/reports/sale_report.py b/app_product_brand/reports/sale_report.py index 2cd20d02..f6edf470 100644 --- a/app_product_brand/reports/sale_report.py +++ b/app_product_brand/reports/sale_report.py @@ -7,10 +7,7 @@ from odoo import fields, models class SaleReport(models.Model): _inherit = "sale.report" - product_brand_id = fields.Many2one( - comodel_name='product.brand', - string='Brand', - ) + product_brand_id = fields.Many2one('product.brand', string='Brand') # pylint:disable=dangerous-default-value def _query(self, with_clause='', fields={}, groupby='', from_clause=''): diff --git a/app_product_brand/views/product_product_views.xml b/app_product_brand/views/product_product_views.xml index 979791ff..9d8e60ae 100644 --- a/app_product_brand/views/product_product_views.xml +++ b/app_product_brand/views/product_product_views.xml @@ -1,5 +1,5 @@ - + @@ -29,4 +29,4 @@ - + diff --git a/app_product_brand/views/product_template_views.xml b/app_product_brand/views/product_template_views.xml index 5bc9aee8..cbe523c1 100644 --- a/app_product_brand/views/product_template_views.xml +++ b/app_product_brand/views/product_template_views.xml @@ -1,5 +1,5 @@ - + @@ -21,9 +21,8 @@ product.template - + -
    @@ -56,4 +55,4 @@ - + diff --git a/app_product_superbar/__manifest__.py b/app_product_superbar/__manifest__.py index eac8a934..22dbe8b4 100644 --- a/app_product_superbar/__manifest__.py +++ b/app_product_superbar/__manifest__.py @@ -17,7 +17,7 @@ { 'name': "App product browse by category navigator", - 'version': '13.19.12.31', + 'version': '13.20.03.30', 'author': 'Sunpop.cn', 'category': 'Base', 'website': 'https://www.sunpop.cn', @@ -42,7 +42,7 @@ 'images': ['static/description/banner.gif'], 'data': [ 'views/product_views.xml', - 'views/product_attribute_value_views.xml', + # 'views/product_attribute_value_views.xml', ], 'demo': [ ], diff --git a/app_product_superbar/views/product_attribute_value_views.xml b/app_product_superbar/views/product_attribute_value_views.xml index 0ec1bb22..e94b9458 100644 --- a/app_product_superbar/views/product_attribute_value_views.xml +++ b/app_product_superbar/views/product_attribute_value_views.xml @@ -8,8 +8,8 @@ - + @@ -22,21 +22,22 @@ - + - + - - Attribute Values - ir.actions.act_window - product.attribute.value - tree - + + + + + + + - + + + \ No newline at end of file diff --git a/app_product_superbar/views/product_views.xml b/app_product_superbar/views/product_views.xml index e1455783..519077b4 100644 --- a/app_product_superbar/views/product_views.xml +++ b/app_product_superbar/views/product_views.xml @@ -7,10 +7,10 @@ - + - + diff --git a/app_project_superbar/views/project_project_views.xml b/app_project_superbar/views/project_project_views.xml index 96cb813d..9686e37d 100644 --- a/app_project_superbar/views/project_project_views.xml +++ b/app_project_superbar/views/project_project_views.xml @@ -7,11 +7,11 @@ - + - + diff --git a/app_project_superbar/views/project_task_views.xml b/app_project_superbar/views/project_task_views.xml index 8a30099b..da75f90b 100644 --- a/app_project_superbar/views/project_task_views.xml +++ b/app_project_superbar/views/project_task_views.xml @@ -7,10 +7,10 @@ - + - + diff --git a/app_purchase_product_multi_add/views/purchase_order_views.xml b/app_purchase_product_multi_add/views/purchase_order_views.xml index 91afd25f..3b5eeb3e 100644 --- a/app_purchase_product_multi_add/views/purchase_order_views.xml +++ b/app_purchase_product_multi_add/views/purchase_order_views.xml @@ -6,7 +6,7 @@ - - + - + - + @@ -20,12 +20,12 @@ - + - + - + @@ -36,10 +36,10 @@ - + - - + + diff --git a/app_sale_product_multi_add/__manifest__.py b/app_sale_product_multi_add/__manifest__.py index 2b081a4d..ac89a213 100644 --- a/app_sale_product_multi_add/__manifest__.py +++ b/app_sale_product_multi_add/__manifest__.py @@ -17,7 +17,7 @@ { 'name': "Multi Add Sale Product,订单批量加产品", - 'version': '12.19.04.29', + 'version': '13.20.04.06', 'author': 'Sunpop.cn', 'category': 'Base', 'website': 'https://www.sunpop.cn', diff --git a/app_sale_product_multi_add/views/sale_order_views.xml b/app_sale_product_multi_add/views/sale_order_views.xml index 18280982..727772d8 100644 --- a/app_sale_product_multi_add/views/sale_order_views.xml +++ b/app_sale_product_multi_add/views/sale_order_views.xml @@ -8,7 +8,7 @@ - - + - - + + @@ -23,13 +23,13 @@ - + - + - + diff --git a/app_stock_picking_product_multi_add/views/stock_picking_views.xml b/app_stock_picking_product_multi_add/views/stock_picking_views.xml index c443d0ea..3c109b85 100644 --- a/app_stock_picking_product_multi_add/views/stock_picking_views.xml +++ b/app_stock_picking_product_multi_add/views/stock_picking_views.xml @@ -7,8 +7,8 @@ - - + - + - + diff --git a/app_stock_superbar/views/stock_location_views.xml b/app_stock_superbar/views/stock_location_views.xml index 48968a08..6179a35a 100644 --- a/app_stock_superbar/views/stock_location_views.xml +++ b/app_stock_superbar/views/stock_location_views.xml @@ -7,11 +7,11 @@ - + - + diff --git a/app_stock_superbar/views/stock_picking_type_views.xml b/app_stock_superbar/views/stock_picking_type_views.xml index 2c405410..e85271b7 100644 --- a/app_stock_superbar/views/stock_picking_type_views.xml +++ b/app_stock_superbar/views/stock_picking_type_views.xml @@ -8,9 +8,9 @@ - + - + diff --git a/app_stock_superbar/views/stock_picking_views.xml b/app_stock_superbar/views/stock_picking_views.xml index 563b24ff..b43faba8 100644 --- a/app_stock_superbar/views/stock_picking_views.xml +++ b/app_stock_superbar/views/stock_picking_views.xml @@ -7,11 +7,11 @@ - + - + diff --git a/app_stock_superbar/views/stock_production_lot_views.xml b/app_stock_superbar/views/stock_production_lot_views.xml index a08e9a9c..a1aa770a 100644 --- a/app_stock_superbar/views/stock_production_lot_views.xml +++ b/app_stock_superbar/views/stock_production_lot_views.xml @@ -7,9 +7,9 @@ - - - + + + diff --git a/app_stock_superbar/views/stock_rule_views.xml b/app_stock_superbar/views/stock_rule_views.xml index 1fd0d36f..1770f6da 100644 --- a/app_stock_superbar/views/stock_rule_views.xml +++ b/app_stock_superbar/views/stock_rule_views.xml @@ -7,10 +7,10 @@ - + - + diff --git a/app_stock_superbar/views/stock_warehouse_orderpoint_views.xml b/app_stock_superbar/views/stock_warehouse_orderpoint_views.xml index df0c0f35..88f5539c 100644 --- a/app_stock_superbar/views/stock_warehouse_orderpoint_views.xml +++ b/app_stock_superbar/views/stock_warehouse_orderpoint_views.xml @@ -7,10 +7,10 @@ - + - + diff --git a/app_web_no_bubble/README.rst b/app_web_no_bubble/README.rst new file mode 100644 index 00000000..d76ffa1c --- /dev/null +++ b/app_web_no_bubble/README.rst @@ -0,0 +1,75 @@ +============= +Web No Bubble +============= + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github + :target: https://github.com/OCA/web/tree/13.0/web_no_bubble + :alt: OCA/web +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_no_bubble + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/162/13.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module removes from the web interface the bubbles introduced in the version 10.0. +The help boxes are not removed though. + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Savoir-faire Linux + +Contributors +~~~~~~~~~~~~ + +* David Dufresne (david.dufresne@savoirfairelinux.com) +* Alexandre Díaz (alexandre.diaz@tecnativa.com) + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/web `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/app_web_no_bubble/__init__.py b/app_web_no_bubble/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/app_web_no_bubble/__manifest__.py b/app_web_no_bubble/__manifest__.py new file mode 100644 index 00000000..bb032de3 --- /dev/null +++ b/app_web_no_bubble/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright 2016 Savoir-faire Linux +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). +# "Savoir-faire Linux, " "Odoo Community Association (OCA)", + +{ + "name": "Web No Bubble", + "version": "13.20.04.10", + 'author': 'Sunpop.cn', + "website": "https://github.com/OCA/web", + "license": "AGPL-3", + "category": "Web", + "summary": "Remove the bubbles from the web interface", + "depends": ["web"], + "data": ["views/web_no_bubble.xml"], + "installable": True, + "application": False, +} diff --git a/app_web_no_bubble/i18n/fr_FR.po b/app_web_no_bubble/i18n/fr_FR.po new file mode 100644 index 00000000..70349008 --- /dev/null +++ b/app_web_no_bubble/i18n/fr_FR.po @@ -0,0 +1,14 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: fr_FR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" diff --git a/app_web_no_bubble/i18n/hr.po b/app_web_no_bubble/i18n/hr.po new file mode 100644 index 00000000..4f0b6f3c --- /dev/null +++ b/app_web_no_bubble/i18n/hr.po @@ -0,0 +1,15 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=" +"4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" diff --git a/app_web_no_bubble/i18n/web_no_bubble.pot b/app_web_no_bubble/i18n/web_no_bubble.pot new file mode 100644 index 00000000..cc93d01e --- /dev/null +++ b/app_web_no_bubble/i18n/web_no_bubble.pot @@ -0,0 +1,13 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \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" diff --git a/app_web_no_bubble/i18n/zh_CN.po b/app_web_no_bubble/i18n/zh_CN.po new file mode 100644 index 00000000..b8cb4812 --- /dev/null +++ b/app_web_no_bubble/i18n/zh_CN.po @@ -0,0 +1,14 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" diff --git a/app_web_no_bubble/readme/CONTRIBUTORS.rst b/app_web_no_bubble/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000..78fa1bbc --- /dev/null +++ b/app_web_no_bubble/readme/CONTRIBUTORS.rst @@ -0,0 +1,2 @@ +* David Dufresne (david.dufresne@savoirfairelinux.com) +* Alexandre Díaz (alexandre.diaz@tecnativa.com) diff --git a/app_web_no_bubble/readme/DESCRIPTION.rst b/app_web_no_bubble/readme/DESCRIPTION.rst new file mode 100644 index 00000000..54b336dd --- /dev/null +++ b/app_web_no_bubble/readme/DESCRIPTION.rst @@ -0,0 +1,2 @@ +This module removes from the web interface the bubbles introduced in the version 10.0. +The help boxes are not removed though. diff --git a/app_web_no_bubble/static/description/icon.png b/app_web_no_bubble/static/description/icon.png new file mode 100644 index 00000000..3cf32372 Binary files /dev/null and b/app_web_no_bubble/static/description/icon.png differ diff --git a/app_web_no_bubble/static/description/index.html b/app_web_no_bubble/static/description/index.html new file mode 100644 index 00000000..d809eaed --- /dev/null +++ b/app_web_no_bubble/static/description/index.html @@ -0,0 +1,421 @@ + + + + + + +Web No Bubble + + + +
    +

    Web No Bubble

    + + +

    Beta License: AGPL-3 OCA/web Translate me on Weblate Try me on Runbot

    +

    This module removes from the web interface the bubbles introduced in the version 10.0. +The help boxes are not removed though.

    +

    Table of contents

    + +
    +

    Bug Tracker

    +

    Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +feedback.

    +

    Do not contact contributors directly about support or help with technical issues.

    +
    +
    +

    Credits

    +
    +

    Authors

    +
      +
    • Savoir-faire Linux
    • +
    +
    + +
    +

    Maintainers

    +

    This module is maintained by the OCA.

    +Odoo Community Association +

    OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

    +

    This module is part of the OCA/web project on GitHub.

    +

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    +
    +
    +
    + + diff --git a/app_web_no_bubble/static/src/css/web_no_bubble.scss b/app_web_no_bubble/static/src/css/web_no_bubble.scss new file mode 100644 index 00000000..d4ec2283 --- /dev/null +++ b/app_web_no_bubble/static/src/css/web_no_bubble.scss @@ -0,0 +1,5 @@ +.o_tooltip { + &.o_animated { + display: none; + } +} diff --git a/app_web_no_bubble/views/web_no_bubble.xml b/app_web_no_bubble/views/web_no_bubble.xml new file mode 100644 index 00000000..e8bff0b1 --- /dev/null +++ b/app_web_no_bubble/views/web_no_bubble.xml @@ -0,0 +1,17 @@ + + + + + + diff --git a/l10n_cn_standard_lastest/data/account_account_tag_data.xml b/l10n_cn_standard_lastest/data/account_account_tag_data.xml index e9e8b543..fdb696bc 100644 --- a/l10n_cn_standard_lastest/data/account_account_tag_data.xml +++ b/l10n_cn_standard_lastest/data/account_account_tag_data.xml @@ -6,60 +6,77 @@ 增值税13%销项税 taxes + 增值税13%进项税 taxes + 9%出口退税 taxes + 11%离境退税 taxes + 8%离境退税 taxes + 增值税16%进项税 taxes + 增值税16%销项税 taxes + 银行专用 + 证券专用 + 金融共用 + 保险专用 + 银行和保险共用 + 农业专用 + 租赁专用 + 石油天然气开采专用 + 银行和证券共用 + 建造承包商专用 + diff --git a/l10n_cn_standard_latest/__manifest__.py b/l10n_cn_standard_latest/__manifest__.py index 4f9e4031..2041f6b8 100644 --- a/l10n_cn_standard_latest/__manifest__.py +++ b/l10n_cn_standard_latest/__manifest__.py @@ -9,7 +9,7 @@ { 'name': '2020最新中国企业会计表.Latest Chinese Accounting.', - 'version': '13.20.03.05', + 'version': '13.20.04.11', 'author': 'Sunpop.cn', 'category': 'Localization', 'website': 'https://www.sunpop.cn', @@ -67,5 +67,5 @@ 'post_init_hook': 'post_init_hook', 'installable': True, 'application': True, - 'auto_install': True, + 'auto_install': False, } diff --git a/l10n_cn_standard_latest/data/account_account_tag_data.xml b/l10n_cn_standard_latest/data/account_account_tag_data.xml index 3d6319bd..aedb80af 100644 --- a/l10n_cn_standard_latest/data/account_account_tag_data.xml +++ b/l10n_cn_standard_latest/data/account_account_tag_data.xml @@ -6,68 +6,87 @@ 不计销项税 taxes + 不计进项税 taxes + 增值税13%销项税 taxes + 增值税13%进项税 taxes + 9%出口退税 taxes + 11%离境退税 taxes + 8%离境退税 taxes + 增值税16%进项税 taxes + 增值税16%销项税 taxes + 银行专用 + 证券专用 + 金融共用 + 保险专用 + 银行和保险共用 + 农业专用 + 租赁专用 + 石油天然气开采专用 + 银行和证券共用 + 建造承包商专用 + diff --git a/readme.md b/readme.md index 5e300b7c..ee0d297f 100644 --- a/readme.md +++ b/readme.md @@ -30,7 +30,7 @@ Default country, timezone, currency, partner... 2. 客户加简称,地址显示中文化,客户编码显示优先 3. 客户地址显示增加手机号与电话号码 4. 货币处理,增加排序显示 -5. 修正产品类别的列表及m2o字段中不显示中文目录名的Bug +5. 修正品类的列表及m2o字段中不显示中文目录名的Bug ## app_contacts_superbar Browse contacts by company. Use for parent children tree list kanban navigator.