mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
done multi add
This commit is contained in:
@@ -1,14 +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 10.0\n"
|
||||
"Project-Id-Version: Odoo Server 12.0+e-20190301\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-01-08 14:28+0000\n"
|
||||
"PO-Revision-Date: 2018-01-08 14:28+0000\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 "批量添加"
|
||||
|
||||
|
||||
@@ -6,14 +6,15 @@
|
||||
<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 string="Add a line"/>
|
||||
<create string="Multi add line" context="{
|
||||
<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>
|
||||
</control>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
|
||||
Reference in New Issue
Block a user