更改邮箱支持为 odoo@china.com
@@ -31,7 +31,7 @@
|
||||
'live_test_url': 'https://demo.odooapp.cn',
|
||||
'license': 'OPL-1',
|
||||
'sequence': 2,
|
||||
'price': 8.00,
|
||||
'price': 3.00,
|
||||
'currency': 'EUR',
|
||||
'images': ['static/description/banner.gif'],
|
||||
'summary': '''
|
||||
@@ -43,11 +43,13 @@
|
||||
Just Rename the sample app to your name to quick create new module.
|
||||
All file follow odoo rule with comments.
|
||||
Support Odoo 17,16,15,14,13,12, Enterprise and Community and odoo.sh Edition
|
||||
Odoo Developr rule from here https://www.odooai.cn/documentation/16.0/developer.html
|
||||
1. A full Sample module app of odoo addons. All the code, views, data follow the odoo rule.
|
||||
Odoo Developr rule from here
|
||||
https://www.odooai.cn/documentation/16.0/developer.html
|
||||
1. A full Sample module app of odoo addons. All the code, views, data ,banner, icon and description sample follow the odoo rule.
|
||||
2. Sample manifest file. Including structure and name and description etc, all field sample. Security xml and csv file for role group access rule.
|
||||
Follow odoo rule follow
|
||||
https://www.odooai.cn/documentation/16.0/zh_CN/developer/reference/backend/module.html#reference-module-manifest
|
||||
Sample icon, banner, index.html, install/uninstall hooks.
|
||||
Follow most odoo rule follow
|
||||
https://www.odooai.cn/documentation/16.0/contributing/development/coding_guidelines.html
|
||||
3. Sample .py models file, for new model and inherit model
|
||||
4. Sample .xml views file for models, with list, kanban, form, search
|
||||
5. Sample controllers file for website data publish and api developer. including how inherit odoo portal home.
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
<field name="amount">888</field>
|
||||
<field name="date">2023-09-13</field>
|
||||
<field name="image" type="base64" file="app_sample/static/img/icon_odooai.png"/>
|
||||
<field name="w_progressbar">0.5</field>
|
||||
<field name="state">draft</field>
|
||||
<field name="user_id" ref="base.user_admin"/>
|
||||
</record>
|
||||
@@ -16,6 +17,8 @@
|
||||
<field name="ref">demo2</field>
|
||||
<field name="amount">1600</field>
|
||||
<field name="date">2023-10-03</field>
|
||||
<field name="image" type="base64" file="app_sample/static/img/icon_odooai.png"/>
|
||||
<field name="w_progressbar">0.6</field>
|
||||
<field name="state">done</field>
|
||||
<field name="user_id" ref="base.user_admin"/>
|
||||
</record>
|
||||
@@ -24,6 +27,8 @@
|
||||
<field name="ref">demo3</field>
|
||||
<field name="amount">3000</field>
|
||||
<field name="date">2023-09-16</field>
|
||||
<field name="image" type="base64" file="app_sample/static/img/icon_odooapp.png"/>
|
||||
<field name="w_progressbar">0.3</field>
|
||||
<field name="state">cancel</field>
|
||||
<field name="user_id" ref="base.user_demo"/>
|
||||
</record>
|
||||
@@ -32,6 +37,8 @@
|
||||
<field name="ref">demo4</field>
|
||||
<field name="amount">40000</field>
|
||||
<field name="date">2023-10-06</field>
|
||||
<field name="image" type="base64" file="app_sample/static/img/icon_odooapp.png"/>
|
||||
<field name="w_progressbar">0.99</field>
|
||||
<field name="state">draft</field>
|
||||
<field name="user_id" ref="base.user_demo"/>
|
||||
</record>
|
||||
|
||||
@@ -60,7 +60,6 @@ class ModelNewReport(models.Model):
|
||||
JOIN res_users AS u ON m.user_id = u.id
|
||||
'''
|
||||
|
||||
@api.model
|
||||
@api.model
|
||||
def _where(self):
|
||||
return ''
|
||||
|
||||
BIN
app_sample/static/description/demo1.jpg
Normal file
|
After Width: | Height: | Size: 110 KiB |
|
Before Width: | Height: | Size: 40 KiB |
BIN
app_sample/static/description/demo10.jpg
Normal file
|
After Width: | Height: | Size: 201 KiB |
BIN
app_sample/static/description/demo2.jpg
Normal file
|
After Width: | Height: | Size: 71 KiB |
BIN
app_sample/static/description/demo3.jpg
Normal file
|
After Width: | Height: | Size: 69 KiB |
BIN
app_sample/static/description/demo_controler.jpg
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
app_sample/static/description/demo_form.jpg
Normal file
|
After Width: | Height: | Size: 102 KiB |
BIN
app_sample/static/description/demo_graph.jpg
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
app_sample/static/description/demo_kanban.jpg
Normal file
|
After Width: | Height: | Size: 61 KiB |
BIN
app_sample/static/description/demo_list.jpg
Normal file
|
After Width: | Height: | Size: 71 KiB |
BIN
app_sample/static/description/demo_menu.jpg
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
app_sample/static/description/demo_pivot.jpg
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
app_sample/static/description/demo_report.jpg
Normal file
|
After Width: | Height: | Size: 98 KiB |
BIN
app_sample/static/description/demo_search.jpg
Normal file
|
After Width: | Height: | Size: 70 KiB |
BIN
app_sample/static/description/demo_ui.jpg
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
app_sample/static/description/demo_use.jpg
Normal file
|
After Width: | Height: | Size: 64 KiB |
BIN
app_sample/static/description/demo_widget_list.jpg
Normal file
|
After Width: | Height: | Size: 164 KiB |
BIN
app_sample/static/description/demo_widget_use.jpg
Normal file
|
After Width: | Height: | Size: 156 KiB |
@@ -71,7 +71,7 @@
|
||||
<h4 class="pt16">
|
||||
A full Sample module app of odoo addons.
|
||||
</h4>
|
||||
<p>All the code, views, data follow the odoo rule.</p>
|
||||
<p>All the code, views, data ,banner, icon and description sample follow the odoo rule.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box">
|
||||
@@ -80,8 +80,8 @@
|
||||
<h4 class="pt16">
|
||||
Sample manifest file.
|
||||
</h4>
|
||||
<p>Including structure and name and description etc, all field sample. Security xml and csv file for role group access rule. Follow odoo rule follow </p>
|
||||
<p>https://www.odooai.cn/documentation/16.0/zh_CN/developer/reference/backend/module.html#reference-module-manifest</p>
|
||||
<p>Including structure and name and description etc, all field sample. Security xml and csv file for role group access rule. Follow most odoo rule follow </p>
|
||||
<p>https://www.odooai.cn/documentation/16.0/contributing/development/coding_guidelines.html</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-12 pt16 pb16 o_colored_level" data-name="Box" data-tilt-feature="">
|
||||
@@ -227,38 +227,118 @@
|
||||
<div class="col-lg-10 col-md9 s_table_of_content_main oe_structure oe_empty o_colored_level" data-name="Content">
|
||||
<section class="pb16 o_colored_level" style="background-image: none;">
|
||||
<h3 data-anchor="true" id="toc_01">
|
||||
All in One Search
|
||||
A full Sample module app of odoo addons.
|
||||
</h3>
|
||||
<h4 class="oe_slogan">Quick Advance Search and navigator for all app data.</h4>
|
||||
<h4 class="oe_slogan">All the code, views, data ,banner, icon and description sample follow the odoo rule.</h4>
|
||||
<div class="oe_demo oe_screenshot img img-fluid">
|
||||
<img src="banner.png">
|
||||
</div>
|
||||
<h4 class="oe_slogan">Demo11</h4>
|
||||
<div class="oe_demo oe_screenshot img img-fluid">
|
||||
<img src="demo11.jpg">
|
||||
<img src="demo1.jpg">
|
||||
</div>
|
||||
</section>
|
||||
<section class="pb16 o_colored_level" style="background-image: none;">
|
||||
<h3 data-anchor="true" id="toc_02">
|
||||
Product Search
|
||||
Sample manifest file.
|
||||
</h3>
|
||||
<h4 class="oe_slogan">Use in product and Category.</h4>
|
||||
<h4 class="oe_slogan">Including structure and name and description etc, all field sample. </h4>
|
||||
<p>Security xml and csv file for role group access rule.
|
||||
Sample icon, banner, index.html, install/uninstall hooks.
|
||||
Follow most odoo rule follow</p>
|
||||
<p>https://www.odooai.cn/documentation/16.0/contributing/development/coding_guidelines.html</p>
|
||||
<div class="oe_demo oe_screenshot img img-fluid">
|
||||
<img src="demo21.jpg">
|
||||
</div>
|
||||
<h4 class="oe_slogan">Filter product or any data in search more windows</h4>
|
||||
<div class="oe_demo oe_screenshot img img-fluid">
|
||||
<img src="demo22.jpg">
|
||||
<img src="demo2.jpg">
|
||||
</div>
|
||||
</section>
|
||||
<section class="pb16 o_colored_level" style="background-image: none;">
|
||||
<h3 data-anchor="true" id="toc_11">
|
||||
Multi-language,Multi-Company Support.
|
||||
<h3 data-anchor="true" id="toc_03">
|
||||
Sample .py models file, for new model and inherit model
|
||||
</h3>
|
||||
<h4 class="oe_slogan">Support Odoo 16,15,14,13,12, Enterprise and Community and odoo.sh Edition.</h4>
|
||||
<h4 class="oe_slogan">Full Open Source.</h4>
|
||||
<p>Please comment the inherit .py file of product_template.py in produce odoo.</p>
|
||||
<div class="oe_demo oe_screenshot img img-fluid">
|
||||
<img src="cnreadme.png">
|
||||
<img src="demo3.png">
|
||||
</div>
|
||||
</section>
|
||||
<section class="pb16 o_colored_level" style="background-image: none;">
|
||||
<h3 data-anchor="true" id="toc_04">
|
||||
Sample .xml views file for models, with list, kanban, form, search
|
||||
</h3>
|
||||
<p>List</p>
|
||||
<div class="oe_demo oe_screenshot img img-fluid">
|
||||
<img src="demo_list.jpg">
|
||||
</div>
|
||||
<p>Kanban</p>
|
||||
<div class="oe_demo oe_screenshot img img-fluid">
|
||||
<img src="demo_kanban.jpg">
|
||||
</div>
|
||||
<p>Form</p>
|
||||
<div class="oe_demo oe_screenshot img img-fluid">
|
||||
<img src="demo_form.jpg">
|
||||
</div>
|
||||
<p>Form</p>
|
||||
<div class="oe_demo oe_screenshot img img-fluid">
|
||||
<img src="demo_search.jpg">
|
||||
</div>
|
||||
</section>
|
||||
<section class="pb16 o_colored_level" style="background-image: none;">
|
||||
<h3 data-anchor="true" id="toc_05">
|
||||
Sample controllers file for website data publish and api developer
|
||||
</h3>
|
||||
<p>including how inherit odoo portal home.</p>
|
||||
<div class="oe_demo oe_screenshot img img-fluid">
|
||||
<img src="demo_controler.jpg">
|
||||
</div>
|
||||
</section>
|
||||
<section class="pb16 o_colored_level" style="background-image: none;">
|
||||
<h3 data-anchor="true" id="toc_06">
|
||||
Sample report design file.
|
||||
</h3>
|
||||
<p> .py file with how sql define.</p>
|
||||
<div class="oe_demo oe_screenshot img img-fluid">
|
||||
<img src="demo_report.jpg">
|
||||
</div>
|
||||
<p> .xml file for graph and pivot.</p>
|
||||
<div class="oe_demo oe_screenshot img img-fluid">
|
||||
<img src="demo_graph.jpg">
|
||||
</div>
|
||||
<div class="oe_demo oe_screenshot img img-fluid">
|
||||
<img src="demo_pivot.jpg">
|
||||
</div>
|
||||
</section>
|
||||
<section class="pb16 o_colored_level" style="background-image: none;">
|
||||
<h3 data-anchor="true" id="toc_07">
|
||||
Sample action and menu file.
|
||||
</h3>
|
||||
<p>Root menu and menu group and action menu.</p>
|
||||
<div class="oe_demo oe_screenshot img img-fluid">
|
||||
<img src="demo_menu.png">
|
||||
</div>
|
||||
</section>
|
||||
<section class="pb16 o_colored_level" style="background-image: none;">
|
||||
<h3 data-anchor="true" id="toc_08">
|
||||
Ui misc sample. Alert like info and special field setup.
|
||||
</h3>
|
||||
<div class="oe_demo oe_screenshot img img-fluid">
|
||||
<img src="demo_ui.jpg">
|
||||
</div>
|
||||
</section>
|
||||
<section class="pb16 o_colored_level" style="background-image: none;">
|
||||
<h3 data-anchor="true" id="toc_09">
|
||||
Odoo Widget sample.
|
||||
</h3>
|
||||
<p>170+ widget list document</p>
|
||||
<div class="oe_demo oe_screenshot img img-fluid">
|
||||
<img src="demo_widget_list.jpg">
|
||||
</div>
|
||||
<p> Frequently Used Sample.</p>
|
||||
<div class="oe_demo oe_screenshot img img-fluid">
|
||||
<img src="demo_widget_use.jpg">
|
||||
</div>
|
||||
</section>
|
||||
<section class="pb16 o_colored_level" style="background-image: none;">
|
||||
<h3 data-anchor="true" id="toc_10">
|
||||
Quick access odoo developer Tutorials online.
|
||||
</h3>
|
||||
<p>Click alert info to visit. Document online for chinese and english. Fast visit in China.</p>
|
||||
<div class="oe_demo oe_screenshot img img-fluid">
|
||||
<img src="demo_10.jpg">
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -278,17 +358,15 @@
|
||||
<section class="oe_container container">
|
||||
<div class="oe_row oe_spaced">
|
||||
<h4 class="pt16">
|
||||
1. Buy and Install <a href="http://www.odoo.com/apps/modules/16.0/app_web_superbar/" target="_blank">app_web_superbar. </a>
|
||||
1. Buy and Install <a href="http://www.odoo.com/apps/modules/16.0/app_sample/" target="_blank">app_sample. </a>
|
||||
</h4>
|
||||
<h4 class="pt16">
|
||||
2. Clone this sample and rename to your module name to quick create your odoo addons.
|
||||
</h4>
|
||||
<h4 class="pt16">3. Check the demo we create</h4>
|
||||
<div class="row">
|
||||
<div class="oe_demo oe_screenshot img img-fluid">
|
||||
<img src="demo1.png">
|
||||
</div>
|
||||
</div>
|
||||
<h4 class="pt16">2. Easy use of superbar</h4>
|
||||
<div class="row">
|
||||
<div class="oe_demo oe_screenshot img img-fluid">
|
||||
<img src="demo2.jpg">
|
||||
<img src="demo_use.jpg">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -309,9 +387,9 @@
|
||||
<p><h4 class="pt16">
|
||||
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
|
||||
class="btn btn-warning btn-lg" rel="nofollow" href="mailto:odoo@china.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>
|
||||
<i class="fa fa-envelope"></i> odoo@china.com</a>
|
||||
<p><h4 class="pt16">
|
||||
Via QQ: 300883 (App user would not get QQ or any other IM support. Only for odoo project customize.)</h4></p>
|
||||
<a style="background: #002e5a none repeat scroll 0% 0%; color: rgb(255, 255, 255);position: relative; overflow: hidden;"
|
||||
|
||||
@@ -10,10 +10,15 @@
|
||||
<tree string="Model New" editable="bottom">
|
||||
<field name="sequence" widget="handle"/>
|
||||
<field name="name"/>
|
||||
<field name="ref" optional="show"/>
|
||||
<field name="ref" optional="hide"/>
|
||||
<field name="date" widget="date" optional="show"/>
|
||||
<field name="amount" optional="show" sum="Total"/>
|
||||
<field name="note" optional="hide"/>
|
||||
|
||||
<field name="day_max" invisible="1"/>
|
||||
<field name="w_progressbar" widget="progressbar" optional="show"/>
|
||||
<field name="w_percentpie" widget="percentpie" optional="show"/>
|
||||
<field name="w_gauge" widget="gauge" options="{'max_field': 'day_max'}" optional="show"/>
|
||||
<field name="state"
|
||||
decoration-warning="state == 'draft'"
|
||||
decoration-muted="state == 'cancel'"
|
||||
@@ -114,7 +119,6 @@
|
||||
</div>
|
||||
<field name="w_gauge" widget="gauge" options="{'max_field': 'day_max'}"/>
|
||||
<field name="w_progressbar" widget="progressbar" options="{'editable': true}" title="Integer"/>
|
||||
<field name="w_progressbar" widget="progressbar" options="{'editable': true}" title="Integer"/>
|
||||
<field name="w_percentpie" widget="percentpie" title="float"/>
|
||||
<field name="w_percentage" widget="percentage" title="float"/>
|
||||
</group>
|
||||
|
||||