add mrp chart
@@ -22,8 +22,8 @@
|
|||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
'name': 'MRP Production zChart Hierarchy, 生产单多层级结构图',
|
'name': 'MRP Production zChart Hierarchy, 多级BoM生产单多层级执行结构图,适用于多级BoM的生产工单,一棵树全览关联生产',
|
||||||
'version': '16.24.08.28',
|
'version': '16.24.12.12',
|
||||||
'author': 'odooai.cn',
|
'author': 'odooai.cn',
|
||||||
'category': 'Base',
|
'category': 'Base',
|
||||||
'website': 'https://www.odooai.cn',
|
'website': 'https://www.odooai.cn',
|
||||||
@@ -35,13 +35,8 @@
|
|||||||
""",
|
""",
|
||||||
'description': """
|
'description': """
|
||||||
MRP Hierarchy chart, MO Hierarchy chart, mrp multi level.
|
MRP Hierarchy chart, MO Hierarchy chart, mrp multi level.
|
||||||
Need extra paid apps https://www.odoo.com/apps/modules/13.0/app_web_chart_hierarchy/
|
Need extra paid apps app_web_widget_ztree
|
||||||
This module extend to show a Hierarchy chart.
|
This module extend to show a Hierarchy chart.
|
||||||
(N+1, N+2, direct subordinates)
|
|
||||||
image: image_field,
|
|
||||||
desc: descript_field,
|
|
||||||
direct_sub: children_field, must be one2many,
|
|
||||||
child_all_count: child_all_count field, count of direct and indirect children.
|
|
||||||
""",
|
""",
|
||||||
'price': 0.00,
|
'price': 0.00,
|
||||||
'currency': 'EUR',
|
'currency': 'EUR',
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 234 KiB After Width: | Height: | Size: 38 KiB |
BIN
app_mrp_production_zchart/static/description/banner1.png
Normal file
|
After Width: | Height: | Size: 197 KiB |
BIN
app_mrp_production_zchart/static/description/demo-set1.jpg
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
app_mrp_production_zchart/static/description/demo-set2.jpg
Normal file
|
After Width: | Height: | Size: 56 KiB |
BIN
app_mrp_production_zchart/static/description/demo-set3.jpg
Normal file
|
After Width: | Height: | Size: 105 KiB |
BIN
app_mrp_production_zchart/static/description/demo-set4.jpg
Normal file
|
After Width: | Height: | Size: 86 KiB |
BIN
app_mrp_production_zchart/static/description/demo-set5.jpg
Normal file
|
After Width: | Height: | Size: 56 KiB |
BIN
app_mrp_production_zchart/static/description/demo31.jpg
Normal file
|
After Width: | Height: | Size: 92 KiB |
BIN
app_mrp_production_zchart/static/description/demo32.jpg
Normal file
|
After Width: | Height: | Size: 89 KiB |
BIN
app_mrp_production_zchart/static/description/demo33.jpg
Normal file
|
After Width: | Height: | Size: 88 KiB |
BIN
app_mrp_production_zchart/static/description/demo34.jpg
Normal file
|
After Width: | Height: | Size: 67 KiB |
BIN
app_mrp_production_zchart/static/description/demo35.jpg
Normal file
|
After Width: | Height: | Size: 96 KiB |
BIN
app_mrp_production_zchart/static/description/demo36.jpg
Normal file
|
After Width: | Height: | Size: 88 KiB |
BIN
app_mrp_production_zchart/static/description/demo_bom.jpg
Normal file
|
After Width: | Height: | Size: 56 KiB |
BIN
app_mrp_production_zchart/static/description/demo_mo.jpg
Normal file
|
After Width: | Height: | Size: 79 KiB |
@@ -1,13 +1,67 @@
|
|||||||
<section class="container oe_container">
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<div class="oe_row oe_spaced" style="max-width: 95%;">
|
<!--
|
||||||
<h2 class="oe_slogan" style="color:#875A7B;">MRP Production Chart Hierarchy, For Multi level MO MRP Production Order from multi bom.</h2>
|
# -*- coding: utf-8 -*-
|
||||||
<h3 class="oe_slogan">Very useful for show parent child relationship, like product category, stock location, hr department</h3>
|
##############################################################################
|
||||||
</div>
|
# Copyright (C) 2009~2024 odooAi.cn
|
||||||
<div class="oe_demo">
|
##############################################################################
|
||||||
<img class="oe_demo oe_screenshot" src="banner.gif">
|
-->
|
||||||
</div>
|
<html>
|
||||||
|
<!-- begin title-->
|
||||||
|
<section class="oe_container container o_cc o_cc2">
|
||||||
|
<h2 class="text-center bg-warning text-white pt24 pb24">MRP Production Chart Hierarchy, For Multi level MO MRP Production Order from multi bom.</h2>
|
||||||
|
<h3 class="text-center">多级BoM生产单多层级执行结构图,适用于多级BoM的生产工单,一棵树全览关联生产</h3>
|
||||||
|
<h4 class="text-center">Very useful for show parent child relationship, like product category, stock location, hr department</h4>
|
||||||
</section>
|
</section>
|
||||||
|
<!-- end title-->
|
||||||
|
|
||||||
|
<section class="container oe_container">
|
||||||
|
<div class="oe_row text-center">
|
||||||
|
<h2>This is Free addons of zTree and zChart. !This moduld Do Need extra paid Apps.</h2>
|
||||||
|
</div>
|
||||||
|
<li>
|
||||||
|
<i class="fa fa-link text-primary"></i>
|
||||||
|
<a href="./app_web_widget_ztree" target="_blank" class="text-danger">
|
||||||
|
app_web_widget_ztree zTree widget (must need to pay and use in following demo).
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="container oe_container">
|
||||||
|
<div class="oe_row oe_spaced">
|
||||||
|
<h2> </h2>
|
||||||
|
<h2 class="bg-warning text-center pt8 pb8 mt16 mb16">MRP Production Chart Hierarchy</h2>
|
||||||
|
<h4 class="oe_slogan">If we have a multi Bom like follow:</h4>
|
||||||
|
<div class="oe_demo oe_screenshot img img-fluid">
|
||||||
|
<img src="demo_bom.jpg">
|
||||||
|
</div>
|
||||||
|
<h4 class="oe_slogan">And When th MO of the BoM Confirm, would Show sub manufacture order and quick access sub MO</h4>
|
||||||
|
<div class="oe_demo oe_screenshot img img-fluid">
|
||||||
|
<img src="demo_mo.jpg">
|
||||||
|
</div>
|
||||||
|
<h4 class="oe_slogan">Notice: You must Enable The MTO Rule and Set All the BoM relate SKU to MTO Manufacture</h4>
|
||||||
|
<p> Go stock, configuration, Routes</p>
|
||||||
|
<div class="oe_demo oe_screenshot img img-fluid">
|
||||||
|
<img src="demo-set1.jpg">
|
||||||
|
</div>
|
||||||
|
<p> Enable Route</p>
|
||||||
|
<div class="oe_demo oe_screenshot img img-fluid">
|
||||||
|
<img src="demo-set2.jpg">
|
||||||
|
</div>
|
||||||
|
<p> Finished Product MTO Manufacture Rule setup</p>
|
||||||
|
<div class="oe_demo oe_screenshot img img-fluid">
|
||||||
|
<img src="demo-set3.jpg">
|
||||||
|
</div>
|
||||||
|
<p> Semi Product MTO Manufacture Rule setup</p>
|
||||||
|
<div class="oe_demo oe_screenshot img img-fluid">
|
||||||
|
<img src="demo-set4.jpg">
|
||||||
|
</div>
|
||||||
|
<p> Multi level BoM Setup</p>
|
||||||
|
<div class="oe_demo oe_screenshot img img-fluid">
|
||||||
|
<img src="demo-set5.jpg">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
<section class="container oe_container">
|
<section class="container oe_container">
|
||||||
<div class="oe_row oe_spaced">
|
<div class="oe_row oe_spaced">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@@ -50,8 +104,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2 class="bg-warning text-center pt8 pb8 mt16 mb16">Buy
|
<h2 class="bg-warning text-center pt8 pb8 mt16 mb16">Buy
|
||||||
<a href="https://www.odoo.com/apps/modules/13.0/app_web_chart_hierarchy/">
|
<a href="https://www.odoo.com/apps/modules/16.0/app_web_widget_ztree">
|
||||||
this 1 chart hierarchy
|
this 1 zchart ztree hierarchy
|
||||||
</a>
|
</a>
|
||||||
in odoo Store. Get free 5 related free apps.
|
in odoo Store. Get free 5 related free apps.
|
||||||
</a>
|
</a>
|
||||||
@@ -61,27 +115,27 @@
|
|||||||
<ul class="list-unstyled">
|
<ul class="list-unstyled">
|
||||||
<li>
|
<li>
|
||||||
<i class="fa fa-link text-primary"></i>
|
<i class="fa fa-link text-primary"></i>
|
||||||
<a href="http://www.odoo.com/apps/modules/13.0/app_mrp_production_zchart/" target="_blank">MRP Production Chart Hierarchy</a>
|
<a href="http://www.odoo.com/apps/modules/16.0/app_mrp_production_zchart/" target="_blank">MRP Production zChart Hierarchy</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<i class="fa fa-link text-primary"></i>
|
<i class="fa fa-link text-primary"></i>
|
||||||
<a href="http://www.odoo.com/apps/modules/13.0/app_product_category_chart/" target="_blank">Product category chart hierarchy</a>
|
<a href="http://www.odoo.com/apps/modules/16.0/app_product_category_zchart/" target="_blank">Product category zChart hierarchy</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<i class="fa fa-link text-primary"></i>
|
<i class="fa fa-link text-primary"></i>
|
||||||
<a href="http://www.odoo.com/apps/modules/13.0/app_stock_location_chart/" target="_blank">Stock Location chart hierarchy</a>
|
<a href="http://www.odoo.com/apps/modules/16.0/app_stock_location_zchart/" target="_blank">Stock Location zChart hierarchy</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<i class="fa fa-link text-primary"></i>
|
<i class="fa fa-link text-primary"></i>
|
||||||
<a href="http://www.odoo.com/apps/modules/13.0/app_hr_department_chart/" target="_blank">hr department employee chart hierarchy</a>
|
<a href="http://www.odoo.com/apps/modules/16.0/app_hr_department_zchart/" target="_blank">hr department employee zchart hierarchy</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<i class="fa fa-link text-primary"></i>
|
<i class="fa fa-link text-primary"></i>
|
||||||
<a href="http://www.odoo.com/apps/modules/13.0/app_account_account_chart/" target="_blank">Account chart hierarchy(chinese only)</a>
|
<a href="http://www.odoo.com/apps/modules/16.0/app_account_zchart/" target="_blank">Account chart hierarchy(chinese only)</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<i class="fa fa-link text-primary"></i>
|
<i class="fa fa-link text-primary"></i>
|
||||||
<a href="http://www.odoo.com/apps/modules/13.0/app_users_chart_hierarchy/" target="_blank">User Alliance Distribution Multi level</a>
|
<a href="http://www.odoo.com/apps/modules/16.0/app_users_zchart/" target="_blank">User Alliance Distribution Multi level zchart hierarchy</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@@ -89,34 +143,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="container oe_container">
|
|
||||||
<div class="oe_row oe_spaced">
|
|
||||||
<h2> </h2>
|
|
||||||
<h2 class="bg-warning text-center pt8 pb8 mt16 mb16">MRP Production Chart Hierarchy</h2>
|
|
||||||
<div class="oe_demo oe_screenshot">
|
|
||||||
<img src="demo1.jpg">
|
|
||||||
</div>
|
|
||||||
<h4 class="oe_slogan">If we have a multi Bom like follow:</h4>
|
|
||||||
<div class="oe_demo oe_screenshot">
|
|
||||||
<img src="demo_bom.jpg">
|
|
||||||
</div>
|
|
||||||
<h4 class="oe_slogan">Show sub manufacture order and quick access sub MO</h4>
|
|
||||||
<div class="oe_demo oe_screenshot">
|
|
||||||
<img src="demo_mo.jpg">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section class="container oe_container">
|
<section class="container oe_container">
|
||||||
<div class="oe_row oe_spaced">
|
<div class="oe_row oe_spaced">
|
||||||
<h2> </h2>
|
<h2> </h2>
|
||||||
<h2 class="bg-warning text-center pt8 pb8 mt16 mb16">Product category Chart Hierarchy</h2>
|
<h2 class="bg-warning text-center pt8 pb8 mt16 mb16">Product category Chart Hierarchy</h2>
|
||||||
<div class="oe_demo oe_screenshot">
|
<div class="oe_demo oe_screenshot img img-fluid">
|
||||||
<img src="demo1.jpg">
|
<img src="demo31.jpg">
|
||||||
</div>
|
|
||||||
<h4 class="oe_slogan">Show sub category and quick access category</h4>
|
|
||||||
<div class="oe_demo oe_screenshot">
|
|
||||||
<img src="demo2.jpg">
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
@@ -125,8 +157,8 @@
|
|||||||
<div class="oe_row oe_spaced">
|
<div class="oe_row oe_spaced">
|
||||||
<h2> </h2>
|
<h2> </h2>
|
||||||
<h2 class="bg-warning text-center pt8 pb8 mt16 mb16">Stock Location Chart Hierarchy</h2>
|
<h2 class="bg-warning text-center pt8 pb8 mt16 mb16">Stock Location Chart Hierarchy</h2>
|
||||||
<div class="oe_demo oe_screenshot">
|
<div class="oe_demo oe_screenshot img img-fluid">
|
||||||
<img src="demo4.jpg">
|
<img src="demo32.jpg">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
@@ -135,12 +167,12 @@
|
|||||||
<div class="oe_row oe_spaced">
|
<div class="oe_row oe_spaced">
|
||||||
<h2> </h2>
|
<h2> </h2>
|
||||||
<h2 class="bg-warning text-center pt8 pb8 mt16 mb16">HR Department Chart Hierarchy</h2>
|
<h2 class="bg-warning text-center pt8 pb8 mt16 mb16">HR Department Chart Hierarchy</h2>
|
||||||
<div class="oe_demo oe_screenshot">
|
<div class="oe_demo oe_screenshot img img-fluid">
|
||||||
<img src="demo5.jpg">
|
<img src="demo33.jpg">
|
||||||
</div>
|
</div>
|
||||||
<h2 class="bg-warning text-center pt8 pb8 mt16 mb16">HR Emploee Chart Hierarchy (this is include in odoo)</h2>
|
<h2 class="bg-warning text-center pt8 pb8 mt16 mb16">HR Employee Chart Hierarchy (this is include in odoo)</h2>
|
||||||
<div class="oe_demo oe_screenshot">
|
<div class="oe_demo oe_screenshot img img-fluid">
|
||||||
<img src="demo6.jpg">
|
<img src="demo34.jpg">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
@@ -148,8 +180,8 @@
|
|||||||
<div class="oe_row oe_spaced">
|
<div class="oe_row oe_spaced">
|
||||||
<h2> </h2>
|
<h2> </h2>
|
||||||
<h2 class="bg-warning text-center pt8 pb8 mt16 mb16">Account Chart Hierarchy</h2>
|
<h2 class="bg-warning text-center pt8 pb8 mt16 mb16">Account Chart Hierarchy</h2>
|
||||||
<div class="oe_demo oe_screenshot">
|
<div class="oe_demo oe_screenshot img img-fluid">
|
||||||
<img src="demo7.jpg">
|
<img src="demo35.jpg">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
@@ -158,27 +190,22 @@
|
|||||||
<div class="oe_row oe_spaced">
|
<div class="oe_row oe_spaced">
|
||||||
<h2> </h2>
|
<h2> </h2>
|
||||||
<h2 class="bg-warning text-center pt8 pb8 mt16 mb16">User Alliance Distribution Multi level</h2>
|
<h2 class="bg-warning text-center pt8 pb8 mt16 mb16">User Alliance Distribution Multi level</h2>
|
||||||
<div class="oe_demo oe_screenshot">
|
<div class="oe_demo oe_screenshot img img-fluid">
|
||||||
<img src="demo9.jpg">
|
<img src="demo36.jpg">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="container oe_container">
|
<section class="container oe_container">
|
||||||
<div class="oe_row oe_spaced">
|
<div class="oe_row oe_spaced">
|
||||||
<h4 class="oe_slogan">Easy to setup just use widget='web_chart_hierarchy'. like this</h4>
|
<h4 class="oe_slogan">Easy to setup just use widget='ztree_chart'. like this</h4>
|
||||||
<div class="oe_demo oe_screenshot">
|
<div class="oe_demo oe_screenshot img img-fluid">
|
||||||
<img src="setup1.jpg">
|
<img src="setup1.jpg">
|
||||||
</div>
|
</div>
|
||||||
<h4 class="oe_slogan">Also need to change view for better ui</h4>
|
<h4 class="oe_slogan">Also need to change view for better ui</h4>
|
||||||
<div class="oe_demo oe_screenshot">
|
<div class="oe_demo oe_screenshot img img-fluid">
|
||||||
<img src="setup2.jpg">
|
<img src="setup2.jpg">
|
||||||
</div>
|
</div>
|
||||||
<h2><br/> Use follow param to setup widget:<br/></h2>
|
|
||||||
<h4>image: --the field of image.</h4>
|
|
||||||
<h4>desc: --the field of subtitle.</h4>
|
|
||||||
<h4>direct_sub: --the field of sub node.</h4>
|
|
||||||
<h4>child_all_count: --the field of node count.</h4>
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 115 KiB |
@@ -5,17 +5,25 @@
|
|||||||
<field name="model">mrp.production</field>
|
<field name="model">mrp.production</field>
|
||||||
<field name="inherit_id" ref="mrp.mrp_production_form_view"/>
|
<field name="inherit_id" ref="mrp.mrp_production_form_view"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//field[@name='origin']" position="after">
|
<xpath expr="//page[@name='miscellaneous']//field[@name='origin']" position="after">
|
||||||
<field name="parent_id" groups="base.group_no_one" readonly="0"/>
|
<field name="parent_id" readonly="1"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//div[hasclass('oe_title')]" position="before">
|
<xpath expr="//div[hasclass('oe_button_box')]" position="after">
|
||||||
<field name="image_128" widget="image" class="oe_avatar"
|
<div id="o_node_container">
|
||||||
options="{'preview_image': 'image_128', 'size': [90, 90]}"/>
|
<div id="o_node_main">
|
||||||
|
<span id="add_title"/>
|
||||||
|
<span id="add_group"/>
|
||||||
|
</div>
|
||||||
|
<div id="o_node_right">
|
||||||
|
<field name="child_ids" widget="ztree_chart" nolabel="1" options="'ztree_expend_level': '0'"/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//group[1]" position="inside">
|
<xpath expr="//span[@id='add_title']" position="after">
|
||||||
<group>
|
<xpath expr="//div[hasclass('oe_title')]" position="move"/>
|
||||||
<field name="child_ids" widget="ztree_chart" nolabel="1"/>
|
</xpath>
|
||||||
</group>
|
<xpath expr="//span[@id='add_group']" position="after">
|
||||||
|
<xpath expr="//group[1]" position="move"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||