diff --git a/app_odoo_customize/__manifest__.py b/app_odoo_customize/__manifest__.py index a7718fb0..282e6629 100644 --- a/app_odoo_customize/__manifest__.py +++ b/app_odoo_customize/__manifest__.py @@ -71,7 +71,16 @@ The user can get the help document just by one click. """, 'images': ['static/description/banner.gif'], - 'depends': ['base', 'web', 'mail', 'web_settings_dashboard'], + 'depends': [ + 'base', + 'web', + 'mail', + 'web_settings_dashboard', + 'iap', + # 'digest', + # when enterprise + # 'web_mobile' + ], 'data': [ 'views/app_odoo_customize_view.xml', 'views/app_theme_config_settings_view.xml', @@ -79,6 +88,7 @@ # data 'data/ir_config_parameter.xml', 'data/ir_module_module.xml', + # 'data/digest_template_data.xml', 'data/res_company_data.xml', 'data/res_groups.xml', 'security/ir.model.access.csv', diff --git a/app_odoo_customize/data/digest_template_data.xml b/app_odoo_customize/data/digest_template_data.xml new file mode 100644 index 00000000..97f292e0 --- /dev/null +++ b/app_odoo_customize/data/digest_template_data.xml @@ -0,0 +1,156 @@ + + + + + + + % set user = ctx.get('user', user) + % set company = user.company_id + % set data = object.compute_kpis(company, user) + % set tips = object.compute_tips(company, user) + % set kpi_actions = object.compute_kpis_actions(company, user) + % set kpis = data.yesterday.keys() + + + + + + +
+ ${company.name} at a glance +
${datetime.date.today().strftime('%B %d, %Y')}
+
+ +
+
+
+ % for kpi in kpis: + + + + + + + +

+ ${object.fields_get()[kpi]['string']} + %if kpi in kpi_actions: + + View more + + %endif +
+ + + + + + +
+ + + + +
+ ${data['yesterday'][kpi][kpi]}
+ Yesterday + % if data['yesterday'][kpi]['margin'] != 0.0: + + % if data['yesterday'][kpi]['margin'] > 0.0: + ${"%.2f" % data['yesterday'][kpi]['margin']} % + % endif + % if data['yesterday'][kpi]['margin'] < 0.0: + ${"%.2f" % data['yesterday'][kpi]['margin']} % + % endif + + % endif +
+
+ + + + +
+ ${data['lastweek'][kpi][kpi]}
+ Last 7 Days + % if data['lastweek'][kpi]['margin'] != 0.0: + + % if data['lastweek'][kpi]['margin'] > 0.0: + ${"%.2f" % data['lastweek'][kpi]['margin']} % + % endif + % if data['lastweek'][kpi]['margin'] < 0.0: + ${"%.2f" % data['lastweek'][kpi]['margin']} % + %endif + + %endif +
+
+ + + + +
+ ${data['lastmonth'][kpi][kpi]}
+ Last 30 Days + % if data['lastmonth'][kpi]['margin'] != 0.0: + + % if data['lastmonth'][kpi]['margin'] > 0.0: + ${"%.2f" % data['lastmonth'][kpi]['margin']} % + % endif + % if data['lastmonth'][kpi]['margin'] < 0.0: + ${"%.2f" % data['lastmonth'][kpi]['margin']} % + %endif + + %endif +
+
+
+ % endfor + % if tips: + + + + +

+
${ctx['tip_description']|safe}
+
+ % endif + + + + + + + +

+
Run your business from anywhere with Odoo Mobile.
+
+
+
+
+ + + + +
+ % if user.has_group('base.group_system'): +
+ Want to customize the email? + Choose the metrics you care about +
+
+ % endif +

+ + Sent by + Odoo - Unsubscribe + +

+
+ + + + ]]>
+
+
diff --git a/app_odoo_customize/data/ir_module_module.xml b/app_odoo_customize/data/ir_module_module.xml index 0136eb77..29cbec27 100644 --- a/app_odoo_customize/data/ir_module_module.xml +++ b/app_odoo_customize/data/ir_module_module.xml @@ -1,74 +1,72 @@ - - https://odoo.com/page/studio?utm_source=db&utm_medium=module + https://www.sunpop.cn - https://www.odoo.com/page/timesheet-mobile-app?utm_source=db&utm_medium=module + https://www.sunpop.cn - https://www.odoo.com/page/accounting?utm_source=db&utm_medium=module + https://www.sunpop.cn - https://www.odoo.com/page/helpdesk?utm_source=db&utm_medium=module + https://www.sunpop.cn - https://www.odoo.com/page/appraisal?utm_source=db&utm_medium=module + https://www.sunpop.cn - https://www.odoo.com/page/marketing-automation?utm_source=db&utm_medium=module + https://www.sunpop.cn - https://www.odoo.com/page/mrp-plm?utm_source=db&utm_medium=module + https://www.sunpop.cn - https://www.odoo.com/page/quality-management-software?utm_source=db&utm_medium=module + https://www.sunpop.cn - https://www.odoo.com/page/sales?utm_source=db&utm_medium=module + https://www.sunpop.cn - https://www.odoo.com/page/project?utm_source=db&utm_medium=module + https://www.sunpop.cn - https://www.odoo.com/page/subscriptions?utm_source=db&utm_medium=module + https://www.sunpop.cn - https://www.odoo.com/page/sign?utm_source=db&utm_medium=module + https://www.sunpop.cn - https://www.odoo.com/page/warehouse?utm_source=db&utm_medium=module + https://www.sunpop.cn - https://www.odoo.com/page/crm?utm_source=db&utm_medium=module + https://www.sunpop.cn - https://www.odoo.com/page/appointments?utm_source=db&utm_medium=module + https://www.sunpop.cn - /base/static/img/icons/mrp_workorder.png - https://www.odoo.com/page/mrp-cloud-software?utm_source=db&utm_medium=module + https://www.sunpop.cn - https://play.google.com/store/apps/details?id=com.odoo.mobile + https://www.sunpop.cn diff --git a/app_odoo_customize/static/description/banner.gif b/app_odoo_customize/static/description/banner.gif index 0e52c5de..7c090fb5 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/index.html b/app_odoo_customize/static/description/index.html index 0600a372..15f8cd2d 100644 --- a/app_odoo_customize/static/description/index.html +++ b/app_odoo_customize/static/description/index.html @@ -2,6 +2,11 @@

App Odoo Customize

+

If you are using, you can + + get this app for more customize + +

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

@@ -166,7 +171,7 @@

Customize Module Url(eg. Enterprise).

- +
diff --git a/app_odoo_customize/static/description/set21.jpg b/app_odoo_customize/static/description/set21.jpg index bdb3c94a..b86c19e3 100644 Binary files a/app_odoo_customize/static/description/set21.jpg and b/app_odoo_customize/static/description/set21.jpg differ diff --git a/app_odoo_customize/static/src/xml/dashboard.xml b/app_odoo_customize/static/src/xml/dashboard.xml new file mode 100644 index 00000000..bdc7d346 --- /dev/null +++ b/app_odoo_customize/static/src/xml/dashboard.xml @@ -0,0 +1,22 @@ + + + + + App store + Theme store + + + + + + + + + + + + + + + + diff --git a/app_web_enterprise/__manifest__.py b/app_web_enterprise/__manifest__.py index 28e8f2ad..9e53df99 100644 --- a/app_web_enterprise/__manifest__.py +++ b/app_web_enterprise/__manifest__.py @@ -18,7 +18,7 @@ { 'name': "App web enterprise enhance,企业版界面增强", - 'version': '12.19.04.14', + 'version': '12.19.04.17', 'author': 'Sunpop.cn', 'category': 'Base', 'website': 'https://www.sunpop.cn', @@ -42,7 +42,10 @@ """, 'price': 68.00, 'currency': 'EUR', - 'depends': ['web_enterprise'], + 'depends': [ + 'web_enterprise', + 'web_mobile' + ], 'images': [], 'data': [ 'views/webclient_templates.xml', diff --git a/app_web_enterprise/static/description/index.html b/app_web_enterprise/static/description/index.html index a664f430..c16538cd 100644 --- a/app_web_enterprise/static/description/index.html +++ b/app_web_enterprise/static/description/index.html @@ -31,6 +31,17 @@
+ +
+
+

Customize Module Url(eg. Enterprise).

+
+
+ +
+
+
diff --git a/app_web_enterprise/static/description/set21.jpg b/app_web_enterprise/static/description/set21.jpg new file mode 100644 index 00000000..b86c19e3 Binary files /dev/null and b/app_web_enterprise/static/description/set21.jpg differ diff --git a/app_web_enterprise/static/src/xml/dashboard.xml b/app_web_enterprise/static/src/xml/dashboard.xml new file mode 100644 index 00000000..48601ec9 --- /dev/null +++ b/app_web_enterprise/static/src/xml/dashboard.xml @@ -0,0 +1,16 @@ + + + + + + + On Google Play + + + + + On Apple Store + + + +