diff --git a/app_website_blog_editor/__init__.py b/app_website_blog_editor/__init__.py new file mode 100644 index 00000000..9ea74431 --- /dev/null +++ b/app_website_blog_editor/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- + +from . import models +from . import controllers +from .hooks import pre_init_hook +from .hooks import post_init_hook +from .hooks import uninstall_hook \ No newline at end of file diff --git a/app_website_blog_editor/__manifest__.py b/app_website_blog_editor/__manifest__.py new file mode 100644 index 00000000..f0eb373a --- /dev/null +++ b/app_website_blog_editor/__manifest__.py @@ -0,0 +1,76 @@ +# -*- coding: utf-8 -*- + +# Created on 2022-09-01 +# author: 广州尚鹏,https://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +# Odoo12在线用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/12.0/zh_CN/index.html + +# Odoo12在线开发者手册(长期更新) +# https://www.sunpop.cn/documentation/12.0/index.html + +# Odoo10在线中文用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# https://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# https://www.sunpop.cn/odoo10_developer_document_offline/ + +############################################################################## +# Copyright (C) 2009-TODAY Sunpop.cn Ltd. https://www.sunpop.cn +# Author: Ivan Deng,300883@qq.com +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# See . +# +# It is forbidden to publish, distribute, sublicense, or sell copies +# of the Software or modified copies of the Software. +############################################################################## + +{ + 'name': "Website Blogs Editor in Backend", + 'version': '16.23.04.11', + 'author': 'Sunpop.cn', + 'category': 'Base', + 'website': 'https://www.sunpop.cn', + 'license': 'LGPL-3', + 'sequence': 2, + 'price': 0.00, + 'currency': 'EUR', + 'images': ['static/description/banner.png'], + 'depends': [ + 'website_blog', + ], + 'summary': ''' + Odoo App of Sunpop.cn + ''', + 'description': ''' + Support Odoo 16,15,14,13,12, Enterprise and Community and odoo.sh Edition + 1. + 2. + 11. Multi-language Support. Multi-Company Support. + 12. Support Odoo 16,15,14,13,12, Enterprise and Community and odoo.sh Edition. + 13. Full Open Source. + ========== + 1. + 2. + 11. 多语言支持,多公司支持 + 12. Odoo 16,15,14,13,12, 企业版,社区版,在线SaaS.sh版,等全版本支持 + 13. 代码完全开源 + ''', + 'data': [ + 'views/blog_post_views.xml', + # 'report/.xml', + ], + 'demo': [], + # 'pre_init_hook': 'pre_init_hook', + # 'post_init_hook': 'post_init_hook', + # 'uninstall_hook': 'uninstall_hook', + 'installable': True, + 'application': True, + 'auto_install': False, +} diff --git a/app_website_blog_editor/controllers/__init__.py b/app_website_blog_editor/controllers/__init__.py new file mode 100644 index 00000000..221005dc --- /dev/null +++ b/app_website_blog_editor/controllers/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- +# from . import main \ No newline at end of file diff --git a/app_website_blog_editor/hooks.py b/app_website_blog_editor/hooks.py new file mode 100644 index 00000000..3ba52cbf --- /dev/null +++ b/app_website_blog_editor/hooks.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-10-12 +# author: 广州尚鹏,https://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +# Odoo在线中文用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# https://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# https://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +from odoo import api, SUPERUSER_ID, _ + + +def pre_init_hook(cr): + pass + # cr.execute("") + +def post_init_hook(cr, registry): + pass + # cr.execute("") + +def uninstall_hook(cr, registry): + pass + # cr.execute("") + diff --git a/app_website_blog_editor/i18n/zh_CN.po b/app_website_blog_editor/i18n/zh_CN.po new file mode 100644 index 00000000..0f6f3ace --- /dev/null +++ b/app_website_blog_editor/i18n/zh_CN.po @@ -0,0 +1,21 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * app_website_blog_editor +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0-20230320\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-04-10 17:30+0000\n" +"PO-Revision-Date: 2023-04-10 17:30+0000\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" + +#. module: app_website_blog_editor +#: model_terms:ir.ui.view,arch_db:app_website_blog_editor.app_view_blog_post_form +msgid "Content" +msgstr "博客图文" diff --git a/app_website_blog_editor/models/__init__.py b/app_website_blog_editor/models/__init__.py new file mode 100644 index 00000000..d819973e --- /dev/null +++ b/app_website_blog_editor/models/__init__.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +# Part of Sunpop.cn. See LICENSE file for full copyright and licensing details. + +# Created on 2019-04-20 +# author: 广州尚鹏,http://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +# Odoo12在线用户手册(长期更新) +# http://www.sunpop.cn/documentation/user/12.0/en/index.html + +# Odoo12在线开发者手册(长期更新) +# http://www.sunpop.cn/documentation/12.0/index.html + +# Odoo10在线中文用户手册(长期更新) +# http://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# http://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# http://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +# from . import models diff --git a/app_website_blog_editor/report/__init__.py b/app_website_blog_editor/report/__init__.py new file mode 100644 index 00000000..633f8661 --- /dev/null +++ b/app_website_blog_editor/report/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- + diff --git a/app_website_blog_editor/security/app_security.xml b/app_website_blog_editor/security/app_security.xml new file mode 100644 index 00000000..a4b85605 --- /dev/null +++ b/app_website_blog_editor/security/app_security.xml @@ -0,0 +1,51 @@ + + + + + + acc_module_user + + + + + + + + + + App... + Helps you manage your ... + 8 + + + + + App User + + + The user will be able to ... + + + + + App Admin + + + The user will be able to config ... + + + + + + + + + + Users are allowed to access their own m/// + + ['|', ('partner_id', 'in', [user.partner_id.id]), ('user_id.id', '=', user.id)] + + + + + diff --git a/app_website_blog_editor/security/ir.model.access.csv b/app_website_blog_editor/security/ir.model.access.csv new file mode 100644 index 00000000..64f91fa5 --- /dev/null +++ b/app_website_blog_editor/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_product_attribute_value_group_user,product_attribute_value_group.user,app_product_variant_pro.model_product_attribute_value_group,base.group_user,1,0,0,0 +access_product_attribute_value_group_manager,product_attribute_value_group.manager,app_product_variant_pro.model_product_attribute_value_group,base.group_erp_manager,1,1,1,1 \ No newline at end of file diff --git a/app_website_blog_editor/static/description/banner.png b/app_website_blog_editor/static/description/banner.png new file mode 100644 index 00000000..f2059fb7 Binary files /dev/null and b/app_website_blog_editor/static/description/banner.png differ diff --git a/app_website_blog_editor/static/description/icon.png b/app_website_blog_editor/static/description/icon.png new file mode 100644 index 00000000..03dd92b7 Binary files /dev/null and b/app_website_blog_editor/static/description/icon.png differ diff --git a/app_website_blog_editor/static/description/index.html b/app_website_blog_editor/static/description/index.html new file mode 100644 index 00000000..523d7400 --- /dev/null +++ b/app_website_blog_editor/static/description/index.html @@ -0,0 +1,95 @@ +
+
+
+

+

+
+

Lastest update: v13.23.03.23

+
+ +
+
+
+ Key features: +
    +
  • + + Put key function here. +
  • +
  • + + 1. +
  • +
  • + + 11. Multi-language Support. Multi-Company Support. +
  • +
  • + + 12. Support Odoo 16,15,14,13,12, Enterprise and Community and odoo.sh Edition. +
  • +
+
+
+
+
+
+
+ +
+
+

So Easy to navigator and search any data.

+

+
+ +
+
+
+ +
+
+

Multi-language Support..

+

+
+ +
+
+
+ +
+
+
+

Technical Help & Support

+
+
+
+

+ For any type of technical help & support requests, Feel free to contact us

+ + guohuadeng@hotmail.com +

+ Via QQ: 300883 (App user would not get QQ or any other IM support. Only for odoo project customize.)

+ + 300883@qq.com +
+
+

+ Visit our website for more support.

+ + https://www.sunpop.cn +
+
+
+
+

More Powerful addons, Make your odoo very easy to use, easy customize: + Supop.cn Odoo Addons +

+
+
+ diff --git a/app_website_blog_editor/static/img/icon_sunpop.png b/app_website_blog_editor/static/img/icon_sunpop.png new file mode 100644 index 00000000..aa490954 Binary files /dev/null and b/app_website_blog_editor/static/img/icon_sunpop.png differ diff --git a/app_website_blog_editor/static/img/logo_sunpop.png b/app_website_blog_editor/static/img/logo_sunpop.png new file mode 100644 index 00000000..bc32c24e Binary files /dev/null and b/app_website_blog_editor/static/img/logo_sunpop.png differ diff --git a/app_website_blog_editor/static/src/js/sunpop.cn b/app_website_blog_editor/static/src/js/sunpop.cn new file mode 100644 index 00000000..e69de29b diff --git a/app_website_blog_editor/static/src/xml/sunpop.cn b/app_website_blog_editor/static/src/xml/sunpop.cn new file mode 100644 index 00000000..e69de29b diff --git a/app_website_blog_editor/views/blog_post_views.xml b/app_website_blog_editor/views/blog_post_views.xml new file mode 100644 index 00000000..34310430 --- /dev/null +++ b/app_website_blog_editor/views/blog_post_views.xml @@ -0,0 +1,18 @@ + + + + app.blog.post.form + blog.post + + + + + + + + + + + + diff --git a/app_website_blog_editor/wizard/sunpop.cn b/app_website_blog_editor/wizard/sunpop.cn new file mode 100644 index 00000000..e69de29b diff --git a/app_website_sale_editor/__init__.py b/app_website_sale_editor/__init__.py new file mode 100644 index 00000000..9ea74431 --- /dev/null +++ b/app_website_sale_editor/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- + +from . import models +from . import controllers +from .hooks import pre_init_hook +from .hooks import post_init_hook +from .hooks import uninstall_hook \ No newline at end of file diff --git a/app_website_sale_editor/__manifest__.py b/app_website_sale_editor/__manifest__.py new file mode 100644 index 00000000..6ee082d5 --- /dev/null +++ b/app_website_sale_editor/__manifest__.py @@ -0,0 +1,76 @@ +# -*- coding: utf-8 -*- + +# Created on 2022-09-01 +# author: 广州尚鹏,https://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +# Odoo12在线用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/12.0/zh_CN/index.html + +# Odoo12在线开发者手册(长期更新) +# https://www.sunpop.cn/documentation/12.0/index.html + +# Odoo10在线中文用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# https://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# https://www.sunpop.cn/odoo10_developer_document_offline/ + +############################################################################## +# Copyright (C) 2009-TODAY Sunpop.cn Ltd. https://www.sunpop.cn +# Author: Ivan Deng,300883@qq.com +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# See . +# +# It is forbidden to publish, distribute, sublicense, or sell copies +# of the Software or modified copies of the Software. +############################################################################## + +{ + 'name': "Website Product Editor in Backend", + 'version': '16.23.04.11', + 'author': 'Sunpop.cn', + 'category': 'Base', + 'website': 'https://www.sunpop.cn', + 'license': 'LGPL-3', + 'sequence': 2, + 'price': 0.00, + 'currency': 'EUR', + 'images': ['static/description/banner.png'], + 'depends': [ + 'website_sale', + ], + 'summary': ''' + Odoo App of Sunpop.cn + ''', + 'description': ''' + Support Odoo 16,15,14,13,12, Enterprise and Community and odoo.sh Edition + 1. + 2. + 11. Multi-language Support. Multi-Company Support. + 12. Support Odoo 16,15,14,13,12, Enterprise and Community and odoo.sh Edition. + 13. Full Open Source. + ========== + 1. + 2. + 11. 多语言支持,多公司支持 + 12. Odoo 16,15,14,13,12, 企业版,社区版,在线SaaS.sh版,等全版本支持 + 13. 代码完全开源 + ''', + 'data': [ + 'views/product_template_views.xml', + # 'report/.xml', + ], + 'demo': [], + # 'pre_init_hook': 'pre_init_hook', + # 'post_init_hook': 'post_init_hook', + # 'uninstall_hook': 'uninstall_hook', + 'installable': True, + 'application': True, + 'auto_install': False, +} diff --git a/app_website_sale_editor/controllers/__init__.py b/app_website_sale_editor/controllers/__init__.py new file mode 100644 index 00000000..221005dc --- /dev/null +++ b/app_website_sale_editor/controllers/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- +# from . import main \ No newline at end of file diff --git a/app_website_sale_editor/hooks.py b/app_website_sale_editor/hooks.py new file mode 100644 index 00000000..3ba52cbf --- /dev/null +++ b/app_website_sale_editor/hooks.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- + +# Created on 2018-10-12 +# author: 广州尚鹏,https://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +# Odoo在线中文用户手册(长期更新) +# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# https://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# https://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +from odoo import api, SUPERUSER_ID, _ + + +def pre_init_hook(cr): + pass + # cr.execute("") + +def post_init_hook(cr, registry): + pass + # cr.execute("") + +def uninstall_hook(cr, registry): + pass + # cr.execute("") + diff --git a/app_website_sale_editor/i18n/zh_CN.po b/app_website_sale_editor/i18n/zh_CN.po new file mode 100644 index 00000000..47374323 --- /dev/null +++ b/app_website_sale_editor/i18n/zh_CN.po @@ -0,0 +1,21 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * app_website_sale_editor +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0-20230320\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-04-10 17:30+0000\n" +"PO-Revision-Date: 2023-04-10 17:30+0000\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" + +#. module: app_website_sale_editor +#: model_terms:ir.ui.view,arch_db:app_website_sale_editor.app_product_template_form_view +msgid "Website Description" +msgstr "网站图文" diff --git a/app_website_sale_editor/models/__init__.py b/app_website_sale_editor/models/__init__.py new file mode 100644 index 00000000..d819973e --- /dev/null +++ b/app_website_sale_editor/models/__init__.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +# Part of Sunpop.cn. See LICENSE file for full copyright and licensing details. + +# Created on 2019-04-20 +# author: 广州尚鹏,http://www.sunpop.cn +# email: 300883@qq.com +# resource of Sunpop +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +# Odoo12在线用户手册(长期更新) +# http://www.sunpop.cn/documentation/user/12.0/en/index.html + +# Odoo12在线开发者手册(长期更新) +# http://www.sunpop.cn/documentation/12.0/index.html + +# Odoo10在线中文用户手册(长期更新) +# http://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html + +# Odoo10离线中文用户手册下载 +# http://www.sunpop.cn/odoo10_user_manual_document_offline/ +# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备) +# http://www.sunpop.cn/odoo10_developer_document_offline/ +# description: + +# from . import models diff --git a/app_website_sale_editor/report/__init__.py b/app_website_sale_editor/report/__init__.py new file mode 100644 index 00000000..633f8661 --- /dev/null +++ b/app_website_sale_editor/report/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- + diff --git a/app_website_sale_editor/security/app_security.xml b/app_website_sale_editor/security/app_security.xml new file mode 100644 index 00000000..a4b85605 --- /dev/null +++ b/app_website_sale_editor/security/app_security.xml @@ -0,0 +1,51 @@ + + + + + + acc_module_user + + + + + + + + + + App... + Helps you manage your ... + 8 + + + + + App User + + + The user will be able to ... + + + + + App Admin + + + The user will be able to config ... + + + + + + + + + + Users are allowed to access their own m/// + + ['|', ('partner_id', 'in', [user.partner_id.id]), ('user_id.id', '=', user.id)] + + + + + diff --git a/app_website_sale_editor/security/ir.model.access.csv b/app_website_sale_editor/security/ir.model.access.csv new file mode 100644 index 00000000..64f91fa5 --- /dev/null +++ b/app_website_sale_editor/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_product_attribute_value_group_user,product_attribute_value_group.user,app_product_variant_pro.model_product_attribute_value_group,base.group_user,1,0,0,0 +access_product_attribute_value_group_manager,product_attribute_value_group.manager,app_product_variant_pro.model_product_attribute_value_group,base.group_erp_manager,1,1,1,1 \ No newline at end of file diff --git a/app_website_sale_editor/static/description/banner.png b/app_website_sale_editor/static/description/banner.png new file mode 100644 index 00000000..f2059fb7 Binary files /dev/null and b/app_website_sale_editor/static/description/banner.png differ diff --git a/app_website_sale_editor/static/description/icon.png b/app_website_sale_editor/static/description/icon.png new file mode 100644 index 00000000..03dd92b7 Binary files /dev/null and b/app_website_sale_editor/static/description/icon.png differ diff --git a/app_website_sale_editor/static/description/index.html b/app_website_sale_editor/static/description/index.html new file mode 100644 index 00000000..523d7400 --- /dev/null +++ b/app_website_sale_editor/static/description/index.html @@ -0,0 +1,95 @@ +
+
+
+

+

+
+

Lastest update: v13.23.03.23

+
+ +
+
+
+ Key features: +
    +
  • + + Put key function here. +
  • +
  • + + 1. +
  • +
  • + + 11. Multi-language Support. Multi-Company Support. +
  • +
  • + + 12. Support Odoo 16,15,14,13,12, Enterprise and Community and odoo.sh Edition. +
  • +
+
+
+
+
+
+
+ +
+
+

So Easy to navigator and search any data.

+

+
+ +
+
+
+ +
+
+

Multi-language Support..

+

+
+ +
+
+
+ +
+
+
+

Technical Help & Support

+
+
+
+

+ For any type of technical help & support requests, Feel free to contact us

+ + guohuadeng@hotmail.com +

+ Via QQ: 300883 (App user would not get QQ or any other IM support. Only for odoo project customize.)

+ + 300883@qq.com +
+
+

+ Visit our website for more support.

+ + https://www.sunpop.cn +
+
+
+
+

More Powerful addons, Make your odoo very easy to use, easy customize: + Supop.cn Odoo Addons +

+
+
+ diff --git a/app_website_sale_editor/static/img/icon_sunpop.png b/app_website_sale_editor/static/img/icon_sunpop.png new file mode 100644 index 00000000..aa490954 Binary files /dev/null and b/app_website_sale_editor/static/img/icon_sunpop.png differ diff --git a/app_website_sale_editor/static/img/logo_sunpop.png b/app_website_sale_editor/static/img/logo_sunpop.png new file mode 100644 index 00000000..bc32c24e Binary files /dev/null and b/app_website_sale_editor/static/img/logo_sunpop.png differ diff --git a/app_website_sale_editor/static/src/js/sunpop.cn b/app_website_sale_editor/static/src/js/sunpop.cn new file mode 100644 index 00000000..e69de29b diff --git a/app_website_sale_editor/static/src/xml/sunpop.cn b/app_website_sale_editor/static/src/xml/sunpop.cn new file mode 100644 index 00000000..e69de29b diff --git a/app_website_sale_editor/views/product_template_views.xml b/app_website_sale_editor/views/product_template_views.xml new file mode 100644 index 00000000..59f589e9 --- /dev/null +++ b/app_website_sale_editor/views/product_template_views.xml @@ -0,0 +1,18 @@ + + + + + app.product.template.common.form + product.template + + form + + + + + + + + + + diff --git a/app_website_sale_editor/wizard/sunpop.cn b/app_website_sale_editor/wizard/sunpop.cn new file mode 100644 index 00000000..e69de29b