[MIG] 10.0 product_search_supplier_code

This commit is contained in:
Pierrick Brun
2018-04-26 14:39:13 +02:00
parent 2d9b133cf6
commit e3fc2764fb
4 changed files with 20 additions and 12 deletions

View File

@@ -16,6 +16,6 @@
'views/product_view.xml',
'views/picking_view.xml',
],
'installable': False,
'installable': True,
'active': False,
}

View File

@@ -1,13 +1,13 @@
# Translation of OpenERP Server.
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_search_supplier_code
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 7.0\n"
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-11-04 15:18+0000\n"
"PO-Revision-Date: 2015-11-04 15:18+0000\n"
"PO-Revision-Date: 2018-04-26 15:18+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -17,6 +17,7 @@ msgstr ""
#. module: product_search_supplier_code
#: view:product.product:0
#: view:product.template:0
#: view:stock.picking.in:0
msgid "Supplier Default Code"
msgstr "Code Fournisseur"

View File

@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<odoo>
<record id="stock_picking_supplier_code_search" model="ir.ui.view">
<field name="model">stock.picking</field>
@@ -13,5 +12,4 @@
</field>
</record>
</data>
</openerp>
</odoo>

View File

@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<odoo>
<record id="product_custom_search_view" model="ir.ui.view">
<field name="model">product.product</field>
@@ -13,5 +12,15 @@
</field>
</record>
</data>
</openerp>
<record id="product_custom_search_view" model="ir.ui.view">
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_search_view"/>
<field name="arch" type="xml">
<field name="name" position="after">
<field name="seller_ids" string="Supplier Default Code"
filter_domain="[('seller_ids.product_code','ilike',self)]" />
</field>
</field>
</record>
</odoo>