diff --git a/mrp_auto_assign/README.rst b/mrp_auto_assign/README.rst index 16a7e41fc..a27e627a1 100644 --- a/mrp_auto_assign/README.rst +++ b/mrp_auto_assign/README.rst @@ -7,7 +7,7 @@ MRP Auto Assign =============== Simple module that make MO to reserve the raw material moves automatically -at creation. +at creation. Usage ===== @@ -18,7 +18,7 @@ To use this module, you need to: .. 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 + :target: https://runbot.odoo-community.org/runbot/129/12.0 Bug Tracker =========== @@ -40,6 +40,7 @@ Contributors ------------ * Florian da Costa +* Sudhir Arya Maintainer ---------- diff --git a/mrp_auto_assign/__init__.py b/mrp_auto_assign/__init__.py index 69f7babdf..0650744f6 100644 --- a/mrp_auto_assign/__init__.py +++ b/mrp_auto_assign/__init__.py @@ -1,3 +1 @@ -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - from . import models diff --git a/mrp_auto_assign/__manifest__.py b/mrp_auto_assign/__manifest__.py index 9670f7e3c..4dd09e5ba 100644 --- a/mrp_auto_assign/__manifest__.py +++ b/mrp_auto_assign/__manifest__.py @@ -8,9 +8,9 @@ "author": "Akretion, Odoo Community Association (OCA)", "website": "https://github.com/OCA/manufacture", "category": "Manufacturing", - "version": "11.0.1.0.0", + "version": "12.0.1.0.0", "license": "AGPL-3", + "depends": ["mrp"], "application": False, "installable": True, - "depends": ["mrp"], } diff --git a/mrp_auto_assign/models/__init__.py b/mrp_auto_assign/models/__init__.py index abc677d10..a9e5f13e4 100644 --- a/mrp_auto_assign/models/__init__.py +++ b/mrp_auto_assign/models/__init__.py @@ -1,3 +1 @@ -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - from . import mrp_production diff --git a/mrp_auto_assign/readme/CONTRIBUTORS.rst b/mrp_auto_assign/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..3720d88cd --- /dev/null +++ b/mrp_auto_assign/readme/CONTRIBUTORS.rst @@ -0,0 +1,2 @@ +* Florian da Costa +* Sudhir Arya diff --git a/mrp_auto_assign/readme/DESCRIPTION.rst b/mrp_auto_assign/readme/DESCRIPTION.rst new file mode 100644 index 000000000..629f8b81b --- /dev/null +++ b/mrp_auto_assign/readme/DESCRIPTION.rst @@ -0,0 +1,2 @@ +Simple module that make MO to reserve the raw material moves automatically +at creation. diff --git a/mrp_auto_assign/readme/USAGE.rst b/mrp_auto_assign/readme/USAGE.rst new file mode 100644 index 000000000..757d41c12 --- /dev/null +++ b/mrp_auto_assign/readme/USAGE.rst @@ -0,0 +1,7 @@ +To use this module, you need to: + +#. Go to *Manufacturing* and create a Manufacturing Order. + +.. 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/12.0 diff --git a/mrp_auto_assign/tests/__init__.py b/mrp_auto_assign/tests/__init__.py index b85a432bc..4b002ea91 100644 --- a/mrp_auto_assign/tests/__init__.py +++ b/mrp_auto_assign/tests/__init__.py @@ -1,3 +1 @@ -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - from . import test_auto_assign diff --git a/mrp_auto_assign/tests/test_auto_assign.py b/mrp_auto_assign/tests/test_auto_assign.py index 9e3a8a0a5..817960489 100644 --- a/mrp_auto_assign/tests/test_auto_assign.py +++ b/mrp_auto_assign/tests/test_auto_assign.py @@ -14,7 +14,7 @@ class TestMrpAutoAssign(TransactionCase): self.stock_location_stock = self.env.ref('stock.stock_location_stock') self.manufacture_route = self.env.ref( 'mrp.route_warehouse0_manufacture') - self.uom_unit = self.env.ref('product.product_uom_unit') + self.uom_unit = self.env.ref('uom.product_uom_unit') self.product_manuf = self.env['product.product'].create({ 'name': 'Manuf',