[MIG] app_stock_picking_product_multi_add: Migration to 17.0

This commit is contained in:
Chill
2024-03-21 15:28:20 +08:00
parent eae7fa56db
commit 75ab970e8f
23 changed files with 265 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
# -*- coding: utf-8 -*-
from . import controllers
from . import models
from . import ir
from . import res

View File

@@ -0,0 +1,63 @@
# -*- 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).
# 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 Stock Picking Order Product Multi Batch Add",
'version': '24.03.21',
'author': 'odooai.cn',
'category': 'Warehouse',
'website': 'https://www.odooai.cn',
'license': 'LGPL-3',
'sequence': 2,
'price': 0.00,
'currency': 'USD',
'summary': """
App Stock Picking Order Product Multi Batch Add
Odoo App of odooai.cn
""",
'description': """
App Stock Picking Order Product Multi Add.
1. One Click to add multi product to Stock Picking Order.
2. All the product can filter and group.
库存调拨单批量增加产品.
1. 可以一键快速将多个产品加到库存调拨单中
2. 可对产品进行过滤、分组,然后批量加入
""",
'depends': [
# 'app_web_one2many_multi_add',
'stock',
],
'images': ['static/description/stock1.gif'],
'data': [
'views/stock_picking_views.xml',
],
'demo': [
],
'test': [
],
'css': [
],
'qweb': [
],
'js': [
],
'post_load': None,
'post_init_hook': None,
'installable': True,
'application': True,
'auto_install': False,
}

View File

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

View File

@@ -0,0 +1,27 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * app_stock_picking_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:03+0000\n"
"PO-Revision-Date: 2019-03-14 16:03+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_stock_picking_product_multi_add
#: model_terms:ir.ui.view,arch_db:app_stock_picking_product_multi_add.app_view_picking_form
msgid "Add a line"
msgstr "添加明细行"
#. module: app_stock_picking_product_multi_add
#: model_terms:ir.ui.view,arch_db:app_stock_picking_product_multi_add.app_view_picking_form
msgid "Multi add line"
msgstr "批量添加"

View File

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

View File

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

View File

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

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View 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 Stock Picking Order Product Multi Add</h2>
<h3>One Click to add multi product to Stock Picking Order.</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 Stock Picking Order.</h2>
</div>
<div class="oe_demo oe_screenshot img img-fluid">
<img src="sale1.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 img-fluid">
<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 img img-fluid">
<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 img-fluid">
<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 img-fluid">
<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 img-fluid">
<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 img-fluid">
<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 img-fluid">
<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 img img-fluid">
<p>Check this example.</p>
<img src="guide1.jpg" style="border:1px solid black"/>
<br/>
</div>
</div>
</section>
<section class="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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

View File

@@ -0,0 +1,21 @@
<odoo>
<data>
<record id="app_view_picking_form" model="ir.ui.view">
<field name="name">app.stock.picking.form</field>
<field name="model">stock.picking</field>
<field name="inherit_id" ref="stock.view_picking_form"/>
<field name="arch" type="xml">
<xpath expr="//page/field[@name='move_ids_without_package']/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>