Merge branch '7.0-extract' into 8.0

This commit is contained in:
Mourad Elhadj Mimoune
2016-09-07 15:44:26 +02:00
6 changed files with 139 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# Stock Display Destination Move module for OpenERP
# Copyright (C) 2014 Akretion (http://www.akretion.com)
# @author Florian da Costa <florian.dacosta@akretion.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################

View File

@@ -0,0 +1,39 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# Stock Display Sale ID module for OpenERP
# Copyright (C) 2015 Akretion (http://www.akretion.com)
# @author Florian da Costa <florian.dacosta@akretion.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
'name': 'Product Search Supplier Code',
'version': '0.1',
'category': 'Inventory, Logistic, Storage',
'license': 'AGPL-3',
'summary': "Allow to search product by its suppliers'code",
'author': 'Akretion',
'website': 'http://www.akretion.com',
'depends': ['product', 'stock'],
'data': [
'product_view.xml',
'picking_view.xml',
],
'installable': True,
'active': False,
}

View File

@@ -0,0 +1,21 @@
# Translation of OpenERP Server.
# This file contains the translation of the following modules:
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 7.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-10-30 12:56+0000\n"
"PO-Revision-Date: 2015-10-30 12:56+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: product_search_supplier_code
#: view:product.product:0
msgid "Supplier Default Code"
msgstr "Référence Fournisseur"

View File

@@ -0,0 +1,23 @@
# Translation of OpenERP Server.
# This file contains the translation of the following modules:
# * product_search_supplier_code
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 7.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"
"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: product_search_supplier_code
#: view:product.product:0
#: view:stock.picking.in:0
msgid "Supplier Default Code"
msgstr "Code Fournisseur"

View 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>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="product_custom_search_view" model="ir.ui.view">
<field name="model">product.product</field>
<field name="inherit_id" ref="product.product_search_form_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>
</data>
</openerp>