diff --git a/mrp_progress_button/README.rst b/mrp_progress_button/README.rst index ba9819e7b..5de08a897 100644 --- a/mrp_progress_button/README.rst +++ b/mrp_progress_button/README.rst @@ -14,13 +14,13 @@ Mrp Progress Button :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/11.0/mrp_progress_button + :target: https://github.com/OCA/manufacture/tree/12.0/mrp_progress_button :alt: OCA/manufacture .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/manufacture-11-0/manufacture-11-0-mrp_progress_button + :target: https://translation.odoo-community.org/projects/manufacture-12-0/manufacture-12-0-mrp_progress_button :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/11.0 + :target: https://runbot.odoo-community.org/runbot/129/12.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -46,12 +46,10 @@ To use this module, you need to: 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. +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 smash it by providing detailed and welcomed feedback. Credits ======= @@ -65,6 +63,7 @@ Contributors ~~~~~~~~~~~~ * Florian da Costa +* Sudhir Arya Maintainers ~~~~~~~~~~~ @@ -79,6 +78,6 @@ 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. +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_progress_button/__manifest__.py b/mrp_progress_button/__manifest__.py index 7b648e48d..3f47b0fe3 100644 --- a/mrp_progress_button/__manifest__.py +++ b/mrp_progress_button/__manifest__.py @@ -8,10 +8,13 @@ "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", - "application": False, + "depends": [ + "mrp" + ], + "data": [ + "views/production.xml" + ], "installable": True, - "depends": ["mrp"], - "data": ["views/production.xml"], } diff --git a/mrp_progress_button/static/description/icon.png b/mrp_progress_button/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/mrp_progress_button/static/description/icon.png differ diff --git a/mrp_progress_button/tests/test_progress_button.py b/mrp_progress_button/tests/test_progress_button.py index 22716bde9..f0706311b 100644 --- a/mrp_progress_button/tests/test_progress_button.py +++ b/mrp_progress_button/tests/test_progress_button.py @@ -14,7 +14,7 @@ class TestProgressButton(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', @@ -67,3 +67,4 @@ class TestProgressButton(TransactionCase): }) production.action_progress() self.assertEqual(production.state, 'progress') + \ No newline at end of file diff --git a/mrp_progress_button/views/production.xml b/mrp_progress_button/views/production.xml index 492d1e6be..a42cc38e1 100644 --- a/mrp_progress_button/views/production.xml +++ b/mrp_progress_button/views/production.xml @@ -1,15 +1,15 @@ - + - - mrp.production - - - - - + + mrp.production + + + + +