cardinal
CRM module

Contracts

Draft agreements from templates, track signing and fulfilment, and let them lapse on their dates.

A Contract is an agreement with a Customer, Supplier or Employee. A Contract Template holds the terms and the fulfilment requirements a Contract starts from. Contract is submittable, and its status keeps moving after submit.

Write and sign a contract

Create a Contract Template with Title, Contract Terms and, if needed, Requires Fulfilment with a list of requirements. The terms are a MiniJinja template over the Contract's fields.

Create a Contract. Set Party Type and Party Name, Start Date and End Date, and pick the Contract Template. The form fills Contract Terms, rendered for this Contract, and the Fulfilment Terms rows.

Submit it. Signed By (Company) becomes the submitting user. The status is Unsigned.

When the party signs, tick Signed and fill Signee. The status becomes Active while today is between the dates, or at once when there is no End Date.

Tick each Fulfilment Terms row as it is met. Fulfilment Status follows the rows.

A daily job moves signed Contracts between Active and Inactive as their dates pass. A draft that is discarded reads Cancelled.

Example

Template Standard Terms:

<p>Contract for {{ party_type }} {{ party_name }}, from {{ start_date }}.</p>

with requirements Pay the deposit and Return the form. A Contract for Customer Acme starting 2026-12-01 gets the terms Contract for Customer Acme, from 2026-12-01. and two unticked rows. Fulfilment Status is Unfulfilled. Tick one row and it reads Partially Fulfilled; tick both and it reads Fulfilled.

A template whose terms do not compile, such as {% if %}, is refused on save.

Status rules

StatusWhen
UnsignedSigned is off
ActiveSigned with no End Date, or signed with today between Start Date and End Date
InactiveSigned, with an End Date, and today outside the dates
CancelledThe draft was discarded
Fulfilment StatusWhen
N/ARequires Fulfilment is off
UnfulfilledNo requirement ticked
Partially FulfilledSome ticked
FulfilledAll ticked
LapsedFulfilment Deadline has passed and not all are ticked

End Date before Start Date is refused with "End Date cannot be before Start Date."

Fields that matter

FieldUse
Party Type, Party Name, Party UserWho the contract is with
Contract Template, Contract TermsSource template and the rendered terms
Requires Fulfilment, Fulfilment Deadline, Fulfilment TermsThe checklist and its deadline
Signed, Signee, Signed OnThe party's signature
Document Type, Document NameAn optional link to a Quotation, Project, Sales Order, Purchase Order or invoice

On this page