add project

This commit is contained in:
ivan deng
2019-12-03 18:11:22 +08:00
parent 0ee4de8478
commit 8f30a9a08d
57 changed files with 572 additions and 0 deletions

View File

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

View File

@@ -0,0 +1,64 @@
# -*- coding: utf-8 -*-
# Created on 2018-08-15
# author: 广州尚鹏https://www.sunpop.cn
# email: 300883@qq.com
# resource of Sunpop
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
# Odoo在线中文用户手册长期更新
# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html
# Odoo10离线中文用户手册下载
# https://www.sunpop.cn/odoo10_user_manual_document_offline/
# Odoo10离线开发手册下载-含python教程jquery参考Jinja2模板PostgresSQL参考odoo开发必备
# https://www.sunpop.cn/odoo10_developer_document_offline/
# description:
{
'name': "Project and task browse by partner,user, stage navigator",
'version': '13.19.12.03',
'author': 'Sunpop.cn',
'category': 'Base',
'website': 'https://www.sunpop.cn',
'license': 'LGPL-3',
'sequence': 2,
'summary': """
Browse project by company / partner / user. Project task by user, tags.
project superbar.
Easy to navigator and browse any data. Support Search more list, kanban, pivot, graph view.
ztree widget.Hierarchy Tree.
""",
'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': [
'project',
],
'images': ['static/description/banner.gif'],
'data': [
'views/project_project_views.xml',
'views/project_task_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: 广州尚鹏https://www.sunpop.cn
# email: 300883@qq.com
# resource of Sunpop
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# Odoo在线中文用户手册长期更新
# https://www.sunpop.cn/documentation/user/10.0/zh_CN/index.html
# Odoo10离线中文用户手册下载
# https://www.sunpop.cn/odoo10_user_manual_document_offline/
# Odoo10离线开发手册下载-含python教程jquery参考Jinja2模板PostgresSQL参考odoo开发必备
# https://www.sunpop.cn/odoo10_developer_document_offline/
# description:
def post_init_hook(cr, pool):
pass
# cr.execute("")

View File

@@ -0,0 +1,14 @@
# Translation of Odoo Server.
#
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,4 @@
# -*- coding: utf-8 -*-
# from . import product_category

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 902 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

View File

@@ -0,0 +1,429 @@
<section class="oe_container">
<div class="oe_row oe_spaced" style="max-width: 95%;">
<h2 class="oe_slogan" style="color:#875A7B;">Project and task browse by partner,user, stage navigator</h2>
</div>
</section>
<section class="oe_container">
<div class="oe_row">
<div class="oe_demo">
<img class="oe_demo oe_screenshot" src="mrp1.gif">
</div>
<h3 class="oe_slogan">Advance Search, Advance Filter with Parent Children Tree.</h3>
<h1 class="text-danger text-center">Buy
<a href="https://www.odoo.com/apps/modules/13.0/app_web_superbar/">
this 1 Advance Search Apps
</a>
in odoo Store. Get
<a href="https://www.odoo.com/apps/modules/browse?search=ztree" target="_blank">
free 20 related apps.
</a>
</h1>
<h3 class="oe_slogan">Easy to navigator and browse any data. Support Search more, 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.odooapp.cn/web?#action=263&model=sale.order&view_type=list&menu_id=141" target="_blank">
<i class="fa fa-arrow-right text-warning"></i>Click to get demo.
</a> </h2>
<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>
Update: v12.19.05.23, Enhance UI. Add Pos Function.
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Easy to show parent children tree for tree, kanban, pivot, graph view.(Note that there would be little different in UI between odoo12,11,10)
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Filter product of any data in "Search More..." popup windows.
</li>
<li>
<i class="fa fa-check-square-o text-primary"></i>
Responsive UI.Only show when width > 992px;
</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/13.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>
Pos navigate by category or store is ready.
<a href="http://www.odoo.com/apps/modules/13.0/app_pos_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/13.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>
Project and Task navigate by partner / user / stage / tag is ready.
<a href="http://www.odoo.com/apps/modules/13.0/app_project_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/13.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/13.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>
CRM browse by stage and team is ready.
<a href="http://www.odoo.com/apps/modules/13.0/app_crm_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/13.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>
Stock location navigate by parent is ready.
<a href="http://www.odoo.com/apps/modules/13.0/app_stock_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 ready.
<a href="http://www.odoo.com/apps/modules/13.0/app_hr_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>
MRP manufacture order navigate by state workcenter is ready.
<a href="http://www.odoo.com/apps/modules/13.0/app_mrp_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>
Apps Navigator by Category, Module Navigator is ready.
<a href="http://www.odoo.com/apps/modules/13.0/app_module_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>
It is so easy to customize, you can use it in anywhere in odoo(Extra pay for support).
</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_screenshot src="https://www.odoo.com/apps/modules/13.0/app_web_superbar/superbar.gif"/>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
</div>
<div class="oe_row oe_spaced">
<h1>&nbsp;</h1>
<h4 class="oe_slogan">Filter product or any data in search more windows</h4>
<div class="oe_demo oe_screenshot">
<img oe_demo oe_screenshot src="searchmore.jpg"/>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h4 class="oe_slogan">Free to 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">Free to Use in POS point of sale.</h4>
<div class="oe_demo oe_screenshot">
<img src="pos1.jpg">
</div>
<h4 class="oe_slogan">POS product and order.</h4>
<div class="oe_demo oe_screenshot">
<img src="pos2.jpg">
</div>
<h4 class="oe_slogan">POS report.</h4>
<div class="oe_demo oe_screenshot">
<img src="pos3.jpg">
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h4 class="oe_slogan">Use in HR employee.</h4>
<div class="oe_demo oe_screenshot">
<img src="hr2.gif">
</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 Project.</h4>
<div class="oe_demo oe_screenshot">
<img src="project1.jpg">
</div>
<h4 class="oe_slogan">Use in Project task.</h4>
<div class="oe_demo oe_screenshot">
<img src="project2.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 CRM.</h4>
<div class="oe_demo oe_screenshot">
<img src="crm1.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 MRP.</h4>
<div class="oe_demo oe_screenshot">
<img src="mrp1.gif">
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h4 class="oe_slogan">Use in stock.</h4>
<div class="oe_demo oe_screenshot">
<img src="stock1.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">
<h4 class="oe_slogan">Apps Navigator by Category, Module Navigator is ready.</h4>
<div class="oe_demo oe_screenshot">
<img src="demo_module1.jpg">
</div>
<div class="oe_demo oe_screenshot">
<img src="demo_module2.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. Buy and Install zTree widget.
<a href="http://www.odoo.com/apps/modules/13.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. Buy and Install <a href="http://www.odoo.com/apps/modules/13.0/app_web_widget_ztree/" target="_blank">app_web_superbar. </a> <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(Extra pay for support):</h4>
<div class="oe_span12">
<div class="oe_demo oe_screenshot">
<img src="superbar_use.gif">
</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>
<li>--</li>
<li>Or you can set dynamic domain in .py file.</li>
<li>use param: search_superbar_domain_xxx , xxx is a field name.</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="https://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>https://www.sunpop.cn</a>
</div>
</div>
</div>
</section>

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 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: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!--搜索加 superbar-->
<record model="ir.ui.view" id="app_view_project_project_filter">
<field name="name">app.project.project.select</field>
<field name="model">project.project</field>
<field name="inherit_id" ref="project.view_project_project_filter"/>
<field name="arch" type="xml">
<xpath expr="//search" position="inside">
<superbar view_types="kanban,tree">
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
<field name="user_id"/>
<field name="partner_id"/>
</superbar>
</xpath>
</field>
</record>
</odoo>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!--搜索加 superbar-->
<record model="ir.ui.view" id="app_view_task_search_form">
<field name="name">app.project.task.search.form</field>
<field name="model">project.task</field>
<field name="inherit_id" ref="project.view_task_search_form"/>
<field name="arch" type="xml">
<xpath expr="//search" position="inside">
<superbar view_types="kanban,tree,graph,pivot">
<field name="user_id"/>
<field name="stage_id"/>
</superbar>
</xpath>
</field>
</record>
</odoo>