mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[ADD] stock_search_supplierinfo_code
This commit is contained in:
0
stock_search_supplierinfo_code/__init__.py
Normal file
0
stock_search_supplierinfo_code/__init__.py
Normal file
18
stock_search_supplierinfo_code/__manifest__.py
Normal file
18
stock_search_supplierinfo_code/__manifest__.py
Normal 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",
|
||||||
|
],
|
||||||
|
}
|
||||||
1
stock_search_supplierinfo_code/readme/CONTRIBUTORS.rst
Normal file
1
stock_search_supplierinfo_code/readme/CONTRIBUTORS.rst
Normal file
@@ -0,0 +1 @@
|
|||||||
|
* Florian da Costa <florian.dacosta@akretion.com>
|
||||||
1
stock_search_supplierinfo_code/readme/DESCRIPTION.rst
Normal file
1
stock_search_supplierinfo_code/readme/DESCRIPTION.rst
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Allow to search picking from product supplier code. Maybe usefull mainly for receptions.
|
||||||
20
stock_search_supplierinfo_code/views/stock_picking.xml
Normal file
20
stock_search_supplierinfo_code/views/stock_picking.xml
Normal 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>
|
||||||
Reference in New Issue
Block a user