DocStudio

DocStudio User Guide

DocStudio turns any Frappe record into a business document that you can edit in place and download as a Word (.docx) file.

Contents

  1. Installation
  2. Opening a document
  3. Editing
  4. Saving
  5. Formatting
  6. Tables
  7. Themes
  8. Sections and page breaks
  9. Terms Blocks
  10. Templates
  11. Downloading and attaching
  12. Settings
  13. Troubleshooting

1. Installation

Frappe Cloud: install DocStudio from the Marketplace on your site.

Self-hosted:

bench get-app https://github.com/Inderajeet/docstudio --branch main
bench --site your.site install-app docstudio
bench build --app docstudio

DocStudio works with Frappe v15 on its own. When ERPNext or HRMS is installed, ready-made layouts for Quotation, Sales Invoice (GST), Purchase Order, Delivery Note and Job Offer are added automatically.

2. Opening a document

  1. Open any saved record, for example a Sales Invoice.
  2. Click Preview & Edit at the top of the form.

The record appears as an A4 document: letterhead from your Company, a “To” box, number and date, the items table, totals, terms and a signature. Click Back to Form to return.

3. Editing

Changed values are highlighted until you save.

4. Saving

Click Save (or press Ctrl+S). The dropdown next to the template and theme decides what Save does:

Formatting, reworded text and layout changes are always kept with the document, and they come back the next time you open the preview.

5. Formatting

Click any text in the document, then use the toolbar: font size, bold, italic, underline, alignment and colour. The × button clears formatting.

While editing a paragraph (for example terms), select a few words to format just those words.

Everything you format is carried into the Word file.

6. Tables

7. Themes

Choose a theme from the toolbar: Business, Formal, Modern or Simple.

To make your own, open DocStudio Theme, open a standard theme, and use Menu > Duplicate. You can change the font (including Noto Sans Tamil), font sizes, colours, table style, header shading, page size and margins. Set it as the default in DocStudio Settings, or on a template.

8. Sections and page breaks

Hover a section to see its tools in the left margin:

Hidden parts stay dimmed in the preview so you can bring them back, and they are left out of the Word file.

Layout menu:

9. Terms Blocks

Terms Blocks are reusable clauses, like “Payment terms” or “Electrical work terms”.

  1. Create one in DocStudio Terms Block. You can limit it to certain DocTypes.
  2. In the preview, pick it from the Terms dropdown. It’s added to the document and stays editable there.
  3. To add it automatically, set it as a template’s Default Terms Block.

10. Templates

A DocStudio Template controls how a DocType looks. Each DocType can have one default.

On a template you can also set:

Switch templates for one document from the toolbar.

11. Downloading and attaching

Word files use your theme’s fonts, with settings that make Tamil and other Indic scripts display correctly.

12. Settings

DocStudio Settings (System Manager):

13. Troubleshooting

I don’t see the Preview & Edit button. Save the record first. Check that DocStudio is enabled, your role is allowed, and the DocType isn’t excluded in DocStudio Settings. Then reload the page.

A value isn’t editable. In Save to Form mode, only fields you’re allowed to change are editable. Switch to Save as Document Only to change the document’s text without changing the record.

The logo or company address is missing. DocStudio reads them from the Company linked on the record. Fill in the Company’s logo and address.

The built-in layout isn’t used. Run Sync Standard Templates in DocStudio Settings, and check that the template is marked as the default for that DocType.

Still stuck? See Support.