mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update odoo customize
This commit is contained in:
@@ -71,7 +71,16 @@
|
|||||||
The user can get the help document just by one click.
|
The user can get the help document just by one click.
|
||||||
""",
|
""",
|
||||||
'images': ['static/description/banner.gif'],
|
'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': [
|
'data': [
|
||||||
'views/app_odoo_customize_view.xml',
|
'views/app_odoo_customize_view.xml',
|
||||||
'views/app_theme_config_settings_view.xml',
|
'views/app_theme_config_settings_view.xml',
|
||||||
@@ -79,6 +88,7 @@
|
|||||||
# data
|
# data
|
||||||
'data/ir_config_parameter.xml',
|
'data/ir_config_parameter.xml',
|
||||||
'data/ir_module_module.xml',
|
'data/ir_module_module.xml',
|
||||||
|
# 'data/digest_template_data.xml',
|
||||||
'data/res_company_data.xml',
|
'data/res_company_data.xml',
|
||||||
'data/res_groups.xml',
|
'data/res_groups.xml',
|
||||||
'security/ir.model.access.csv',
|
'security/ir.model.access.csv',
|
||||||
|
|||||||
156
app_odoo_customize/data/digest_template_data.xml
Normal file
156
app_odoo_customize/data/digest_template_data.xml
Normal file
@@ -0,0 +1,156 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<odoo>
|
||||||
|
<record id="digest.digest_mail_template" model="mail.template">
|
||||||
|
<field name="body_html"><![CDATA[
|
||||||
|
<table style="width: 100%; border-spacing: 0; font-family: Helvetica,Arial,Verdana,sans-serif;">
|
||||||
|
<tr>
|
||||||
|
<td align="center" valign="top" style="border-collapse: collapse; padding: 0">
|
||||||
|
% 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()
|
||||||
|
<table style="width: 100%; max-width: 600px; border-spacing: 0; border: 1px solid #e7e7e7; border-bottom: none; color: #6e7172; line-height: 23px; text-align: left;">
|
||||||
|
<tr>
|
||||||
|
<td style="border-collapse: collapse; padding: 10px 40px; text-align: left;">
|
||||||
|
<strong style="margin-left: -22px; color: #000000; font-size: 22px; line-height: 32px;">${company.name} at a glance</strong>
|
||||||
|
<div style="color: #000000; font-size: 15px; margin-left:-22px;">${datetime.date.today().strftime('%B %d, %Y')}</div>
|
||||||
|
</td>
|
||||||
|
<td style="text-align: right; padding: 10px 40px">
|
||||||
|
<img style="padding: 0px; margin: 0px; height: auto; width: 80px;" src="/logo.png?company=${company.id}"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr><td colspan="2" style="text-align: center;">
|
||||||
|
<hr width="95%" style="background-color: rgb(204,204,204); border: medium none; clear: both; display: block; font-size: 0px; min-height: 1px; line-height: 0; margin: 16px 0px 16px 14px;"/>
|
||||||
|
</td></tr>
|
||||||
|
</table>
|
||||||
|
% for kpi in kpis:
|
||||||
|
<table style="border-spacing: 0; width: 100%; max-width: 600px;">
|
||||||
|
<tr>
|
||||||
|
<td style="border-collapse: collapse; background-color: #ffffff; border-left: 1px solid #e7e7e7; border-right: 1px solid #e7e7e7; line-height: 21px; padding: 0 20px 10px 20px; text-align: left;"><br/>
|
||||||
|
<span style="color: #3d466e; font-size: 18px; font-weight: 500; line-height: 23px;">${object.fields_get()[kpi]['string']}</span>
|
||||||
|
%if kpi in kpi_actions:
|
||||||
|
<span style="float: right;">
|
||||||
|
<a href="/web#action=${kpi_actions[kpi]}">View more</a>
|
||||||
|
</span>
|
||||||
|
%endif
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="border-collapse: collapse; margin: 0; padding:0;">
|
||||||
|
<table style="width: 100%; border-spacing: 0; background-color: #f9f9f9; border: 1px solid #e7e7e7; border-top: none;">
|
||||||
|
<tr>
|
||||||
|
<td style="border-collapse: collapse; margin: 0; padding: 0; display: block; border-top: 2px solid #56b3b5;">
|
||||||
|
<table style="width: 100%; max-width: 199px; border-spacing: 0;">
|
||||||
|
<tr>
|
||||||
|
<td style="border-collapse: collapse; padding: 20px; text-align: center;">
|
||||||
|
<span style="color: #56b3b5; font-size: 35px; font-weight: bold; text-decoration: none; line-height: 36px;">${data['yesterday'][kpi][kpi]}</span><br/>
|
||||||
|
<span style="color: #888888; display: inline-block; font-size: 12px; line-height: 18px; text-transform: uppercase;">Yesterday</span>
|
||||||
|
% if data['yesterday'][kpi]['margin'] != 0.0:
|
||||||
|
<span style="color: #888888; display: block; font-size: 12px; line-height: 18px; text-transform: uppercase;">
|
||||||
|
% if data['yesterday'][kpi]['margin'] > 0.0:
|
||||||
|
<span style="color: #0bbc22;">▲</span>${"%.2f" % data['yesterday'][kpi]['margin']} %
|
||||||
|
% endif
|
||||||
|
% if data['yesterday'][kpi]['margin'] < 0.0:
|
||||||
|
<span style="color: #ff0000;">▼</span>${"%.2f" % data['yesterday'][kpi]['margin']} %
|
||||||
|
% endif
|
||||||
|
</span>
|
||||||
|
% endif
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td style="border-collapse: collapse; margin: 0; padding: 0; border-top: 2px solid #9a5b82;">
|
||||||
|
<table style="width: 100%; max-width: 199px; border-spacing: 0; margin: 0; padding: 0;">
|
||||||
|
<tr>
|
||||||
|
<td style="border-collapse: collapse; padding: 20px; text-align: center;">
|
||||||
|
<span style="color: #9a5b82; font-size: 35px; font-weight: bold; text-decoration: none; line-height: 36px;">${data['lastweek'][kpi][kpi]}</span><br/>
|
||||||
|
<span style="color: #888888; display: inline-block; font-size: 12px; line-height: 18px; text-transform: uppercase;">Last 7 Days</span>
|
||||||
|
% if data['lastweek'][kpi]['margin'] != 0.0:
|
||||||
|
<span style="color: #888888; display: block; font-size: 12px; line-height: 18px; text-transform: uppercase;">
|
||||||
|
% if data['lastweek'][kpi]['margin'] > 0.0:
|
||||||
|
<span style="color: #0bbc22;">▲</span>${"%.2f" % data['lastweek'][kpi]['margin']} %
|
||||||
|
% endif
|
||||||
|
% if data['lastweek'][kpi]['margin'] < 0.0:
|
||||||
|
<span style="color: #ff0000;">▼</span>${"%.2f" % data['lastweek'][kpi]['margin']} %
|
||||||
|
%endif
|
||||||
|
</span>
|
||||||
|
%endif
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td style="border-collapse: collapse; margin: 0; padding: 0; border-top: 2px solid #56b3b5;">
|
||||||
|
<table style="width: 100%; max-width: 199px; border-spacing: 0; margin: 0; padding: 0;">
|
||||||
|
<tr>
|
||||||
|
<td style="border-collapse: collapse; margin: 0; padding: 20; text-align: center;">
|
||||||
|
<span style="color: #56b3b5; font-size: 35px; font-weight: bold; text-decoration: none; line-height: 36px">${data['lastmonth'][kpi][kpi]}</span><br/>
|
||||||
|
<span style="color: #888888; display: inline-block; font-size: 12px; line-height: 18px; text-transform: uppercase;">Last 30 Days</span>
|
||||||
|
% if data['lastmonth'][kpi]['margin'] != 0.0:
|
||||||
|
<span style="color: #888888; display: block; font-size: 12px; line-height: 18px; text-transform: uppercase;">
|
||||||
|
% if data['lastmonth'][kpi]['margin'] > 0.0:
|
||||||
|
<span style="color: #0bbc22;">▲</span>${"%.2f" % data['lastmonth'][kpi]['margin']} %
|
||||||
|
% endif
|
||||||
|
% if data['lastmonth'][kpi]['margin'] < 0.0:
|
||||||
|
<span style="color: #ff0000;">▼</span>${"%.2f" % data['lastmonth'][kpi]['margin']} %
|
||||||
|
%endif
|
||||||
|
</span>
|
||||||
|
%endif
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
% endfor
|
||||||
|
% if tips:
|
||||||
|
<table style="width: 100%; max-width: 600px; margin-top: 5px; border: 1px solid #e7e7e7;">
|
||||||
|
<tr>
|
||||||
|
<td style="border-collapse: collapse; background-color: #ffffff; line-height: 21px; padding: 0px 20px;"><br/>
|
||||||
|
<div style="color: #3d466e; line-height: 23px;">${ctx['tip_description']|safe}</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
% endif
|
||||||
|
<table style="width: 100%; max-width: 600px; margin-top: 5px; border: 1px solid #e7e7e7;">
|
||||||
|
<tr>
|
||||||
|
<td style="border-collapse: collapse; background-color: #ffffff; line-height: 21px; padding: 0 20px 10px 20px; text-align: center;"><br/>
|
||||||
|
<div style="color: #3d466e; font-size: 16px; font-weight: 600; line-height: 23px;">Run your business from anywhere with Odoo Mobile.</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<div style="text-align: center;"><a href="https://www.sunpop.cn" target="_blank"><img src="/digest/static/src/img/google_play.png" style="display: inline-block; height: 30px; margin-left: auto; margin-right: 12px;"/></a><a href="https://www.sunpop.cn" target="_blank"><img src="/digest/static/src/img/app_store.png" style="display: inline-block; height: 30px; margin-left: 12px; margin-right: auto;"/></a>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<table style="margin-top: 5px; border: 1px solid #e7e7e7; font-size: 15px; width: 100%; max-width: 600px;">
|
||||||
|
<tr>
|
||||||
|
<td style="border-collapse: collapse; margin: 0; padding: 10px 20px;">
|
||||||
|
% if user.has_group('base.group_system'):
|
||||||
|
<div style="margin-top: 20px;">
|
||||||
|
Want to customize the email?
|
||||||
|
<a href="/web#view_type=form&model=digest.digest&id=${object.id}" target="_blank" style="color: #875A7B;">Choose the metrics you care about</a>
|
||||||
|
</div>
|
||||||
|
<br />
|
||||||
|
% endif
|
||||||
|
<p style="font-size: 11px; margin-top: 10px;">
|
||||||
|
<strong>
|
||||||
|
Sent by
|
||||||
|
<a href="https://www.odoo.com" style="text-decoration: none; color: #875A7B;">Odoo</a> - <a href="/web#view_type=form&model=digest.digest&id=${object.id}" target="_blank" style="color: #888888;">Unsubscribe</a>
|
||||||
|
</strong>
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
]]></field>
|
||||||
|
</record>
|
||||||
|
</odoo>
|
||||||
@@ -1,74 +1,72 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<odoo>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
|
|
||||||
<record model="ir.module.module" id="base.module_web_studio">
|
<record model="ir.module.module" id="base.module_web_studio">
|
||||||
<field name="website">https://odoo.com/page/studio?utm_source=db&utm_medium=module</field>
|
<field name="website">https://www.sunpop.cn</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record model="ir.module.module" id="base.module_timesheet_grid">
|
<record model="ir.module.module" id="base.module_timesheet_grid">
|
||||||
<field name="website">https://www.odoo.com/page/timesheet-mobile-app?utm_source=db&utm_medium=module</field>
|
<field name="website">https://www.sunpop.cn</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record model="ir.module.module" id="base.module_account_accountant">
|
<record model="ir.module.module" id="base.module_account_accountant">
|
||||||
<field name="website">https://www.odoo.com/page/accounting?utm_source=db&utm_medium=module</field>
|
<field name="website">https://www.sunpop.cn</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record model="ir.module.module" id="base.module_helpdesk">
|
<record model="ir.module.module" id="base.module_helpdesk">
|
||||||
<field name="website">https://www.odoo.com/page/helpdesk?utm_source=db&utm_medium=module</field>
|
<field name="website">https://www.sunpop.cn</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record model="ir.module.module" id="base.module_hr_appraisal">
|
<record model="ir.module.module" id="base.module_hr_appraisal">
|
||||||
<field name="website">https://www.odoo.com/page/appraisal?utm_source=db&utm_medium=module</field>
|
<field name="website">https://www.sunpop.cn</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record model="ir.module.module" id="base.module_marketing_automation">
|
<record model="ir.module.module" id="base.module_marketing_automation">
|
||||||
<field name="website">https://www.odoo.com/page/marketing-automation?utm_source=db&utm_medium=module</field>
|
<field name="website">https://www.sunpop.cn</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record model="ir.module.module" id="base.module_mrp_plm">
|
<record model="ir.module.module" id="base.module_mrp_plm">
|
||||||
<field name="website">https://www.odoo.com/page/mrp-plm?utm_source=db&utm_medium=module</field>
|
<field name="website">https://www.sunpop.cn</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record model="ir.module.module" id="base.module_quality_control">
|
<record model="ir.module.module" id="base.module_quality_control">
|
||||||
<field name="website">https://www.odoo.com/page/quality-management-software?utm_source=db&utm_medium=module</field>
|
<field name="website">https://www.sunpop.cn</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record model="ir.module.module" id="base.module_sale_ebay">
|
<record model="ir.module.module" id="base.module_sale_ebay">
|
||||||
<field name="website">https://www.odoo.com/page/sales?utm_source=db&utm_medium=module</field>
|
<field name="website">https://www.sunpop.cn</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record model="ir.module.module" id="base.module_project_forecast">
|
<record model="ir.module.module" id="base.module_project_forecast">
|
||||||
<field name="website">https://www.odoo.com/page/project?utm_source=db&utm_medium=module</field>
|
<field name="website">https://www.sunpop.cn</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record model="ir.module.module" id="base.module_sale_subscription">
|
<record model="ir.module.module" id="base.module_sale_subscription">
|
||||||
<field name="website">https://www.odoo.com/page/subscriptions?utm_source=db&utm_medium=module</field>
|
<field name="website">https://www.sunpop.cn</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record model="ir.module.module" id="base.module_sign">
|
<record model="ir.module.module" id="base.module_sign">
|
||||||
<field name="website">https://www.odoo.com/page/sign?utm_source=db&utm_medium=module</field>
|
<field name="website">https://www.sunpop.cn</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record model="ir.module.module" id="base.module_stock_barcode">
|
<record model="ir.module.module" id="base.module_stock_barcode">
|
||||||
<field name="website">https://www.odoo.com/page/warehouse?utm_source=db&utm_medium=module</field>
|
<field name="website">https://www.sunpop.cn</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record model="ir.module.module" id="base.module_voip">
|
<record model="ir.module.module" id="base.module_voip">
|
||||||
<field name="website">https://www.odoo.com/page/crm?utm_source=db&utm_medium=module</field>
|
<field name="website">https://www.sunpop.cn</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record model="ir.module.module" id="base.module_website_calendar">
|
<record model="ir.module.module" id="base.module_website_calendar">
|
||||||
<field name="website">https://www.odoo.com/page/appointments?utm_source=db&utm_medium=module</field>
|
<field name="website">https://www.sunpop.cn</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record model="ir.module.module" id="base.module_mrp_workorder">
|
<record model="ir.module.module" id="base.module_mrp_workorder">
|
||||||
<field name="icon">/base/static/img/icons/mrp_workorder.png</field>
|
<field name="website">https://www.sunpop.cn</field>
|
||||||
<field name="website">https://www.odoo.com/page/mrp-cloud-software?utm_source=db&utm_medium=module</field>
|
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record model="ir.module.module" id="base.module_web_mobile">
|
<record model="ir.module.module" id="base.module_web_mobile">
|
||||||
<field name="website">https://play.google.com/store/apps/details?id=com.odoo.mobile</field>
|
<field name="website">https://www.sunpop.cn</field>
|
||||||
</record>
|
</record>
|
||||||
</data>
|
</data>
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 215 KiB After Width: | Height: | Size: 217 KiB |
@@ -2,6 +2,11 @@
|
|||||||
<div class="oe_row oe_spaced" style="max-width: 95%;">
|
<div class="oe_row oe_spaced" style="max-width: 95%;">
|
||||||
<div class="oe_span12">
|
<div class="oe_span12">
|
||||||
<h2 class="oe_slogan">App Odoo Customize</h2>
|
<h2 class="oe_slogan">App Odoo Customize</h2>
|
||||||
|
<h1 class="text-danger text-center">If you are using, you can
|
||||||
|
<a href="https://www.odoo.com/apps/modules/12.0/app_web_enterprise/" target="_blank">
|
||||||
|
get this app for more customize
|
||||||
|
</a>
|
||||||
|
</h1>
|
||||||
<div class="oe_demo" style=" margin: 30px auto 0; padding: 0 15px 0 0; border:none; width: 96%;">
|
<div class="oe_demo" style=" margin: 30px auto 0; padding: 0 15px 0 0; border:none; width: 96%;">
|
||||||
<p>This moduld allows user to quickly customize and debranding Odoo. Quick debug, Language Switcher,
|
<p>This moduld allows user to quickly customize and debranding Odoo. Quick debug, Language Switcher,
|
||||||
Online Documentation Access,Quick Data Clear. </p>
|
Online Documentation Access,Quick Data Clear. </p>
|
||||||
@@ -166,7 +171,7 @@
|
|||||||
<h2 class='oe_mt32'>Customize Module Url(eg. Enterprise).</h2>
|
<h2 class='oe_mt32'>Customize Module Url(eg. Enterprise).</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="oe_demo oe_screenshot">
|
<div class="oe_demo oe_screenshot">
|
||||||
<img src="set21.jpg" style="border:1px solid black"/>
|
<img src="set21jpg" style="border:1px solid black"/>
|
||||||
<br/>
|
<br/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 76 KiB |
22
app_odoo_customize/static/src/xml/dashboard.xml
Normal file
22
app_odoo_customize/static/src/xml/dashboard.xml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<templates xml:space="preserve">
|
||||||
|
<t t-extend="DashboardApps">
|
||||||
|
<t t-jquery=".o_web_settings_dashboard_pills" t-operation="replace">
|
||||||
|
<a href="https://www.sunpop.cn" target="_blank" class="flex-grow-1 w-25"><i class="fa fa-lg fa-rocket text-muted"/> App store</a>
|
||||||
|
<a href="https://www.sunpop.cn" target="_blank" class="flex-grow-1 w-25"><i class="fa fa-lg fa-picture-o text-muted"/> Theme store</a>
|
||||||
|
</t>
|
||||||
|
</t>
|
||||||
|
<!-- when enterprise-->
|
||||||
|
<!-- <t t-extend="DashboardMain">-->
|
||||||
|
<!-- <t t-jquery="a[href='https://play.google.com/store/apps/details?id=com.odoo.mobile']" t-operation="replace">-->
|
||||||
|
<!-- <a class="d-block mx-auto" href="https://www.sunpop.cn" target="_blank">-->
|
||||||
|
<!-- <img class="d-block mx-auto img img-fluid" src="/web_mobile/static/src/img/google_play.png" alt="On Google Play"/>-->
|
||||||
|
<!-- </a>-->
|
||||||
|
<!-- </t>-->
|
||||||
|
<!-- <t t-jquery="a[href='https://itunes.apple.com/us/app/odoo/id1272543640']" t-operation="replace">-->
|
||||||
|
<!-- <a class="d-block mx-auto" href="https://www.sunpop.cn" target="_blank">-->
|
||||||
|
<!-- <img class="d-block mx-auto img img-fluid" src="/web_mobile/static/src/img/app_store.png" alt="On Apple Store"/>-->
|
||||||
|
<!-- </a>-->
|
||||||
|
<!-- </t>-->
|
||||||
|
<!-- </t>-->
|
||||||
|
</templates>
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': "App web enterprise enhance,企业版界面增强",
|
'name': "App web enterprise enhance,企业版界面增强",
|
||||||
'version': '12.19.04.14',
|
'version': '12.19.04.17',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Base',
|
'category': 'Base',
|
||||||
'website': 'https://www.sunpop.cn',
|
'website': 'https://www.sunpop.cn',
|
||||||
@@ -42,7 +42,10 @@
|
|||||||
""",
|
""",
|
||||||
'price': 68.00,
|
'price': 68.00,
|
||||||
'currency': 'EUR',
|
'currency': 'EUR',
|
||||||
'depends': ['web_enterprise'],
|
'depends': [
|
||||||
|
'web_enterprise',
|
||||||
|
'web_mobile'
|
||||||
|
],
|
||||||
'images': [],
|
'images': [],
|
||||||
'data': [
|
'data': [
|
||||||
'views/webclient_templates.xml',
|
'views/webclient_templates.xml',
|
||||||
|
|||||||
@@ -31,6 +31,17 @@
|
|||||||
<img src="b03.png" style="border:1px solid black"/>
|
<img src="b03.png" style="border:1px solid black"/>
|
||||||
<br/>
|
<br/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="oe_row oe_spaced" style="max-width: 95%;">
|
||||||
|
<div class="oe_demo"
|
||||||
|
style="margin: 20px auto; padding: 0 15px 0 0; border:none; border-top:solid 1px #dedede; width: 96%;">
|
||||||
|
<h2 class='oe_mt32'>Customize Module Url(eg. Enterprise).</h2>
|
||||||
|
</div>
|
||||||
|
<div class="oe_demo oe_screenshot">
|
||||||
|
<img src="set21jpg" style="border:1px solid black"/>
|
||||||
|
<br/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
BIN
app_web_enterprise/static/description/set21.jpg
Normal file
BIN
app_web_enterprise/static/description/set21.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 76 KiB |
16
app_web_enterprise/static/src/xml/dashboard.xml
Normal file
16
app_web_enterprise/static/src/xml/dashboard.xml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<templates xml:space="preserve">
|
||||||
|
<!-- when enterprise-->
|
||||||
|
<t t-extend="DashboardMain">
|
||||||
|
<t t-jquery="a[href='https://play.google.com/store/apps/details?id=com.odoo.mobile']" t-operation="replace">
|
||||||
|
<a class="d-block mx-auto" href="https://www.sunpop.cn" target="_blank">
|
||||||
|
<img class="d-block mx-auto img img-fluid" src="/web_mobile/static/src/img/google_play.png" alt="On Google Play"/>
|
||||||
|
</a>
|
||||||
|
</t>
|
||||||
|
<t t-jquery="a[href='https://itunes.apple.com/us/app/odoo/id1272543640']" t-operation="replace">
|
||||||
|
<a class="d-block mx-auto" href="https://www.sunpop.cn" target="_blank">
|
||||||
|
<img class="d-block mx-auto img img-fluid" src="/web_mobile/static/src/img/app_store.png" alt="On Apple Store"/>
|
||||||
|
</a>
|
||||||
|
</t>
|
||||||
|
</t>
|
||||||
|
</templates>
|
||||||
Reference in New Issue
Block a user