diff --git a/mrp_bom_component_menu/README.rst b/mrp_bom_component_menu/README.rst new file mode 100644 index 000000000..de476c4fa --- /dev/null +++ b/mrp_bom_component_menu/README.rst @@ -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 +`_. 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 `_. + +Contributors +------------ + +* Jordi Ballester + +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. diff --git a/mrp_bom_component_menu/__init__.py b/mrp_bom_component_menu/__init__.py new file mode 100644 index 000000000..d9d1f13de --- /dev/null +++ b/mrp_bom_component_menu/__init__.py @@ -0,0 +1 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). diff --git a/mrp_bom_component_menu/__manifest__.py b/mrp_bom_component_menu/__manifest__.py new file mode 100644 index 000000000..9d7c43cc5 --- /dev/null +++ b/mrp_bom_component_menu/__manifest__.py @@ -0,0 +1,20 @@ +# Copyright 2017 Eficent Business and IT Consulting Services, S.L. +# () +# Copyright 2019 Rubén Bravo +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +{ + "name": "MRP BOM Component Menu", + "version": "12.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", + ], +} diff --git a/mrp_bom_component_menu/i18n/de.po b/mrp_bom_component_menu/i18n/de.po new file mode 100644 index 000000000..6c81a75a5 --- /dev/null +++ b/mrp_bom_component_menu/i18n/de.po @@ -0,0 +1,39 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mrp_bom_component_menu +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2018-12-09 10:43+0000\n" +"Last-Translator: Maria Sparenberg \n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.3\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 "Stücklistenkomponenten" + +#. 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 "" +"Stücklistenkomponenten sind Komponenten und Nebenprodukte zur Erstellung von " +"Stammstücklisten.\n" +"Verwenden Sie dieses Menü, um herauszufinden, in welchen Stücklisten die " +"Komponente verwendet wird." + +#. 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 "Klicken Sie hier, um eine Komponente zur Stückliste hinzuzufügen." diff --git a/mrp_bom_component_menu/i18n/mrp_bom_component_menu.pot b/mrp_bom_component_menu/i18n/mrp_bom_component_menu.pot new file mode 100644 index 000000000..98429aad2 --- /dev/null +++ b/mrp_bom_component_menu/i18n/mrp_bom_component_menu.pot @@ -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 11.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 "" + diff --git a/mrp_bom_component_menu/static/description/icon.png b/mrp_bom_component_menu/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/mrp_bom_component_menu/static/description/icon.png differ diff --git a/mrp_bom_component_menu/views/mrp_bom_component_view.xml b/mrp_bom_component_menu/views/mrp_bom_component_view.xml new file mode 100644 index 000000000..ce0cc70ba --- /dev/null +++ b/mrp_bom_component_menu/views/mrp_bom_component_view.xml @@ -0,0 +1,64 @@ + + + + + + + mrp.bom.line.tree.view + mrp.bom.line + + + + + + + + + + + + Bill of Material Components + ir.actions.act_window + mrp.bom.line + form + tree,form + + +

+ Click to add a component to a bill of material. +

+

+ 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. +

+
+
+ + + mrp.bom.line.view.filter + mrp.bom.line + + + + + + + + + + + + + + + + + +