diff --git a/mrp_bom_note/README.rst b/mrp_bom_note/README.rst index 8ff580d0e..6243149ef 100644 --- a/mrp_bom_note/README.rst +++ b/mrp_bom_note/README.rst @@ -1,65 +1,89 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 - ========================== Notes in Bill of Materials ========================== -This module creates in BoM a new field to add notes -Installation -============ -To install this module, you need to install mrp application. +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -Configuration -============= -No configuration required. +.. |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/12.0-mig-mrp_bom_note/mrp_bom_note + :alt: OCA/manufacture +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/manufacture-12-0-mig-mrp_bom_note/manufacture-12-0-mig-mrp_bom_note-mrp_bom_note + :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/12.0-mig-mrp_bom_note + :alt: Try me on Runbot +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module creates in BoM a new field to add notes in rich text format. + +**Table of contents** + +.. contents:: + :local: Usage ===== -1. Go to Manufacturing > Master Data > Bill of Materials -2. Edit an existing BoM. -3. Fill in the Notes field on tab Notes. -.. 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 +To use this module, you need to: + +#. Go to *Manufacturing > Master Data > Bill of Materials*. +#. Edit an existing BoM. +#. Fill in the field on tab "Notes". 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 -`here `_. +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 ======= -Images ------- -* Odoo Community Association: `Icon `_. +Authors +~~~~~~~ + +* OdooMRP team +* AvanzOSC +* Serv. Tecnol. Avanzados - Pedro M. Baeza Contributors ------------- +~~~~~~~~~~~~ * Oihane Crucelaegui * Pedro M. Baeza * Ana Juaristi * Bima Wijaya * Agung Rachmatullah +* Laurent Bélorgey -Maintainer ----------- +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. .. 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. +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_note/__init__.py b/mrp_bom_note/__init__.py index 1f92abd7d..d3ee04cbd 100644 --- a/mrp_bom_note/__init__.py +++ b/mrp_bom_note/__init__.py @@ -1,4 +1,4 @@ # © 2015 Oihane Crucelaegui - AvanzOSC -# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html +# License AGPL-3 - See https://www.gnu.org/licenses/agpl-3.0.html from . import models diff --git a/mrp_bom_note/__manifest__.py b/mrp_bom_note/__manifest__.py index bf696b245..1a14d99aa 100644 --- a/mrp_bom_note/__manifest__.py +++ b/mrp_bom_note/__manifest__.py @@ -1,21 +1,21 @@ # © 2015 Oihane Crucelaegui - AvanzOSC -# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html +# License AGPL-3 - See https://www.gnu.org/licenses/agpl-3.0.html { "name": "Notes in Bill of Materials", - "version": "11.0.1.0.0", + "version": "12.0.1.0.0", "license": "AGPL-3", "author": "OdooMRP team," "AvanzOSC," "Serv. Tecnol. Avanzados - Pedro M. Baeza, " "Odoo Community Association (OCA)", - "website": "http://www.odoomrp.com", - "category": "Tools", + "website": "https://github.com/OCA/manufacture", + "category": "Manufacturing", "depends": [ "mrp", ], "data": [ "views/mrp_bom_view.xml", ], - 'installable': True + "installable": True } diff --git a/mrp_bom_note/models/__init__.py b/mrp_bom_note/models/__init__.py index f703f84eb..94a81b84a 100644 --- a/mrp_bom_note/models/__init__.py +++ b/mrp_bom_note/models/__init__.py @@ -1,4 +1,4 @@ # © 2015 Oihane Crucelaegui - AvanzOSC -# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html +# License AGPL-3 - See https://www.gnu.org/licenses/agpl-3.0.html from . import mrp_bom diff --git a/mrp_bom_note/models/mrp_bom.py b/mrp_bom_note/models/mrp_bom.py index fe08e5115..86a9ee4fb 100644 --- a/mrp_bom_note/models/mrp_bom.py +++ b/mrp_bom_note/models/mrp_bom.py @@ -1,5 +1,5 @@ # © 2015 Oihane Crucelaegui - AvanzOSC -# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html +# License AGPL-3 - See https://www.gnu.org/licenses/agpl-3.0.html from odoo import models, fields diff --git a/mrp_bom_note/readme/CONTRIBUTORS.rst b/mrp_bom_note/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..688458375 --- /dev/null +++ b/mrp_bom_note/readme/CONTRIBUTORS.rst @@ -0,0 +1,6 @@ +* Oihane Crucelaegui +* Pedro M. Baeza +* Ana Juaristi +* Bima Wijaya +* Agung Rachmatullah +* Laurent Bélorgey diff --git a/mrp_bom_note/readme/DESCRIPTION.rst b/mrp_bom_note/readme/DESCRIPTION.rst new file mode 100644 index 000000000..132962310 --- /dev/null +++ b/mrp_bom_note/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module creates in BoM a new field to add notes in rich text format. diff --git a/mrp_bom_note/readme/USAGE.rst b/mrp_bom_note/readme/USAGE.rst new file mode 100644 index 000000000..0fe8333b8 --- /dev/null +++ b/mrp_bom_note/readme/USAGE.rst @@ -0,0 +1,5 @@ +To use this module, you need to: + +#. Go to *Manufacturing > Master Data > Bill of Materials*. +#. Edit an existing BoM. +#. Fill in the field on tab "Notes". diff --git a/mrp_bom_note/static/description/index.html b/mrp_bom_note/static/description/index.html new file mode 100644 index 000000000..c6636e8a2 --- /dev/null +++ b/mrp_bom_note/static/description/index.html @@ -0,0 +1,436 @@ + + + + + + +Notes in Bill of Materials + + + +
+

Notes in Bill of Materials

+ + +

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

+

This module creates in BoM a new field to add notes in rich text format.

+

Table of contents

+ +
+

Usage

+

To use this module, you need to:

+
    +
  1. Go to Manufacturing > Master Data > Bill of Materials.
  2. +
  3. Edit an existing BoM.
  4. +
  5. Fill in the field on tab “Notes”.
  6. +
+
+
+

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

+
    +
  • OdooMRP team
  • +
  • AvanzOSC
  • +
  • Serv. Tecnol. Avanzados - Pedro M. Baeza
  • +
+
+
+

Contributors

+ +
+
+

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_note/tests/test_mrp_bom_note.py b/mrp_bom_note/tests/test_mrp_bom_note.py index 4b04606c2..e82a22ed4 100644 --- a/mrp_bom_note/tests/test_mrp_bom_note.py +++ b/mrp_bom_note/tests/test_mrp_bom_note.py @@ -12,7 +12,7 @@ class TestMrpBomNote(TransactionCase): self.bom = self.env['mrp.bom'] def test_notes(self): - uom_unit = self.env.ref('product.product_uom_unit') + uom_unit = self.env.ref('uom.product_uom_unit') product_t_fg = self.product_t.create({ 'name': 'Chair', 'type': 'product',