Skip to content

Reports apply to all models #303

@InformaticaArelux

Description

@InformaticaArelux

I think the mis-builder addon is very powerful and flexible to obtain reports BUT only with respect to move lines and I think that this is a "mistake", that is, I think the addon could be considered as a reporting system at the level of any model.

For example, if we try to make a completely customized sales report, it is not possible, since in the mis.report model, the move_line_sources field only allows me to select move lines.

The changes that occur to me to propose this change with respect to what was previously used would be:

Model mis_report

  • Change move_line_sources to ir_model (many2one)

Model mis_report_kpi

  • Change auto_expand_account to auto_expand
  • Add the auto_expand_field_id field (showing the list of the -ir_field- fields with respect to the model selected in the report and then group the data with respect to this field).

Model mis_report_instance

  • Delete the target_move field
  • Add the domain field (Ex: [('type', '=', 'posted')] to simulate what is currently done regarding the entries entered)

Lastly, I think the addon should be available globally as an item in the Odoo menu.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions