Files
app-odoo/app_ui_enhance/static/description/index.html
2017-12-13 14:07:23 +08:00

132 lines
6.4 KiB
HTML

<section class="oe_container">
<div class="oe_row oe_spaced" style="max-width: 800px;">
<div class="oe_span12">
<h2 class="oe_slogan">App Search By Date or Number Range</h2>
<div class="oe_demo" style=" margin: 30px auto 0; padding: 0 15px 0 0; border:none; width: 96%;">
<h3>Please install <a href="https://www.odoo.com/apps/modules/10.0/app_odoo_customize/" target="_blank">app_odoo_customize</a> First.</h3>
<p>This moduld allows user to Search by date or number range in List view and Pivot view. </p>
<br>
<ul>
<li>1.List all the date/datetime field to select range</li>
<li>2.List all the integer/float/Monetary field to select range</li>
<li>3.Auto get user timezone, global Timezone supported.</li>
<li>4.Easy admin to enable/disable the search.</li>
</ul>
</div>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">Date range</h2>
<div class="oe_demo oe_picture oe_screenshot">
<img src="date_range.jpg">
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">Value range</h2>
<div class="oe_demo oe_picture oe_screenshot">
<img src="value_range.jpg">
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">Pivot View</h2>
<div class="oe_demo oe_picture oe_screenshot">
<img src="list_pivot.jpg">
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan" style="color:#875A7B;">How to setup</h2>
<h4> There are 2 way to setup</h4>
<p>1.Go to Menu: Settings->odooApp->UI Enhance</p>
<p>Setup whate you need</p>
<div class="oe_demo oe_picture oe_screenshot">
<img src="setup1.jpg">
</div>
<p>2. Go to Menu: Settings->Technical->Parameters->System Parameters</p>
<p>You can find "app_ui_show_search_date" and "app_ui_show_search_number"</p>
<p>Go to Menu: Settings->Technical->Parameters->System Parameters.</p>
<p>Set the Value to "False" if you do not want to show the search. And set "True" to show.</p>
<div class="oe_demo oe_picture oe_screenshot">
<img src="setup2.jpg">
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced" style="max-width: 800px;">
<div class="oe_span12">
<h2 class="oe_slogan">Web list View Background Color</h2>
<div class="oe_demo" style=" margin: 30px auto 0; padding: 0 15px 0 0; border:none; width: 96%;">
<p>This module changes the line color of records based on condition like state of a record and helps distinguish between different sets of
records based on condition.</p>
<a href="http://www.sunpop.cn" target="_blank">
<img src="odoo_web_tree_bg_color.png" width="100%">
<p>Set Backgroud color to filed in list view based on condition same as colors and style attributes of tree view.</p>
</a>
<h3># Instructions for Activating List background color property</h3>
<p>
Just add tree attribute like style and colors with condition you want.
</p>
<pre>bg_colors="grey:state=='cancel';green:state=='draft';blue:state in ('done');red:state in ('waiting')"</pre>
<h3>eg.</h3>
<pre class="">
&lt;record id="view_demo_tree" model="ir.ui.view"&gt;
&lt;field name="name"&gt;demo.tree&lt;/field&gt;
&lt;field name="model"&gt;demo.model&lt;/field&gt;
&lt;field name="arch" type="xml"&gt;
&lt;tree bg_colors="grey:state=='cancel';green:state=='draft';blue:state in ('done');red:state in ('waiting')" name="demo_tree"&gt;
&lt;field name="name" string="Appointment" /&gt;
&lt;field name="state" /&gt;
&lt;/tree&gt;
&lt;/field&gt;
&lt;/record&gt;
</pre>
</div>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced text-center">
<div class="oe_span12">
<h2 class="oe_slogan">Technical Help & Support</h2>
</div>
<div class="col-md-12 pad0">
<div class="oe_mt16">
<p><h4>
For any type of technical help & support requests, Feel free to contact us</h4></p>
<a style="background: #002e5a none repeat scroll 0% 0%; color: rgb(255, 255, 255);position: relative; overflow: hidden;"
class="btn btn-warning btn-lg" rel="nofollow" href="mailto:guohuadeng@hotmail.com"><span
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
<i class="fa fa-envelope"></i> guohuadeng@hotmail.com</a>
<p><h4>
Via QQ: 300883</h4></p>
<a style="background: #002e5a none repeat scroll 0% 0%; color: rgb(255, 255, 255);position: relative; overflow: hidden;"
class="btn btn-warning btn-lg" rel="nofollow" href="mailto:300883@qq.com"><span
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
<i class="fa fa-envelope"></i> 300883@qq.com</a>
</div>
<div class="oe_mt16">
<p><h4>
Visit our website for more support.</h4></p>
<a style="background: #002e5a none repeat scroll 0% 0%; color: rgb(255, 255, 255);position: relative; overflow: hidden;"
class="btn btn-warning btn-lg" rel="nofollow" href="http://www.sunpop.cn" target="_blank"><span
style="height: 354px; width: 354px; top: -147.433px; left: -6.93335px;" class="o_ripple"></span>
<i class="fa fa-web"></i>http://www.sunpop.cn</a>
</div>
</div>
</div>
</section>
<section class="oe_container oe_separator">
</section>