diff --git a/mrp_production_putaway_strategy/__manifest__.py b/mrp_production_putaway_strategy/__manifest__.py index d607315e9..ce8b596ba 100644 --- a/mrp_production_putaway_strategy/__manifest__.py +++ b/mrp_production_putaway_strategy/__manifest__.py @@ -5,7 +5,7 @@ "name": "MRP Production Putaway Strategy", "summary": "Applies putaway strategies to manufacturing orders for " "finished products.", - "version": "14.0.1.0.0", + "version": "15.0.1.0.0", "author": "ForgeFlow, " "Odoo Community Association (OCA)", "website": "https://github.com/OCA/manufacture", "category": "Manufacture", diff --git a/mrp_production_putaway_strategy/models/mrp_production.py b/mrp_production_putaway_strategy/models/mrp_production.py index c0103b181..f8efe1343 100644 --- a/mrp_production_putaway_strategy/models/mrp_production.py +++ b/mrp_production_putaway_strategy/models/mrp_production.py @@ -16,9 +16,13 @@ class MrpProduction(models.Model): vals["location_dest_id"] = location_id.id mo = super(MrpProduction, self).create(vals) if location_id: - message = _( - "Applied Putaway strategy to finished products.\n" - "Finished Products Location: %s." % mo.location_dest_id.complete_name + message = ( + _( + "Applied Putaway strategy to finished products.\n Finished " + "Products Location: %s. " + ) + % mo.location_dest_id.complete_name ) + mo.message_post(body=message, message_type="comment") return mo