Merge branch 'fix/15.0/product_cores_report__move_type' into '15.0'

fix/15.0/product_cores_report__move_type into 15.0

See merge request hibou-io/hibou-odoo/suite!1313
This commit is contained in:
Jared Kipe
2022-01-24 23:32:22 +00:00

View File

@@ -186,7 +186,7 @@ class ProductCoreAgedReport(models.AbstractModel):
{'name': sign * qty_expired or '', 'no_format': sign * qty_expired},
],
'action_context': {
'default_type': aml.move_id.type,
'default_move_type': aml.move_id.move_type,
'default_journal_id': aml.move_id.journal_id.id,
},
'title_hover': self._format_aml_name(aml.name, aml.ref, aml.move_id.name),