add tile data

This commit is contained in:
ivan deng
2018-11-27 16:50:38 +08:00
parent 58333a9baa
commit 8bc6eee965
30 changed files with 418 additions and 0 deletions

View File

@@ -357,7 +357,9 @@ class AppThemeConfigSettings(models.TransientModel):
['account.bank.statement.line', ],
['account.payment', ],
['account.analytic.line', ],
['account.analytic.account', ],
['account.invoice.line', ],
['account.invoice.refund', ],
['account.invoice', ],
['account.partial.reconcile', ],
['account.move.line', ],

View File

@@ -0,0 +1,4 @@
# -*- coding: utf-8 -*-
from . import models
from .hooks import post_init_hook

View File

@@ -0,0 +1,61 @@
# -*- coding: utf-8 -*-
# Created on 2018-08-15
# author: 广州尚鹏http://www.sunpop.cn
# email: 300883@qq.com
# resource of Sunpop
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# Odoo在线中文用户手册长期更新
# http://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html
# Odoo10离线中文用户手册下载
# http://www.sunpop.cn/odoo10_user_manual_document_offline/
# Odoo10离线开发手册下载-含python教程jquery参考Jinja2模板PostgresSQL参考odoo开发必备
# http://www.sunpop.cn/odoo10_developer_document_offline/
# description:
{
'name': "App purchae search browse by partner",
'version': '12.0.11.27',
'author': 'Sunpop.cn',
'category': 'Base',
'website': 'http://www.sunpop.cn',
'license': 'LGPL-3',
'sequence': 2,
'summary': """
Browse purchase order by partner. Use for parent children tree list kanban navigator.
ztree widget.
""",
'description': """
Superbar, zTree widget.
Advance search with real parent children tree, ListView or KanbanView. parent tree, children tree,
eg: Product category tree ,Department tree, stock location tree.
超级方便的查询,树状视图。
""",
'price': 0.00,
'currency': 'EUR',
'depends': [
'purchase',
],
'images': ['static/description/banner.png'],
'data': [
'views/purchase_views.xml',
],
'demo': [
],
'test': [
],
'css': [
],
'qweb': [
'static/src/xml/*.xml',
],
'js': [
],
'post_load': None,
'post_init_hook': 'post_init_hook',
'installable': True,
'application': True,
'auto_install': False,
}

View File

@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Created on 2018-10-12
# author: 广州尚鹏http://www.sunpop.cn
# email: 300883@qq.com
# resource of Sunpop
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# Odoo在线中文用户手册长期更新
# http://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html
# Odoo10离线中文用户手册下载
# http://www.sunpop.cn/odoo10_user_manual_document_offline/
# Odoo10离线开发手册下载-含python教程jquery参考Jinja2模板PostgresSQL参考odoo开发必备
# http://www.sunpop.cn/odoo10_developer_document_offline/
# description:
def post_init_hook(cr, pool):
pass
# cr.execute("")

View File

@@ -0,0 +1,16 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * felive_home
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-01-08 14:28+0000\n"
"PO-Revision-Date: 2018-01-08 14:28+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

View File

@@ -0,0 +1 @@
# -*- coding: utf-8 -*-

View File

@@ -0,0 +1,2 @@
# -*- coding: utf-8 -*-

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

View File

@@ -0,0 +1,280 @@
<section class="oe_container">
<div class="oe_row oe_spaced" style="max-width: 95%;">
<h2 class="oe_slogan" style="color:#875A7B;">Purchase App Super Sidebar for Advance Search with Parent Children Tree</h2>
<h1>!This moduld Do Need extra paid Apps
<a href="http://www.odoo.com/apps/modules/11.0/app_web_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a> </h1>
<h3 class="oe_slogan">Advance Search, Filter with Parent Children Tree.</h3>
<h3 class="oe_slogan">Easy to navigator and browser any data. Support list, kanban, pivot, graph view. </h3>
<h2>Online demo <i class="fa fa-user text-primary"></i> user/password: demo/demo
<a href="http://demo.erpapp.cn/web?#view_type=list&model=sale.order&menu_id=168&action=265" target="_blank">
<i class="fa fa-arrow-right text-warning"></i>Click to get demo.
</a> </h2>
</div>
</section>
<section class="oe_container">
<div class="oe_row">
<div class="oe_span12">
<img class="oe_demo oe_picture oe_screenshot" src="banner.png">
</div>
<div class="oe_span12 oe_spaced">
<div class="alert alert-info" style="padding:8px;font-weight: 300; font-size: 20px;">
<i class="fa fa-hand-o-right"></i><b> Key features: </b>
<ul class="list-unstyled">
<li>
<i class="fa fa-check-square-o text-primary"></i>
Easy to make custom parent children tree for and data.
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Easy to show custom parent children tree for tree, kanban, pivot, graph view.
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Product navigate by category or type is ready.
<a href="http://www.odoo.com/apps/modules/11.0/app_product_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Account chart navigate by type is ready.
<a href="http://www.odoo.com/apps/modules/11.0/app_account_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Contacts navigate by company is ready.
<a href="http://www.odoo.com/apps/modules/11.0/app_contacts_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Sale order navigate by partner and channel is ready.
<a href="http://www.odoo.com/apps/modules/11.0/app_sale_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Purchase order navigate by partner is ready.
<a href="http://www.odoo.com/apps/modules/11.0/app_purchase_superbar/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
HR employee navigate by department is coming soon.
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
It is so easy to customize, you can use it in anywhere in odoo.
</li>
</ul>
</div>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h1>&nbsp;</h1>
<h1 class="text-danger text-center">So Easy to navigator and search any data.</h1>
<h4 class="oe_slogan">Product by category or type in kanban view</h4>
<div class="oe_demo oe_screenshot">
<img oe_demo oe_picture oe_screenshot src="superbar.gif"/>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h4 class="oe_slogan">Use in product category.</h4>
<div class="oe_demo oe_screenshot">
<img src="product1.jpg">
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h4 class="oe_slogan">Use in Account.</h4>
<div class="oe_demo oe_screenshot">
<img src="account1.jpg">
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h4 class="oe_slogan">Use in Sale.</h4>
<div class="oe_demo oe_screenshot">
<img src="sale1.jpg">
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h4 class="oe_slogan">Use in purchase.</h4>
<div class="oe_demo oe_screenshot">
<img src="purchase1.jpg">
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h4 class="oe_slogan">Use in contacts.</h4>
<div class="oe_demo oe_screenshot">
<img src="contacts1.jpg">
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h1>&nbsp;</h1>
<h1 class="text-danger text-center">How to use! This app do need extra module. The price already included</h1>
<div class="oe_span12">
<h4 class="oe_slogan oe_spaced">1. Install zTree widget.
<a href="http://www.odoo.com/apps/modules/11.0/app_web_widget_ztree/" target="_blank">
<i class="fa fa-download text-warning"></i>Click to download.
</a>
</h4>
</div>
<div class="oe_span12">
<h4 class="oe_slogan oe_spaced">2. Install app_web_superbar. <span class="text-warning">Important! Reboot odoo after installed.</span>
</h4>
</div>
<div class="oe_span12">
<h4 class="oe_slogan oe_spaced">3. Easy use of superbar</h4>
<div class="oe_span12 oe_spaced">
<h4 class="oe_slogan">Show superbar in list view.</h4>
</div>
<div class="oe_span12">
<div class="oe_demo oe_screenshot">
<img src="use7.jpg">
</div>
</div>
<div class="oe_span12 oe_spaced">
<h4 class="oe_slogan">Show superbar in kanban view.</h4>
</div>
<div class="oe_span12">
<div class="oe_demo oe_screenshot">
<img src="use8.jpg">
</div>
</div>
<div class="oe_span12 oe_spaced">
<h4 class="oe_slogan">Show superbar in pivot view.</h4>
</div>
<div class="oe_span12">
<div class="oe_demo oe_screenshot">
<img src="use9.jpg">
</div>
</div>
<div class="oe_span12 oe_spaced">
<h4 class="oe_slogan">Show superbar in graph view.</h4>
</div>
<div class="oe_span12">
<div class="oe_demo oe_screenshot">
<img src="usea.jpg">
</div>
</div>
<div class="oe_span12 oe_spaced">
<h4 class="oe_slogan">Click switch to show or hide superbar.</h4>
</div>
<div class="oe_span12">
<div class="oe_demo oe_screenshot">
<img src="use1.jpg">
</div>
</div>
<div class="oe_span12 oe_spaced">
<h4 class="oe_slogan">Click checkbox to set whether to show child nodes data.</h4>
</div>
<div class="oe_span12">
<div class="oe_demo oe_screenshot">
<img src="use2.jpg">
</div>
</div>
<div class="oe_span12 oe_spaced">
<h4 class="oe_slogan">Press Ctrl(Windows) / Cmd(Mac) to Select Multi Nodes</h4>
</div>
<div class="oe_span12">
<div class="oe_demo oe_screenshot">
<img src="use3.jpg">
</div>
</div>
<div class="oe_span12 oe_spaced">
<h4 class="oe_slogan">Set multi field to search or filter</h4>
</div>
<div class="oe_span12">
<div class="oe_demo oe_screenshot">
<img src="use4.jpg">
</div>
</div>
<div class="oe_span12 oe_spaced">
<h4 class="oe_slogan">Set super bar position, left or right.</h4>
</div>
<div class="oe_span12">
<div class="oe_demo oe_screenshot">
<img src="use5.jpg">
</div>
</div>
</div>
<div class="oe_span12">
<h4 class="oe_slogan oe_spaced">4. If you want to customize, Use follow param to setup widget:</h4>
<div class="oe_span12">
<div class="oe_demo oe_screenshot">
<img src="superbar_use.png">
</div>
<ul class="oe_spaced" style="padding:8px;font-weight: 300; font-size: 20px;">
<li>In search view xml, Write the &lt;superbar&gt; tag,</li>
<li>position: [left, right]</li>
<li>view_mode: [kanban,tree, pivot, graph view.]</li>
<li>parent_key: key field name of parent child relation. leave blank would auto set.</li>
<li>level: how many level to expend the tree for initialize. Default is 2</li>
<li>limit: how many record to show ztree. Default is 16</li>
<li>order: the field name to order by</li>
<li>domain: set the domain for data, eg: [[('is_company', '=', 1)]]</li>
</ul>
</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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

View File

@@ -0,0 +1,32 @@
<odoo>
<data>
<record id="view_purchase_order_filter_superbar" model="ir.ui.view">
<field name="name">request.quotation.select.superbar</field>
<field name="model">purchase.order</field>
<field name="inherit_id" ref="purchase.view_purchase_order_filter"/>
<field name="arch" type="xml">
<xpath expr="//search">
<superbar view_mode="kanban,tree">
<field name="partner_id"/>
<field name="state"/>
<field name="invoice_status"/>
</superbar>
</xpath>
</field>
</record>
<!-- price list -->
<record id="product_supplierinfo_search_view_superbar" model="ir.ui.view">
<field name="name">product.supplierinfo.search.view.superbar</field>
<field name="model">product.supplierinfo</field>
<field name="inherit_id" ref="product.product_supplierinfo_search_view"/>
<field name="arch" type="xml">
<xpath expr="//search">
<superbar view_mode="tree">
<field name="name"/>
<field name="product_id"/>
</superbar>
</xpath>
</field>
</record>
</data>
</odoo>