Skip to content

[FIX] l10n_it_account: wrong Bootstrap column classes in report header #5207

@Matteo-Filardi

Description

@Matteo-Filardi

Module

l10n_it_account

Describe the bug

The report header in l10n_it_account/reports/account_reports_view.xml uses Bootstrap 3 column classes (col-xs-4, col-xs-offset-4) which no longer exist in Bootstrap 5. This breaks the two-column layout in the header where company info and report title should sit side by side.

To Reproduce

Affected versions: 18.00

  1. Install l10n_it_account
  2. Open any report that uses the header template
  3. The header columns are not laid out correctly

Expected behavior
Company name/TIN on the left, report title on the right, properly spaced.

Additional context
Bootstrap 3 classes like col-xs-* were dropped in Bootstrap 4. The fix is replacing them with col-6 and adding a small left margin to the right column.

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