[FIX] mrp_production_putaway_strategy: TypeError: message_post() takes 1 positional argument but 2 were given

This commit is contained in:
Andrii Skrypka
2019-11-25 21:02:46 +02:00
parent ce36844281
commit 86cdced4c7

View File

@@ -21,5 +21,5 @@ class MrpProduction(models.Model):
"Applied Putaway strategy to finished products.\n"
"Finished Products Location: %s." %
mo.location_dest_id.complete_name)
mo.message_post(message, message_type='comment')
mo.message_post(body=message, message_type='comment')
return mo