fix #I89ECN [app_account_invoice_product_multi_add]让odoo16正常
6
app_account_invoice_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
|
||||
71
app_account_invoice_product_multi_add/__manifest__.py
Normal file
@@ -0,0 +1,71 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Created on 2023-10-20
|
||||
# author: 欧度智能,https://www.odooai.cn
|
||||
# email: 300883@qq.com
|
||||
# Copyright (C) 2009~2023 odooAi.cn
|
||||
|
||||
# Odoo16在线用户手册(长期更新)
|
||||
# https://www.odooai.cn/documentation/16.0/zh_CN/index.html
|
||||
|
||||
# Odoo16在线开发者手册(长期更新)
|
||||
# https://www.odooai.cn/documentation/16.0/zh_CN/developer.html
|
||||
|
||||
##############################################################################
|
||||
# Copyright (C) 2009-TODAY odooAi.cn Ltd. https://www.odooai.cn
|
||||
# Author: Ivan Deng,300883@qq.com
|
||||
# You can modify it under the terms of the GNU LESSER
|
||||
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
|
||||
# See <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# It is forbidden to publish, distribute, sublicense, or sell copies
|
||||
# of the Software or modified copies of the Software.
|
||||
##############################################################################
|
||||
|
||||
{
|
||||
'name': "App Account Invoice Product Multi Batch Add",
|
||||
'version': '16.23.10.20',
|
||||
'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 Account Invoice Product Multi Batch Add
|
||||
Odoo App of odooai.cn
|
||||
""",
|
||||
'description': """
|
||||
App Account Invoice Product Multi Add
|
||||
1. One Click to add multi product to Account Invoice.
|
||||
2. All the product can filter and group.
|
||||
客户收据与供应商帐单批量增加产品
|
||||
1. 可以一键快速将多个产品加到客户收据与供应商帐单中
|
||||
2. 可对产品进行过滤、分组,然后批量加入
|
||||
""",
|
||||
'depends': [
|
||||
# 'app_web_one2many_multi_add',
|
||||
'account',
|
||||
],
|
||||
'images': ['static/description/account1.gif'],
|
||||
'data': [
|
||||
'views/account_move_views.xml',
|
||||
],
|
||||
'demo': [
|
||||
],
|
||||
'test': [
|
||||
],
|
||||
'css': [
|
||||
],
|
||||
'qweb': [
|
||||
],
|
||||
'js': [
|
||||
],
|
||||
'post_load': None,
|
||||
'post_init_hook': None,
|
||||
'installable': True,
|
||||
'application': True,
|
||||
'auto_install': False,
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
22
app_account_invoice_product_multi_add/i18n/fr.po
Normal file
@@ -0,0 +1,22 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * app_account_invoice_product_multi_add
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 14.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-03-14 16:06+0000\n"
|
||||
"PO-Revision-Date: 2021-07-05 16:06+0000\n"
|
||||
"Last-Translator: remi-filament\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_account_invoice_product_multi_add
|
||||
#: model_terms:ir.ui.view,arch_db:app_account_invoice_product_multi_add.app_invoice_form
|
||||
#: model_terms:ir.ui.view,arch_db:app_account_invoice_product_multi_add.app_invoice_supplier_form
|
||||
msgid "Multi Add Line"
|
||||
msgstr "Ajouter plusieurs lignes"
|
||||
23
app_account_invoice_product_multi_add/i18n/zh_CN.po
Normal file
@@ -0,0 +1,23 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * app_account_invoice_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:06+0000\n"
|
||||
"PO-Revision-Date: 2019-03-14 16:06+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_account_invoice_product_multi_add
|
||||
#: model_terms:ir.ui.view,arch_db:app_account_invoice_product_multi_add.app_invoice_form
|
||||
#: model_terms:ir.ui.view,arch_db:app_account_invoice_product_multi_add.app_invoice_supplier_form
|
||||
msgid "Multi Add Line"
|
||||
msgstr "批量添加"
|
||||
|
||||
1
app_account_invoice_product_multi_add/ir/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
1
app_account_invoice_product_multi_add/models/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
2
app_account_invoice_product_multi_add/report/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
1
app_account_invoice_product_multi_add/res/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
After Width: | Height: | Size: 2.1 MiB |
|
After Width: | Height: | Size: 1.8 MiB |
|
After Width: | Height: | Size: 58 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 32 KiB |
@@ -0,0 +1,132 @@
|
||||
<section class="oe_container">
|
||||
<div class="oe_row oe_spaced" style="max-width: 95%;">
|
||||
<h2 class="oe_slogan" style="color:#875A7B;">Account Invoice Product Multi Add</h2>
|
||||
<h3>One Click to add multi product to Account Customer Invoice, Vendor Bill.</h3>
|
||||
<h2>Important: This app is depends on a Paid App.
|
||||
<a class="btn btn-danger mb4" href="http://www.odoo.com/apps/modules/14.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 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>
|
||||
<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/14.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/14.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/14.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/14.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/14.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'>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="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: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>
|
||||
|
||||
|
After Width: | Height: | Size: 2.9 MiB |
|
After Width: | Height: | Size: 5.8 MiB |
|
After Width: | Height: | Size: 4.6 MiB |
|
After Width: | Height: | Size: 3.3 MiB |
|
After Width: | Height: | Size: 31 KiB |
|
After Width: | Height: | Size: 122 KiB |
|
After Width: | Height: | Size: 116 KiB |
@@ -0,0 +1,19 @@
|
||||
<odoo>
|
||||
<data>
|
||||
<!-- Inherit Form View to Modify it -->
|
||||
<record id="app_view_move_form" model="ir.ui.view">
|
||||
<field name="name">app.account.move.form</field>
|
||||
<field name="model">account.move</field>
|
||||
<field name="inherit_id" ref="account.view_move_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//page/field[@name='invoice_line_ids']/tree/control" position="inside">
|
||||
<create string="Multi Add Line" context="{
|
||||
'pro_multi_add': True,
|
||||
'pro_res_model': 'product.product',
|
||||
'pro_res_field': 'product_id',
|
||||
}"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||