Начальное наполнение
This commit is contained in:
parent
e3e8f3b778
commit
28c59b336a
2
__init__.py
Normal file
2
__init__.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
19
__manifest__.py
Normal file
19
__manifest__.py
Normal file
@ -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',
|
||||||
|
}
|
15
i18n/mrp_subonctracting_landed_costs.pot
Normal file
15
i18n/mrp_subonctracting_landed_costs.pot
Normal file
@ -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"
|
13
views/stock_landed_cost_views.xml
Normal file
13
views/stock_landed_cost_views.xml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<odoo>
|
||||||
|
<record id='view_mrp_landed_costs_form' model='ir.ui.view'>
|
||||||
|
<field name="name">mrp.subcontracting.landed.cost.form</field>
|
||||||
|
<field name="model">stock.landed.cost</field>
|
||||||
|
<field name="inherit_id" ref="mrp_landed_costs.view_mrp_landed_costs_form"/>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<field name="mrp_production_ids" position="attributes">
|
||||||
|
<attribute name="context">{'search_view_ref': 'mrp_subcontracting.mrp_production_subcontracting_filter', 'tree_view_ref': 'mrp_subcontracting.mrp_production_subcontracting_tree_view'}</attribute>
|
||||||
|
</field>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
</odoo>
|
Loading…
x
Reference in New Issue
Block a user