sudo vim ./web_settings_dashboard/static/src/xml/dashboard.xml
<t t-name="DashboardApps">
<div class="text-center o_web_settings_dashboard_apps">
<i class="fa fa-cog fa-4x text-muted o_browse_apps" style="cursor: pointer;"></i>
<div class="o_web_settings_dashboard_header">
<t t-set="installed_apps" t-value="widget.data.installed_apps"/>
<t t-if="installed_apps">
<t t-esc="installed_apps"></t>
<t t-if="installed_apps == 1">Installed App</t>
<t t-if="installed_apps > 1">Installed Apps</t>
</t>
<t t-if="! installed_apps">
No app installed
</t>
</div>
<div>
<a class="btn btn-primary btn-block o_browse_apps" role="button"><strong>Browse Apps</strong></a>
</div>
<!-- div class="o_web_settings_dashboard_pills">
<a href="https://www.odoo.com/apps/modules" target="_blank" class="pull-left"><i class="fa fa-rocket fa-2x text-muted"/> App store</a>
<a href="https://www.odoo.com/apps/themes" target="_blank" class="pull-right"><i class="fa fa-picture-o fa-2x text-muted"/> Theme store</a>
</div -->
<div class="clearfix"/>
</div>
</t>
kedua
<t t-name="DashboardPlanner">
<div class="text-center o_web_settings_dashboard_planner">
<i class="fa fa-check-square-o fa-4x text-muted"></i>
<div class="o_web_settings_dashboard_header">
<span class="o_web_settings_dashboard_planner_overall_progress"><t t-esc="widget.overall_progress"></t></span>%
Implementation
</div>
<div>
<small class="text-muted text-center o_web_settings_dashboard_compact_subtitle">
Follow these implementation guides to get the most.
</small>
</div>
<hr/>
<t t-set="planners" t-value="widget.planners"/>
<t t-call="DashboardPlanner.PlannersList"/>
<hr/>
<!--
Need more help? <a target="_blank" href="https://www.odoo.com/documentation/user">Browse the documentation.</a>
-->
</div>
</t>
Ketiga
<t t-name="DashboardShare">
<div class="text-center o_web_settings_dashboard_share">
<i class="fa fa-share-alt fa-4x text-muted"/>
<div class="o_web_settings_dashboard_header">Share the Love</div>
<div>
<small class="text-muted text-center o_web_settings_dashboard_compact_subtitle">
Help us spread the word: Share App's awesomeness with your friends!
</small>
</div>
<div class="row mt16">
<div class="col-xs-4"><a href="#"><i class="fa fa-twitter-square fa-4x tw_share"/></a></div>
<div class="col-xs-4"><a href="#"><i class="fa fa-facebook-square fa-4x fb_share"/></a></div>
<div class="col-xs-4"><a href="#"><i class="fa fa-linkedin-square fa-4x li_share"/></a></div>
</div>
<hr/>
<t t-set="server_version" t-value="widget.data.server_version"/>
<t t-set="debug" t-value="widget.data.debug"/>
<!-- div class="row">
<div class="text-center">
<div class="user-heading">
<h3>
Odoo <t t-esc="server_version"/>
(Community Edition)
</h3>
</div>
<div>
<div class="tab-content">
<div id="settings" class="tab-pane active text-muted text-center o_web_settings_dashboard_compact_subtitle">
<small>Copyright © 2004-2016 <a target="_blank" href="https://www.odoo.com" style="text-decoration: underline;">Odoo S.A.</a> <a target="_blank" href="http://www.gnu.org/licenses/lgpl.html" style="text-decoration: underline;">GNU LGPL Licensed</a></small>
</div>
</div>
</div>
</div>
</div -->
<hr/>
<div class="row">
<div class="col-md-12">
<a t-if="debug != true" class="oe_activate_debug_mode pull-right" href="?debug" >Activate the developer mode</a>
<br t-if="debug != true"/>
<a t-if="debug != 'assets'" class="oe_activate_debug_mode pull-right" href="?debug=assets" >Activate the developer mode (with assets)</a>
<br t-if="debug != 'assets'"/>
<a t-if="debug != false" class="oe_activate_debug_mode pull-right" href="/web" >Deactivate the developer mode</a>
</div>
</div>
</div>
</t>
ke empat
<t t-name="DashboardEnterprise">
<hr class="mt16"/>
<!-- div class="text-center o_web_settings_dashboard_enterprise">
<div class="text-center o_web_settings_dashboard_enterprise">
<div class="text-center o_web_settings_dashboard_header">Odoo Enterprise</div>
<div class="mb16"><a href="http://www.odoo.com/editions" target="_blank">Get more features with the Enterprise Edition!</a></div>
<div><img class="img img-responsive" t-att-src='_s + "/web/static/src/img/enterprise_upgrade.jpg"'/></div>
<div>
<a class="btn btn-primary btn-block o_confirm_upgrade" role="button"><strong>Upgrade Now</strong></a>
</div>
</div>
</div -->
</t>
vim ./addons/mail/static/src/js/client_action.js
see :
_onRequestNotificationPermission: function (event) {
then
sudo vim ./addons/mail/static/src/xml/client_action.xml
see : <span class="o_mail_request_permission">
untuk dialog box title dlsb ada di sini
sudo vim addons/web/static/src/js/services/crash_manager.js
dan sudo vim addons/web/static/src/js/core/dialog.js
..show all:.
.
sudo vim ./web_settings_dashboard/static/src/xml/dashboard.xml
<t t-name="DashboardApps">
<div class="text-center o_web_settings_dashboard_apps">
<i class="fa fa-cog fa-4x text-muted o_browse_apps" style="cursor: pointer;"></i>
<div class="o_web_settings_dashboard_header">
<t t-set="installed_apps" t-value="widget.data.installed_apps"/>
<t t-if="installed_apps">
<t t-esc="installed_apps"></t>
<t t-if="installed_apps == 1">Installed App</t>
<t t-if="installed_apps > 1">Installed Apps</t>
</t>
<t t-if="! installed_apps">
No app installed
</t>
</div>
<div>
<a class="btn btn-primary btn-block o_browse_apps" role="button"><strong>Browse Apps</strong></a>
</div>
<!-- div class="o_web_settings_dashboard_pills">
<a href="https://www.odoo.com/apps/modules" target="_blank" class="pull-left"><i class="fa fa-rocket fa-2x text-muted"/> App store</a>
<a href="https://www.odoo.com/apps/themes" target="_blank" class="pull-right"><i class="fa fa-picture-o fa-2x text-muted"/> Theme store</a>
</div -->
<div class="clearfix"/>
</div>
</t>
kedua
<t t-name="DashboardPlanner">
<div class="text-center o_web_settings_dashboard_planner">
<i class="fa fa-check-square-o fa-4x text-muted"></i>
<div class="o_web_settings_dashboard_header">
<span class="o_web_settings_dashboard_planner_overall_progress"><t t-esc="widget.overall_progress"></t></span>%
Implementation
</div>
<div>
<small class="text-muted text-center o_web_settings_dashboard_compact_subtitle">
Follow these implementation guides to get the most.
</small>
</div>
<hr/>
<t t-set="planners" t-value="widget.planners"/>
<t t-call="DashboardPlanner.PlannersList"/>
<hr/>
<!--
Need more help? <a target="_blank" href="https://www.odoo.com/documentation/user">Browse the documentation.</a>
-->
</div>
</t>
Ketiga
<t t-name="DashboardShare">
<div class="text-center o_web_settings_dashboard_share">
<i class="fa fa-share-alt fa-4x text-muted"/>
<div class="o_web_settings_dashboard_header">Share the Love</div>
<div>
<small class="text-muted text-center o_web_settings_dashboard_compact_subtitle">
Help us spread the word: Share App's awesomeness with your friends!
</small>
</div>
<div class="row mt16">
<div class="col-xs-4"><a href="#"><i class="fa fa-twitter-square fa-4x tw_share"/></a></div>
<div class="col-xs-4"><a href="#"><i class="fa fa-facebook-square fa-4x fb_share"/></a></div>
<div class="col-xs-4"><a href="#"><i class="fa fa-linkedin-square fa-4x li_share"/></a></div>
</div>
<hr/>
<t t-set="server_version" t-value="widget.data.server_version"/>
<t t-set="debug" t-value="widget.data.debug"/>
<!-- div class="row">
<div class="text-center">
<div class="user-heading">
<h3>
Odoo <t t-esc="server_version"/>
(Community Edition)
</h3>
</div>
<div>
<div class="tab-content">
<div id="settings" class="tab-pane active text-muted text-center o_web_settings_dashboard_compact_subtitle">
<small>Copyright © 2004-2016 <a target="_blank" href="https://www.odoo.com" style="text-decoration: underline;">Odoo S.A.</a> <a target="_blank" href="http://www.gnu.org/licenses/lgpl.html" style="text-decoration: underline;">GNU LGPL Licensed</a></small>
</div>
</div>
</div>
</div>
</div -->
<hr/>
<div class="row">
<div class="col-md-12">
<a t-if="debug != true" class="oe_activate_debug_mode pull-right" href="?debug" >Activate the developer mode</a>
<br t-if="debug != true"/>
<a t-if="debug != 'assets'" class="oe_activate_debug_mode pull-right" href="?debug=assets" >Activate the developer mode (with assets)</a>
<br t-if="debug != 'assets'"/>
<a t-if="debug != false" class="oe_activate_debug_mode pull-right" href="/web" >Deactivate the developer mode</a>
</div>
</div>
</div>
</t>
ke empat
<t t-name="DashboardEnterprise">
<hr class="mt16"/>
<!-- div class="text-center o_web_settings_dashboard_enterprise">
<div class="text-center o_web_settings_dashboard_enterprise">
<div class="text-center o_web_settings_dashboard_header">Odoo Enterprise</div>
<div class="mb16"><a href="http://www.odoo.com/editions" target="_blank">Get more features with the Enterprise Edition!</a></div>
<div><img class="img img-responsive" t-att-src='_s + "/web/static/src/img/enterprise_upgrade.jpg"'/></div>
<div>
<a class="btn btn-primary btn-block o_confirm_upgrade" role="button"><strong>Upgrade Now</strong></a>
</div>
</div>
</div -->
</t>
vim ./addons/mail/static/src/js/client_action.js
see :
_onRequestNotificationPermission: function (event) {
then
sudo vim ./addons/mail/static/src/xml/client_action.xml
see : <span class="o_mail_request_permission">
untuk dialog box title dlsb ada di sini
sudo vim addons/web/static/src/js/services/crash_manager.js
dan sudo vim addons/web/static/src/js/core/dialog.js
No comments:
Post a Comment