cardinal
Setup

Terms and address templates

Reusable Terms and Conditions for vouchers, and how an address prints per country.

Terms and Conditions

A Terms and Conditions record is a template of the text that prints at the foot of a voucher. Pick it in a voucher's Terms field (tc_name). When the voucher's Terms and Conditions Content is blank, ERP renders the template into it on save.

FieldUse
TitleThe name you pick on vouchers
Selling, BuyingWhere it is offered. At least one must be on, unless the record is disabled
Terms and ConditionsThe template text
Copy Attachments to TransactionStored for parity with ERPNext
DisabledHides it from new vouchers

The template sees the voucher's fields at the top level. A save refuses a template that does not compile.

Terms and Conditions: Standard Sales
Payment due within 30 days of {{ transaction_date }}.
Quote {{ name }} on every payment.
Goods remain the property of {{ company }} until paid in full.

On a Sales Order SAL-ORD-2026-00012 dated 2026-11-23, the content reads Payment due within 30 days of 2026-11-23. and so on.

These RecTypes carry a Terms field: Quotation, Sales Order, Delivery Note, Sales Invoice, POS Invoice, Material Request, Request for Quotation, Supplier Quotation, Purchase Order, Purchase Receipt, Purchase Invoice and Blanket Order. Company and POS Profile hold a default.

Address Template

An Address Template sets how an address prints for one country. The template is Jinja over the Address's fields, which Cardinal's template engine renders.

Address Template: India
{{ address_line1 }}<br>
{% if address_line2 %}{{ address_line2 }}<br>{% endif %}
{{ city }}, {{ state }} {{ pincode }}<br>
{{ country }}

ERP has no checks on it yet. Nothing marks one as the default, refuses a delete or validates the template on save.

On this page