Skip to content
Snippets Groups Projects
  • Adrien Widart's avatar
    dc296afa
    [FIX] web: remove bottom border of first table raw · dc296afa
    Adrien Widart authored
    
    When using the boxed layout, if the business document has a table, its
    first row (after the table head) will have a bottom border and the last
    cell in the row has a white background.
    
    To reproduce the error:
    (Need timesheet_grid. Use demo data)
    1. In Settings > General Settings, Change Document Template:
        - Select the second template
    2. In Timesheets, select list view
    3. Select several lines
    4. Print > Timesheet Entries
    
    Error: In PDF, the first timesheet line has a bottom line and its last
    cell has a white background (instead of grey).
    
    The bottom line should only be applied on row in table header. The
    background color should also be applied on first row in table body.
    
    OPW-2478311
    
    closes odoo/odoo#70746
    
    X-original-commit: 88a10bdd
    Signed-off-by: default avatarAdrien Widart <adwid@users.noreply.github.com>
    dc296afa
    History
    [FIX] web: remove bottom border of first table raw
    Adrien Widart authored
    
    When using the boxed layout, if the business document has a table, its
    first row (after the table head) will have a bottom border and the last
    cell in the row has a white background.
    
    To reproduce the error:
    (Need timesheet_grid. Use demo data)
    1. In Settings > General Settings, Change Document Template:
        - Select the second template
    2. In Timesheets, select list view
    3. Select several lines
    4. Print > Timesheet Entries
    
    Error: In PDF, the first timesheet line has a bottom line and its last
    cell has a white background (instead of grey).
    
    The bottom line should only be applied on row in table header. The
    background color should also be applied on first row in table body.
    
    OPW-2478311
    
    closes odoo/odoo#70746
    
    X-original-commit: 88a10bdd
    Signed-off-by: default avatarAdrien Widart <adwid@users.noreply.github.com>