Merge pull request #63 from akretion/10.0-mig-product_search_supplier_code
[MIG] 10.0 product_search_supplier_code
This commit is contained in:
@@ -16,6 +16,6 @@
|
||||
'views/product_view.xml',
|
||||
'views/picking_view.xml',
|
||||
],
|
||||
'installable': False,
|
||||
'installable': True,
|
||||
'active': False,
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user