update multi add all v1
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': "App Account Invoice Product Multi Batch Add",
|
'name': "App Account Invoice Product Multi Batch Add",
|
||||||
'version': '12.0.8.15',
|
'version': '12.19.03.14',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Base',
|
'category': 'Base',
|
||||||
'website': 'http://www.sunpop.cn',
|
'website': 'http://www.sunpop.cn',
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 28 KiB |
@@ -6,10 +6,12 @@
|
|||||||
<field name="model">account.invoice</field>
|
<field name="model">account.invoice</field>
|
||||||
<field name="inherit_id" ref="account.invoice_form"/>
|
<field name="inherit_id" ref="account.invoice_form"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//page/field[@name='invoice_line_ids']" position="attributes">
|
<xpath expr="//page/field[@name='invoice_line_ids']/tree/control" position="inside">
|
||||||
<attribute name="widget">multi_select_tree</attribute>
|
<create string="Multi Add Line" context="{
|
||||||
<attribute name="res_model">product.product</attribute>
|
'pro_multi_add': True,
|
||||||
<attribute name="res_field">product_id</attribute>
|
'pro_res_model': 'product.product',
|
||||||
|
'pro_res_field': 'product_id',
|
||||||
|
}"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
@@ -18,10 +20,12 @@
|
|||||||
<field name="model">account.invoice</field>
|
<field name="model">account.invoice</field>
|
||||||
<field name="inherit_id" ref="account.invoice_supplier_form"/>
|
<field name="inherit_id" ref="account.invoice_supplier_form"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//page/field[@name='invoice_line_ids']" position="attributes">
|
<xpath expr="//page/field[@name='invoice_line_ids']/tree/control" position="inside">
|
||||||
<attribute name="widget">multi_select_tree</attribute>
|
<create string="Multi Add Line" context="{
|
||||||
<attribute name="res_model">product.product</attribute>
|
'pro_multi_add': True,
|
||||||
<attribute name="res_field">product_id</attribute>
|
'pro_res_model': 'product.product',
|
||||||
|
'pro_res_field': 'product_id',
|
||||||
|
}"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': "App MRP Bom Product Multi Batch Add",
|
'name': "App MRP Bom Product Multi Batch Add",
|
||||||
'version': '12.0.8.15',
|
'version': '12.19.03.14',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Base',
|
'category': 'Base',
|
||||||
'website': 'http://www.sunpop.cn',
|
'website': 'http://www.sunpop.cn',
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 28 KiB |
@@ -1,18 +1,21 @@
|
|||||||
<odoo>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
<record id="app_mrp_bom_form_view" model="ir.ui.view">
|
<record id="app_mrp_bom_form_view" model="ir.ui.view">
|
||||||
<field name="name">app.mrp.bom.form</field>
|
<field name="name">app.mrp.bom.form</field>
|
||||||
<field name="model">mrp.bom</field>
|
<field name="model">mrp.bom</field>
|
||||||
<field name="inherit_id" ref="mrp.mrp_bom_form_view"/>
|
<field name="inherit_id" ref="mrp.mrp_bom_form_view"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//field[@name='bom_line_ids']" position="attributes">
|
<xpath expr="//field[@name='bom_line_ids']/tree/field[1]" position="before">
|
||||||
<!-- Add your fields or attributes here -->
|
<control>
|
||||||
<attribute name="widget">multi_select_tree</attribute>
|
<create string="Add a line"/>
|
||||||
<attribute name="res_model">product.product</attribute>
|
<create string="Multi add line" context="{
|
||||||
<attribute name="res_field">product_id</attribute>
|
'pro_multi_add': True,
|
||||||
</xpath>
|
'pro_res_model': 'product.product',
|
||||||
|
'pro_res_field': 'product_id',
|
||||||
</field>
|
}"/>
|
||||||
</record>
|
</control>
|
||||||
</data>
|
</xpath>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
</data>
|
||||||
</odoo>
|
</odoo>
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': "App Purchase Order Product Multi Batch Add",
|
'name': "App Purchase Order Product Multi Batch Add",
|
||||||
'version': '12.0.8.15',
|
'version': '12.19.03.14',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Base',
|
'category': 'Base',
|
||||||
'website': 'http://www.sunpop.cn',
|
'website': 'http://www.sunpop.cn',
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 28 KiB |
@@ -5,12 +5,16 @@
|
|||||||
<field name="model">purchase.order</field>
|
<field name="model">purchase.order</field>
|
||||||
<field name="inherit_id" ref="purchase.purchase_order_form"/>
|
<field name="inherit_id" ref="purchase.purchase_order_form"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//page/field[@name='order_line']" position="attributes">
|
<xpath expr="//page/field[@name='order_line']/tree/field[1]" position="before">
|
||||||
<attribute name="widget">multi_select_tree</attribute>
|
<control>
|
||||||
<attribute name="res_model">product.product</attribute>
|
<create string="Add a product"/>
|
||||||
<attribute name="res_field">product_id</attribute>
|
<create string="Multi Add Product" context="{
|
||||||
|
'pro_multi_add': True,
|
||||||
|
'pro_res_model': 'product.product',
|
||||||
|
'pro_res_field': 'product_id',
|
||||||
|
}"/>
|
||||||
|
</control>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
</data>
|
</data>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': "App Sale Order Product Multi Batch Add",
|
'name': "App Sale Order Product Multi Batch Add",
|
||||||
'version': '12.0.8.15',
|
'version': '12.19.03.14',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Base',
|
'category': 'Base',
|
||||||
'website': 'http://www.sunpop.cn',
|
'website': 'http://www.sunpop.cn',
|
||||||
|
|||||||
@@ -7,10 +7,12 @@
|
|||||||
<field name="model">sale.order</field>
|
<field name="model">sale.order</field>
|
||||||
<field name="inherit_id" ref="sale.view_order_form"/>
|
<field name="inherit_id" ref="sale.view_order_form"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//page/field[@name='order_line']" position="attributes">
|
<xpath expr="//page/field[@name='order_line']/tree/control" position="inside">
|
||||||
<attribute name="widget">multi_select_tree</attribute>
|
<create string="Multi add product" context="{
|
||||||
<attribute name="res_model">product.product</attribute>
|
'pro_multi_add': True,
|
||||||
<attribute name="res_field">product_id</attribute>
|
'pro_res_model': 'product.product',
|
||||||
|
'pro_res_field': 'product_id',
|
||||||
|
}"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': "App Stock Picking Order Product Multi Batch Add",
|
'name': "App Stock Picking Order Product Multi Batch Add",
|
||||||
'version': '12.0.8.15',
|
'version': '12.19.03.14',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Base',
|
'category': 'Base',
|
||||||
'website': 'http://www.sunpop.cn',
|
'website': 'http://www.sunpop.cn',
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 28 KiB |
@@ -1,17 +1,20 @@
|
|||||||
<odoo>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
<record id="app_view_picking_form" model="ir.ui.view">
|
<record id="app_view_picking_form" model="ir.ui.view">
|
||||||
<field name="name">app.stock.picking.form</field>
|
<field name="name">app.stock.picking.form</field>
|
||||||
<field name="model">stock.picking</field>
|
<field name="model">stock.picking</field>
|
||||||
<field name="inherit_id" ref="stock.view_picking_form"/>
|
<field name="inherit_id" ref="stock.view_picking_form"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//page/field[@name='move_ids_without_package']" position="attributes">
|
<xpath expr="//page/field[@name='move_ids_without_package']/tree/field[1]" position="before">
|
||||||
<attribute name="widget">multi_select_tree</attribute>
|
<control>
|
||||||
<attribute name="res_model">product.product</attribute>
|
<create string="Add a line"/>
|
||||||
<attribute name="res_field">product_id</attribute>
|
<create string="Multi add line" context="{
|
||||||
</xpath>
|
'pro_multi_add': True,
|
||||||
|
'pro_res_model': 'product.product',
|
||||||
|
'pro_res_field': 'product_id',
|
||||||
|
}"/>
|
||||||
|
</control>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
</data>
|
</data>
|
||||||
</odoo>
|
</odoo>
|
||||||