mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update multi add all v1
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
{
|
||||
'name': "App Stock Picking Order Product Multi Batch Add",
|
||||
'version': '12.0.8.15',
|
||||
'version': '12.19.03.14',
|
||||
'author': 'Sunpop.cn',
|
||||
'category': 'Base',
|
||||
'website': 'http://www.sunpop.cn',
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 43 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 28 KiB |
@@ -1,17 +1,20 @@
|
||||
<odoo>
|
||||
<data>
|
||||
<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']" position="attributes">
|
||||
<attribute name="widget">multi_select_tree</attribute>
|
||||
<attribute name="res_model">product.product</attribute>
|
||||
<attribute name="res_field">product_id</attribute>
|
||||
</xpath>
|
||||
|
||||
<xpath expr="//page/field[@name='move_ids_without_package']/tree/field[1]" position="before">
|
||||
<control>
|
||||
<create string="Add a line"/>
|
||||
<create string="Multi add line" context="{
|
||||
'pro_multi_add': True,
|
||||
'pro_res_model': 'product.product',
|
||||
'pro_res_field': 'product_id',
|
||||
}"/>
|
||||
</control>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</data>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user