[ADD] stock_search_supplierinfo_code

This commit is contained in:
Florian da Costa
2021-05-12 11:52:01 +02:00
parent 7b8de31364
commit 5c4b4272a7
5 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
# Copyright 2021 Akretion
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Stock Search Supplierinfo Code",
"summary": """
Allows to search for picking from supplierinfo code""",
"version": "14.0.1.0.0",
"license": "AGPL-3",
"author": "Akretion,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-warehouse",
"depends": [
"stock",
],
"data": [
"views/stock_picking.xml",
],
}

View File

@@ -0,0 +1 @@
* Florian da Costa <florian.dacosta@akretion.com>

View File

@@ -0,0 +1 @@
Allow to search picking from product supplier code. Maybe usefull mainly for receptions.

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2021 Akretion
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
<record id="stock_picking_supplier_code_search" model="ir.ui.view">
<field name="model">stock.picking</field>
<field name="inherit_id" ref="stock.view_picking_internal_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>
</odoo>