Merge pull request #303 from Eficent/11.0-mig-mrp_bom_component_menu

[11.0][MIG] mrp_bom_component_menu
This commit is contained in:
Pedro M. Baeza
2018-08-30 16:58:27 +02:00
committed by GitHub
6 changed files with 140 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: https://www.gnu.org/licenses/agpl
:alt: License: AGPL-3
======================
MRP BOM Component Menu
======================
Adds a menu item *Bill of Material Components*.
Usage
=====
To use this module, you need to:
#. Go to menu *Manufacturing -> Products -> Bill of Material Components*
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/129/11.0
Bug Tracker
===========
Bugs are tracked on `GitHub Issues
<https://github.com/OCA/manufacture/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed feedback.
Credits
=======
Images
------
* Odoo Community Association: `Icon <https://odoo-community.org/logo.png>`_.
Contributors
------------
* Jordi Ballester <jordi.ballester@eficent.com>
Maintainer
----------
.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.
To contribute to this module, please visit https://odoo-community.org.

View File

@@ -0,0 +1 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

View File

@@ -0,0 +1,19 @@
# Copyright 2017 Eficent Business and IT Consulting Services, S.L.
# (<http://www.eficent.com>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "MRP BOM Component Menu",
"version": "11.0.1.0.0",
"category": "Manufacturing",
"website": "https://github.com/OCA/manufacture",
"author": "Eficent,"
"Odoo Community Association (OCA)",
"license": "AGPL-3",
"installable": True,
"depends": [
"mrp",
],
"data": [
"views/mrp_bom_component_view.xml",
],
}

View File

@@ -0,0 +1,33 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_bom_component_menu
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \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: mrp_bom_component_menu
#: model:ir.actions.act_window,name:mrp_bom_component_menu.mrp_bom_form_action2
#: model:ir.ui.menu,name:mrp_bom_component_menu.menu_mrp_bom_form_action2
msgid "Bill of Material Components"
msgstr ""
#. module: mrp_bom_component_menu
#: model:ir.actions.act_window,help:mrp_bom_component_menu.mrp_bom_form_action2
msgid "Bills of materials components are components and by-products\n"
" used to create master bills of materials. Use this menu to\n"
" search in which BoM a specific component is used."
msgstr ""
#. module: mrp_bom_component_menu
#: model:ir.actions.act_window,help:mrp_bom_component_menu.mrp_bom_form_action2
msgid "Click to add a component to a bill of material."
msgstr ""

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2017 Eficent
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
<record id="mrp_bom_form_action2" model="ir.actions.act_window">
<field name="name">Bill of Material Components</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">mrp.bom.line</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="view_id" eval="False"/>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Click to add a component to a bill of material.
</p><p>
Bills of materials components are components and by-products
used to create master bills of materials. Use this menu to
search in which BoM a specific component is used.
</p>
</field>
</record>
<menuitem
action="mrp_bom_form_action2"
id="menu_mrp_bom_form_action2"
parent="mrp.menu_mrp_bom"/>
</odoo>