OCA / l10n-france

France Localization for Odoo
GNU Affero General Public License v3.0
42 stars 118 forks source link

Bug on report invoice document view in l10n_fr_invoice_addr #564

Open lphm opened 3 months ago

lphm commented 3 months ago

Module

l10n_fr_invoice_addr

Describe the bug

On PDF, columns with invoice details (due date, operation type, etc) above items table are not correctly formatted.

To Reproduce

Affected versions: 17.0

Steps to reproduce the behavior:

  1. create an invoice
  2. print it.

How to correct :

In the view l10n_fr_invoice_addr.report_invoice_document : Replace : class="col mb-2" With : class="#{'col-auto col-3 mw-100' if report_type != 'html' else 'col'} mb-2" And it works perfectly.