add possibility to search supplier code in stock.picking.in
This commit is contained in:
@@ -29,8 +29,11 @@
|
|||||||
'summary': "Allow to search product by its suppliers'code",
|
'summary': "Allow to search product by its suppliers'code",
|
||||||
'author': 'Akretion',
|
'author': 'Akretion',
|
||||||
'website': 'http://www.akretion.com',
|
'website': 'http://www.akretion.com',
|
||||||
'depends': ['product'],
|
'depends': ['product', 'stock'],
|
||||||
'data': ['product_view.xml'],
|
'data': [
|
||||||
|
'product_view.xml',
|
||||||
|
'picking_view.xml',
|
||||||
|
],
|
||||||
'installable': True,
|
'installable': True,
|
||||||
'active': False,
|
'active': False,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,12 +1,13 @@
|
|||||||
# Translation of OpenERP Server.
|
# Translation of OpenERP Server.
|
||||||
# This file contains the translation of the following modules:
|
# This file contains the translation of the following modules:
|
||||||
|
# * product_search_supplier_code
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: OpenERP Server 7.0\n"
|
"Project-Id-Version: OpenERP Server 7.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2015-10-30 12:56+0000\n"
|
"POT-Creation-Date: 2015-11-04 15:18+0000\n"
|
||||||
"PO-Revision-Date: 2015-10-30 12:56+0000\n"
|
"PO-Revision-Date: 2015-11-04 15:18+0000\n"
|
||||||
"Last-Translator: <>\n"
|
"Last-Translator: <>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@@ -16,6 +17,7 @@ msgstr ""
|
|||||||
|
|
||||||
#. module: product_search_supplier_code
|
#. module: product_search_supplier_code
|
||||||
#: view:product.product:0
|
#: view:product.product:0
|
||||||
|
#: view:stock.picking.in:0
|
||||||
msgid "Supplier Default Code"
|
msgid "Supplier Default Code"
|
||||||
msgstr "Supplier Default Code"
|
msgstr "Code Fournisseur"
|
||||||
|
|
||||||
|
|||||||
17
product_search_supplier_code/picking_view.xml
Normal file
17
product_search_supplier_code/picking_view.xml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<openerp>
|
||||||
|
<data>
|
||||||
|
|
||||||
|
<record id="picking_in_supplier_code_search" model="ir.ui.view">
|
||||||
|
<field name="model">stock.picking.in</field>
|
||||||
|
<field name="inherit_id" ref="stock.view_picking_in_search"/>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<field name="product_id" position="after">
|
||||||
|
<field name="move_lines" string="Supplier Default Code"
|
||||||
|
filter_domain="[('move_lines.product_id.seller_ids.product_code','ilike',self)]"/>
|
||||||
|
</field>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
</data>
|
||||||
|
</openerp>
|
||||||
Reference in New Issue
Block a user