Open ERP

Print Studio

Turn an approved business document layout into a safe, data-driven print template.

Enable Print in the View tab

Print Page Setup is available when Print is enabled in View Page Configuration. A generated module may contain one or more named templates where supported.

Visual Studio and code view

Use the visual editor for normal layout work and switch to HTML/CSS when an experienced user needs precise control. Fullscreen mode gives more room for the editable canvas and preview.

  • Drag approved fields into the document.
  • Create and resize table rows and columns visually.
  • Use collapsible field groups for Company, parent module and attached child modules.
  • Preview frequently with realistic data and long values.

Placeholders and child loops

Insert placeholders from the field panel rather than typing uncertain paths. Company fields, module fields and supported HTML fields use different verified placeholder forms. Child tables require a supported repeated-row block so each line is rendered automatically.

Use the field panel as the source of truth

Only the fields displayed for the current template context are guaranteed. A renamed or uncertain JSON property should be omitted until verified.

Safe HTML policy

Print Studio accepts controlled print HTML and CSS, but never arbitrary executable content.

  • No PHP.
  • No JavaScript.
  • No external CSS or JavaScript links.
  • No event-handler attributes such as onclick or onload.
  • No data placeholders in HTML attributes; use approved asset/placeholders such as the company-logo mechanism.
Sanitisation is part of the contract

Templates that violate these rules are rejected. This protects print users and keeps tenant content from becoming executable application code.

Formatting and final QA

  • Format dates and monetary values for the customer-facing document.
  • Use amount-in-words placeholders where required.
  • Render rich-text company fields as supported HTML instead of escaped tags.
  • Check logo proportions, Bill To details, GSTIN, bank details and page breaks.
  • Test screen preview, browser print and PDF output with a real saved record.
Next guidePreview & Generation