upgrade app_mrp_bom_product_multi_add 16
6
app_mrp_bom_product_multi_add/__init__.py
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from . import controllers
|
||||
from . import models
|
||||
from . import ir
|
||||
from . import res
|
||||
76
app_mrp_bom_product_multi_add/__manifest__.py
Normal file
@@ -0,0 +1,76 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Created on 2018-08-15
|
||||
# author: 欧度智能,https://www.odooai.cn
|
||||
# email: 300883@qq.com
|
||||
# resource of odooai
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
# Odoo16在线用户手册(长期更新)
|
||||
# https://www.odooai.cn/documentation/16.0/zh_CN/index.html
|
||||
|
||||
# Odoo16在线开发者手册(长期更新)
|
||||
# https://www.odooai.cn/documentation/16.0/zh_CN/developer.html
|
||||
|
||||
# Odoo13在线用户手册(长期更新)
|
||||
# https://www.odooai.cn/documentation/user/13.0/zh_CN/index.html
|
||||
|
||||
# Odoo13在线开发者手册(长期更新)
|
||||
# https://www.odooai.cn/documentation/13.0/index.html
|
||||
|
||||
# Odoo在线中文用户手册(长期更新)
|
||||
# https://www.odooai.cn/documentation/user/10.0/zh_CN/index.html
|
||||
|
||||
# Odoo10离线中文用户手册下载
|
||||
# https://www.odooai.cn/odoo10_user_manual_document_offline/
|
||||
# Odoo10离线开发手册下载-含python教程,jquery参考,Jinja2模板,PostgresSQL参考(odoo开发必备)
|
||||
# https://www.odooai.cn/odoo10_developer_document_offline/
|
||||
# description:
|
||||
|
||||
{
|
||||
'name': "App MRP Bom Product Multi Batch Add",
|
||||
'version': '16.23.10.23',
|
||||
'author': 'odooai.cn',
|
||||
'category': 'Base',
|
||||
'website': 'https://www.odooai.cn',
|
||||
'live_test_url': 'https://demo.odooapp.cn',
|
||||
'license': 'LGPL-3',
|
||||
'sequence': 2,
|
||||
'price': 0.00,
|
||||
'currency': 'USD',
|
||||
'summary': """
|
||||
App MRP Bom Product Multi Batch Add, 制造Bom批量增加产品.
|
||||
Odoo App of odooai.cn
|
||||
""",
|
||||
'description': """
|
||||
App MRP Bom Product Multi Add.
|
||||
1. One Click to add multi product to MRP Bom.
|
||||
2. All the product can filter and group.
|
||||
制造Bom批量增加产品
|
||||
1. 可以一键快速将多个产品加到制造Bom中
|
||||
2. 可对产品进行过滤、分组,然后批量加入
|
||||
""",
|
||||
'depends': [
|
||||
# 'app_web_one2many_multi_add',
|
||||
'mrp',
|
||||
],
|
||||
'images': ['static/description/mrp1.gif'],
|
||||
'data': [
|
||||
'views/mrp_bom_views.xml',
|
||||
],
|
||||
'demo': [
|
||||
],
|
||||
'test': [
|
||||
],
|
||||
'css': [
|
||||
],
|
||||
'qweb': [
|
||||
],
|
||||
'js': [
|
||||
],
|
||||
'post_load': None,
|
||||
'post_init_hook': None,
|
||||
'installable': True,
|
||||
'application': True,
|
||||
'auto_install': False,
|
||||
}
|
||||
1
app_mrp_bom_product_multi_add/controllers/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
27
app_mrp_bom_product_multi_add/i18n/zh_CN.po
Normal file
@@ -0,0 +1,27 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * app_mrp_bom_product_multi_add
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0+e-20190301\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-03-14 16:07+0000\n"
|
||||
"PO-Revision-Date: 2019-03-14 16:07+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"
|
||||
|
||||
#. module: app_mrp_bom_product_multi_add
|
||||
#: model_terms:ir.ui.view,arch_db:app_mrp_bom_product_multi_add.app_mrp_bom_form_view
|
||||
msgid "Add a line"
|
||||
msgstr "添加明细行"
|
||||
|
||||
#. module: app_mrp_bom_product_multi_add
|
||||
#: model_terms:ir.ui.view,arch_db:app_mrp_bom_product_multi_add.app_mrp_bom_form_view
|
||||
msgid "Multi add line"
|
||||
msgstr "批量添加"
|
||||
|
||||
1
app_mrp_bom_product_multi_add/ir/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
1
app_mrp_bom_product_multi_add/models/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
2
app_mrp_bom_product_multi_add/report/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
1
app_mrp_bom_product_multi_add/res/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
BIN
app_mrp_bom_product_multi_add/static/description/account1.gif
Normal file
|
After Width: | Height: | Size: 2.1 MiB |
BIN
app_mrp_bom_product_multi_add/static/description/banner.png
Normal file
|
After Width: | Height: | Size: 58 KiB |
BIN
app_mrp_bom_product_multi_add/static/description/cnreadme.jpg
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
app_mrp_bom_product_multi_add/static/description/example.png
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
app_mrp_bom_product_multi_add/static/description/guide1.jpg
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
app_mrp_bom_product_multi_add/static/description/icon.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
142
app_mrp_bom_product_multi_add/static/description/index.html
Normal file
@@ -0,0 +1,142 @@
|
||||
<section class="oe_container">
|
||||
<div class="oe_row oe_spaced" style="max-width: 95%;">
|
||||
<h2 class="oe_slogan" style="color:#875A7B;">App MRP Bom Product Multi Add</h2>
|
||||
<h3>One Click to add multi product to MRP Bom.</h3>
|
||||
<h2>Important: This app is depends on a Paid App.
|
||||
<a class="btn btn-danger mb4" href="http://www.odoo.com/apps/modules/16.0/app_web_one2many_multi_add/" target="_blank">app_web_one2many_multi_add</a>
|
||||
</h2>
|
||||
<div class="oe_row oe_spaced" style="max-width: 95%;">
|
||||
<div class="oe_demo"
|
||||
style="margin: 20px auto; padding: 0 15px 0 0; border:none; border-top:solid 1px #dedede; width: 96%; ">
|
||||
<h2 class='oe_mt32'>One Click to add multi product to MRP Bom.</h2>
|
||||
</div>
|
||||
<div class="oe_demo oe_screenshot">
|
||||
<img src="mrp1.gif" style="border:1px solid black"/>
|
||||
<br/>
|
||||
</div>
|
||||
</div>
|
||||
<h3>You may also like these free Apps for odoo.</h3>
|
||||
<ul>
|
||||
<li>1. One Click to add multi product to Sale Order.
|
||||
<a class="btn btn-primary mb4" href="http://www.odoo.com/apps/modules/16.0/app_sale_product_multi_add/" target="_blank">Free Download from here.</a></li>
|
||||
<li>2. One Click to add multi product to Purchase Order.
|
||||
<a class="btn btn-primary mb4" href="http://www.odoo.com/apps/modules/16.0/app_purchase_product_multi_add/" target="_blank">Free Download from here.</a></li>
|
||||
<li>3. One Click to add multi product to MRP Bom.
|
||||
<a class="btn btn-primary mb4" href="http://www.odoo.com/apps/modules/16.0/app_mrp_bom_product_multi_add/" target="_blank">Free Download from here.</a></li>
|
||||
<li>4. One Click to add multi product to Stock Picking Order.
|
||||
<a class="btn btn-primary mb4" href="http://www.odoo.com/apps/modules/16.0/app_stock_picking_product_multi_add/" target="_blank">Free Download from here.</a></li>
|
||||
<li>5. One Click to add multi product to Account Customer Invoice, Vendor Bill.
|
||||
<a class="btn btn-primary mb4" href="http://www.odoo.com/apps/modules/16.0/app_account_invoice_product_multi_add/" target="_blank">Free Download from here.</a></li>
|
||||
<li>6. You can also make any one2many field to get this feature by config the xml.</li>
|
||||
<li>7. You can filter or group the product / object, in the pop windows, and the multi select and add to the order</li>
|
||||
</ul>
|
||||
<div class="oe_demo oe_screenshot">
|
||||
<img src="cnreadme.jpg" style="border:1px solid black"/>
|
||||
<br/>
|
||||
</div>
|
||||
<h3 class="oe_slogan">Easy to Use. Click "Multi Add Items" in the one2many tree view.</h3>
|
||||
<div class="oe_demo oe_screenshot">
|
||||
<h2 class='oe_mt32'>Step1. Click "Multi Add Items" in any order form.</h2>
|
||||
<img src="use1.jpg" style="border:1px solid black"/>
|
||||
<br/>
|
||||
<h2 class='oe_mt32'>Step2. Select product (or any item you setup in xml).</h2>
|
||||
<img src="use2.jpg" style="border:1px solid black"/>
|
||||
<br/>
|
||||
<h2 class='oe_mt32'>Step3. Click "Select", then all product you select would add to the order.</h2>
|
||||
<img src="use3.jpg" style="border:1px solid black"/>
|
||||
<br/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="oe_row oe_spaced" style="max-width: 95%;">
|
||||
<div class="oe_demo"
|
||||
style="margin: 20px auto; padding: 0 15px 0 0; border:none; border-top:solid 1px #dedede; width: 96%; ">
|
||||
<h2 class='oe_mt32'>1. One Click to add multi product to Sale Order.</h2>
|
||||
</div>
|
||||
<div class="oe_demo oe_screenshot">
|
||||
<img src="sale1.gif" style="border:1px solid black"/>
|
||||
<br/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="oe_row oe_spaced" style="max-width: 95%;">
|
||||
<div class="oe_demo"
|
||||
style="margin: 20px auto; padding: 0 15px 0 0; border:none; border-top:solid 1px #dedede; width: 96%; ">
|
||||
<h2 class='oe_mt32'>2. One Click to add multi product to Purchase Order.</h2>
|
||||
</div>
|
||||
<div class="oe_demo oe_screenshot">
|
||||
<img src="purchase1.gif" style="border:1px solid black"/>
|
||||
<br/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="oe_row oe_spaced" style="max-width: 95%;">
|
||||
<div class="oe_demo"
|
||||
style="margin: 20px auto; padding: 0 15px 0 0; border:none; border-top:solid 1px #dedede; width: 96%; ">
|
||||
<h2 class='oe_mt32'>3. One Click to add multi product to MRP Bom.</h2>
|
||||
</div>
|
||||
<div class="oe_demo oe_screenshot">
|
||||
<img src="mrp1.gif" style="border:1px solid black"/>
|
||||
<br/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="oe_row oe_spaced" style="max-width: 95%;">
|
||||
<div class="oe_demo"
|
||||
style="margin: 20px auto; padding: 0 15px 0 0; border:none; border-top:solid 1px #dedede; width: 96%; ">
|
||||
<h2 class='oe_mt32'>4. One Click to add multi product to Stock Picking Order.</h2>
|
||||
</div>
|
||||
<div class="oe_demo oe_screenshot">
|
||||
<img src="stock1.gif" style="border:1px solid black"/>
|
||||
<br/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="oe_row oe_spaced" style="max-width: 95%;">
|
||||
<div class="oe_demo"
|
||||
style="margin: 20px auto; padding: 0 15px 0 0; border:none; border-top:solid 1px #dedede; width: 96%; ">
|
||||
<h2 class='oe_mt32'>5. One Click to add multi product to Account Customer Invoice, Vendor Bill.</h2>
|
||||
</div>
|
||||
<div class="oe_demo oe_screenshot">
|
||||
<img src="account1.gif" style="border:1px solid black"/>
|
||||
<br/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="oe_row oe_spaced" style="max-width: 95%;">
|
||||
<div class="oe_demo"
|
||||
style="margin: 20px auto; padding: 0 15px 0 0; border:none; border-top:solid 1px #dedede; width: 96%; ">
|
||||
<h2 class='oe_mt32'>6. You can also make any one2many field to get this feature by config the xml.</h2>
|
||||
</div>
|
||||
<div class="oe_demo oe_screenshot">
|
||||
<p>Check this example.</p>
|
||||
<img src="guide1.jpg" style="border:1px solid black"/>
|
||||
<br/>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<section class="oe_container oe_dark">
|
||||
<div class="oe_row oe_spaced text-center">
|
||||
<div class="row">
|
||||
<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: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> odoo@china.com</a>
|
||||
<p><h4>
|
||||
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;"
|
||||
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">
|
||||
<h4>
|
||||
Visit our website for more support.</h4>
|
||||
<h4>https://www.odooai.cn</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
BIN
app_mrp_bom_product_multi_add/static/description/mrp1.gif
Normal file
|
After Width: | Height: | Size: 2.9 MiB |
BIN
app_mrp_bom_product_multi_add/static/description/purchase1.gif
Normal file
|
After Width: | Height: | Size: 5.8 MiB |
BIN
app_mrp_bom_product_multi_add/static/description/sale1.gif
Normal file
|
After Width: | Height: | Size: 4.6 MiB |
BIN
app_mrp_bom_product_multi_add/static/description/stock1.gif
Normal file
|
After Width: | Height: | Size: 3.3 MiB |
BIN
app_mrp_bom_product_multi_add/static/description/use1.jpg
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
app_mrp_bom_product_multi_add/static/description/use2.jpg
Normal file
|
After Width: | Height: | Size: 122 KiB |
BIN
app_mrp_bom_product_multi_add/static/description/use3.jpg
Normal file
|
After Width: | Height: | Size: 116 KiB |
21
app_mrp_bom_product_multi_add/views/mrp_bom_views.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<odoo>
|
||||
<data>
|
||||
<record id="app_mrp_bom_form_view" model="ir.ui.view">
|
||||
<field name="name">app.mrp.bom.form</field>
|
||||
<field name="model">mrp.bom</field>
|
||||
<field name="inherit_id" ref="mrp.mrp_bom_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='bom_line_ids']/tree/field[1]" position="before">
|
||||
<control>
|
||||
<create name="add_line" string="Add a line"/>
|
||||
<create name="multi_add_line" string="Multi add line" context="{
|
||||
'pro_multi_add': True,
|
||||
'pro_res_model': 'product.product',
|
||||
'pro_res_field': 'product_id',
|
||||
}"/>
|
||||
</control>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||