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

fix/15.0/product_cores_report__move_type into 15.0-test

See merge request hibou-io/hibou-odoo/suite!1312
This commit is contained in:
Hibou Bot
2022-01-24 23:21:28 +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),