report.paperformat :: Paper Format Config

Mixin that overrides the create and write methods to properly generate ir.model.data entries flagged with Studio for the corresponding resources. Doesn't create an ir.model.data if the record is part of a module being currently installed as the ir.model.data will be created automatically afterwards.

Fields

  • create_date [readonlydatetime]: Created on

  • create_uid [readonlymany2one: res.users]: Created by

  • css_margins [boolean]: Use css margins

  • default [boolean]: Default paper format?

  • disable_shrinking [boolean]: Disable smart shrinking

  • display_name [readonlychar]: Display Name

  • dpi [requiredinteger]: Output DPI

  • format [selection]: Paper size

  • header_line [boolean]: Display a header line

  • header_spacing [integer]: Header spacing

  • id [readonlyinteger]: ID

  • margin_bottom [float]: Bottom Margin (mm)

  • margin_left [float]: Left Margin (mm)

  • margin_right [float]: Right Margin (mm)

  • margin_top [float]: Top Margin (mm)

  • name [requiredchar]: Name

  • orientation [selection]: Orientation

  • page_height [integer]: Page height (mm)

  • page_width [integer]: Page width (mm)

  • print_page_height [readonlyfloat]: Print page height (mm)

  • print_page_width [readonlyfloat]: Print page width (mm)

  • report_ids [one2many: ir.actions.report]: Associated reports

  • write_date [readonlydatetime]: Last Updated on

  • write_uid [readonlymany2one: res.users]: Last Updated by