Skip to content
Snippets Groups Projects
Commit 31d19a8f authored by Rémy Voet (ryv)'s avatar Rémy Voet (ryv) Committed by Simon Lejeune
Browse files

[IMP] mrp_account: prevent grouping slv from MO

Prevent the group by product in the stock valuation layer when
we coming from a MO form via the button "Stock Valution".

task-2241471
parent 7e71c0f8
No related branches found
No related tags found
No related merge requests found
......@@ -83,4 +83,5 @@ class MrpProduction(models.Model):
context = literal_eval(action['context'])
context.update(self.env.context)
context['no_at_date'] = True
context['search_default_group_by_product_id'] = False
return dict(action, domain=domain, context=context)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment