diff --git a/stock_whole_kit_constraint/README.rst b/stock_whole_kit_constraint/README.rst index 073303fa8..739c896a4 100644 --- a/stock_whole_kit_constraint/README.rst +++ b/stock_whole_kit_constraint/README.rst @@ -14,13 +14,13 @@ Stock whole kit constraint :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/stock_whole_kit_constraint + :target: https://github.com/OCA/manufacture/tree/13.0/stock_whole_kit_constraint :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/manufacture-12-0-stock_whole_kit_constraint + :target: https://translation.odoo-community.org/projects/manufacture-13-0/manufacture-13-0-stock_whole_kit_constraint :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 + :target: https://runbot.odoo-community.org/runbot/129/13.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -61,7 +61,7 @@ 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -93,6 +93,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/stock_whole_kit_constraint/__manifest__.py b/stock_whole_kit_constraint/__manifest__.py index 9c6e31ba7..88e8d4b93 100644 --- a/stock_whole_kit_constraint/__manifest__.py +++ b/stock_whole_kit_constraint/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Stock whole kit constraint", "summary": "Avoid to deliver a kit partially", - "version": "12.0.1.0.0", + "version": "13.0.1.0.0", "category": "Stock", "website": "https://github.com/OCA/manufacture", "author": "Tecnativa, Odoo Community Association (OCA)", diff --git a/stock_whole_kit_constraint/models/stock_move.py b/stock_whole_kit_constraint/models/stock_move.py index 335498e63..aaaa4249a 100644 --- a/stock_whole_kit_constraint/models/stock_move.py +++ b/stock_whole_kit_constraint/models/stock_move.py @@ -25,13 +25,6 @@ class StockMove(models.Model): move.bom_line_id.bom_id.product_tmpl_id.allow_partial_kit_delivery ) - def _prepare_phantom_move_values(self, bom_line, quantity): - """TODO: Not necessary in Odoo 13 or if this PR gets merged someday: - https://github.com/odoo/odoo/pull/67536""" - vals = super()._prepare_phantom_move_values(bom_line, quantity) - vals["bom_line_id"] = bom_line.id - return vals - def _check_backorder_moves(self): """Check if there are partial deliveries on any set of moves. The computing is done in the same way the main picking method does it """ diff --git a/stock_whole_kit_constraint/static/description/index.html b/stock_whole_kit_constraint/static/description/index.html index 6d57274b1..0e4615447 100644 --- a/stock_whole_kit_constraint/static/description/index.html +++ b/stock_whole_kit_constraint/static/description/index.html @@ -3,7 +3,7 @@ - + Stock whole kit constraint