From 28c59b336a9b1df7a58da5b1df5fb2690d367613 Mon Sep 17 00:00:00 2001 From: Sergey Krylov Date: Wed, 19 Feb 2025 14:11:45 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B0=D1=87=D0=B0=D0=BB=D1=8C=D0=BD?= =?UTF-8?q?=D0=BE=D0=B5=20=D0=BD=D0=B0=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __init__.py | 2 ++ __manifest__.py | 19 +++++++++++++++++++ i18n/mrp_subonctracting_landed_costs.pot | 15 +++++++++++++++ views/stock_landed_cost_views.xml | 13 +++++++++++++ 4 files changed, 49 insertions(+) create mode 100644 __init__.py create mode 100644 __manifest__.py create mode 100644 i18n/mrp_subonctracting_landed_costs.pot create mode 100644 views/stock_landed_cost_views.xml diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..67dee8c --- /dev/null +++ b/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. diff --git a/__manifest__.py b/__manifest__.py new file mode 100644 index 0000000..441163d --- /dev/null +++ b/__manifest__.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +{ + 'name': 'Landed Costs With Subcontracting order', + 'version': '1.0', + 'summary': 'Advanced views to manage landed cost for subcontracting orders', + 'description': """ +This module allows users to more easily identify subcontracting orders when applying landed costs, +by also displaying the associated picking reference in the search view. + """, + 'depends': ['stock_landed_costs', 'mrp_subcontracting'], + 'category': 'Manufacturing/Manufacturing', + 'data': [ + 'views/stock_landed_cost_views.xml', + ], + 'auto_install': True, + 'license': 'LGPL-3', +} diff --git a/i18n/mrp_subonctracting_landed_costs.pot b/i18n/mrp_subonctracting_landed_costs.pot new file mode 100644 index 0000000..06d842d --- /dev/null +++ b/i18n/mrp_subonctracting_landed_costs.pot @@ -0,0 +1,15 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:55+0000\n" +"PO-Revision-Date: 2023-10-26 21:55+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" diff --git a/views/stock_landed_cost_views.xml b/views/stock_landed_cost_views.xml new file mode 100644 index 0000000..6e6291f --- /dev/null +++ b/views/stock_landed_cost_views.xml @@ -0,0 +1,13 @@ + + + + mrp.subcontracting.landed.cost.form + stock.landed.cost + + + + {'search_view_ref': 'mrp_subcontracting.mrp_production_subcontracting_filter', 'tree_view_ref': 'mrp_subcontracting.mrp_production_subcontracting_tree_view'} + + + +