diff --git a/mrp_bom_component_menu/README.rst b/mrp_bom_component_menu/README.rst new file mode 100644 index 000000000..02d3a8322 --- /dev/null +++ b/mrp_bom_component_menu/README.rst @@ -0,0 +1,83 @@ +====================== +MRP BOM Component Menu +====================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmanufacture-lightgray.png?logo=github + :target: https://github.com/OCA/manufacture/tree/15.0/mrp_bom_component_menu + :alt: OCA/manufacture +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/manufacture-15-0/manufacture-15-0-mrp_bom_component_menu + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/129/15.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Adds a menu item *Bill of Material Components*. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +To use this module, you need to: + +#. Go to menu *Manufacturing -> Master Data -> Bill of Material Components*. + +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 `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* ForgeFlow + +Contributors +~~~~~~~~~~~~ + +* Jordi Ballester +* Lois Rilo +* Juany Davila + + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +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. + +This module is part of the `OCA/manufacture `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. 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..1b83e8de6 --- /dev/null +++ b/mrp_bom_component_menu/__manifest__.py @@ -0,0 +1,15 @@ +# Copyright 2017-19 ForgeFlow, 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": "16.0.1.0.0", + "category": "Manufacturing", + "website": "https://github.com/OCA/manufacture", + "author": "ForgeFlow," "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..777d1cfcc --- /dev/null +++ b/mrp_bom_component_menu/i18n/de.po @@ -0,0 +1,78 @@ +# 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_terms:ir.ui.view,arch_db:mrp_bom_component_menu.mrp_bom_line_view_filter +#, fuzzy +msgid "Bill Of Material" +msgstr "Stücklistenkomponenten" + +#. 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_terms:ir.actions.act_window,help:mrp_bom_component_menu.mrp_bom_form_action2 +#, fuzzy +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_terms: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." + +#. module: mrp_bom_component_menu +#: model_terms:ir.ui.view,arch_db:mrp_bom_component_menu.mrp_bom_line_tree_view +msgid "Components" +msgstr "" + +#. module: mrp_bom_component_menu +#: model_terms:ir.ui.view,arch_db:mrp_bom_component_menu.mrp_bom_line_view_filter +msgid "Default Unit of Measure" +msgstr "" + +#. module: mrp_bom_component_menu +#: model_terms:ir.ui.view,arch_db:mrp_bom_component_menu.mrp_bom_line_view_filter +msgid "Group By..." +msgstr "" + +#. module: mrp_bom_component_menu +#: model_terms:ir.ui.view,arch_db:mrp_bom_component_menu.mrp_bom_line_view_filter +msgid "Product" +msgstr "" + +#. module: mrp_bom_component_menu +#: model_terms:ir.ui.view,arch_db:mrp_bom_component_menu.mrp_bom_line_view_filter +msgid "Routings" +msgstr "" + +#. module: mrp_bom_component_menu +#: model_terms:ir.ui.view,arch_db:mrp_bom_component_menu.mrp_bom_line_view_filter +#, fuzzy +msgid "Search Bill Of Material Components" +msgstr "Stücklistenkomponenten" 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..6a580bc8d --- /dev/null +++ b/mrp_bom_component_menu/i18n/mrp_bom_component_menu.pot @@ -0,0 +1,63 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mrp_bom_component_menu +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.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_terms:ir.ui.view,arch_db:mrp_bom_component_menu.mrp_bom_line_view_filter +msgid "Bill Of Material" +msgstr "" + +#. 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_terms: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_terms: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 "" + +#. module: mrp_bom_component_menu +#: model_terms:ir.ui.view,arch_db:mrp_bom_component_menu.mrp_bom_line_tree_view +msgid "Components" +msgstr "" + +#. module: mrp_bom_component_menu +#: model_terms:ir.ui.view,arch_db:mrp_bom_component_menu.mrp_bom_line_view_filter +msgid "Default Unit of Measure" +msgstr "" + +#. module: mrp_bom_component_menu +#: model_terms:ir.ui.view,arch_db:mrp_bom_component_menu.mrp_bom_line_view_filter +msgid "Group By..." +msgstr "" + +#. module: mrp_bom_component_menu +#: model_terms:ir.ui.view,arch_db:mrp_bom_component_menu.mrp_bom_line_view_filter +msgid "Product" +msgstr "" + +#. module: mrp_bom_component_menu +#: model_terms:ir.ui.view,arch_db:mrp_bom_component_menu.mrp_bom_line_view_filter +msgid "Search Bill Of Material Components" +msgstr "" diff --git a/mrp_bom_component_menu/i18n/zh_CN.po b/mrp_bom_component_menu/i18n/zh_CN.po new file mode 100644 index 000000000..17468e5a3 --- /dev/null +++ b/mrp_bom_component_menu/i18n/zh_CN.po @@ -0,0 +1,70 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mrp_bom_component_menu +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2019-09-09 15:24+0000\n" +"Last-Translator: 黎伟杰 <674416404@qq.com>\n" +"Language-Team: none\n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 3.8\n" + +#. module: mrp_bom_component_menu +#: model_terms:ir.ui.view,arch_db:mrp_bom_component_menu.mrp_bom_line_view_filter +msgid "Bill Of Material" +msgstr "物料清单" + +#. 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_terms: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_terms: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 "" + +#. module: mrp_bom_component_menu +#: model_terms:ir.ui.view,arch_db:mrp_bom_component_menu.mrp_bom_line_tree_view +msgid "Components" +msgstr "" + +#. module: mrp_bom_component_menu +#: model_terms:ir.ui.view,arch_db:mrp_bom_component_menu.mrp_bom_line_view_filter +msgid "Default Unit of Measure" +msgstr "" + +#. module: mrp_bom_component_menu +#: model_terms:ir.ui.view,arch_db:mrp_bom_component_menu.mrp_bom_line_view_filter +msgid "Group By..." +msgstr "" + +#. module: mrp_bom_component_menu +#: model_terms:ir.ui.view,arch_db:mrp_bom_component_menu.mrp_bom_line_view_filter +msgid "Product" +msgstr "" + +#. module: mrp_bom_component_menu +#: model_terms:ir.ui.view,arch_db:mrp_bom_component_menu.mrp_bom_line_view_filter +msgid "Routings" +msgstr "" + +#. module: mrp_bom_component_menu +#: model_terms:ir.ui.view,arch_db:mrp_bom_component_menu.mrp_bom_line_view_filter +msgid "Search Bill Of Material Components" +msgstr "" diff --git a/mrp_bom_component_menu/readme/CONTRIBUTORS.rst b/mrp_bom_component_menu/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..010611fb9 --- /dev/null +++ b/mrp_bom_component_menu/readme/CONTRIBUTORS.rst @@ -0,0 +1,3 @@ +* Jordi Ballester +* Lois Rilo +* Juany Davila diff --git a/mrp_bom_component_menu/readme/DESCRIPTION.rst b/mrp_bom_component_menu/readme/DESCRIPTION.rst new file mode 100644 index 000000000..0ead389a6 --- /dev/null +++ b/mrp_bom_component_menu/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +Adds a menu item *Bill of Material Components*. diff --git a/mrp_bom_component_menu/readme/USAGE.rst b/mrp_bom_component_menu/readme/USAGE.rst new file mode 100644 index 000000000..2758a1098 --- /dev/null +++ b/mrp_bom_component_menu/readme/USAGE.rst @@ -0,0 +1,3 @@ +To use this module, you need to: + +#. Go to menu *Manufacturing -> Master Data -> Bill of Material Components*. 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/static/description/index.html b/mrp_bom_component_menu/static/description/index.html new file mode 100644 index 000000000..92bd1e4b1 --- /dev/null +++ b/mrp_bom_component_menu/static/description/index.html @@ -0,0 +1,429 @@ + + + + + + +MRP BOM Component Menu + + + +
+

MRP BOM Component Menu

+ + +

Beta License: AGPL-3 OCA/manufacture Translate me on Weblate Try me on Runbot

+

Adds a menu item Bill of Material Components.

+

Table of contents

+ +
+

Usage

+

To use this module, you need to:

+
    +
  1. Go to menu Manufacturing -> Master Data -> Bill of Material Components.
  2. +
+
+
+

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.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • ForgeFlow
  • +
+
+ +
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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.

+

This module is part of the OCA/manufacture project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + 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..fb048c797 --- /dev/null +++ b/mrp_bom_component_menu/views/mrp_bom_component_view.xml @@ -0,0 +1,68 @@ + + + + + mrp.bom.line.tree.view + mrp.bom.line + + + + + + + + + + + + Bill of Material Components + ir.actions.act_window + mrp.bom.line + 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 + + + + + + + + + + + + + +
diff --git a/setup/mrp_bom_component_menu/odoo/addons/mrp_bom_component_menu b/setup/mrp_bom_component_menu/odoo/addons/mrp_bom_component_menu new file mode 120000 index 000000000..bbde66171 --- /dev/null +++ b/setup/mrp_bom_component_menu/odoo/addons/mrp_bom_component_menu @@ -0,0 +1 @@ +../../../../mrp_bom_component_menu \ No newline at end of file diff --git a/setup/mrp_bom_component_menu/setup.py b/setup/mrp_bom_component_menu/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/mrp_bom_component_menu/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)