Skip to main content
Scrive

‘Only pending or timed-out documents can be prolonged.’ in Scrive

The message Only pending or timed-out documents can be prolonged. appears when you press Apply in the prolong assistant and the document's State is neither Pending nor Timed Out. The code checks this before calling Scrive, so nothing is changed: look at the document's current state and prolong only those in one of those two.

FlexigoTech · Editor in charge: Víctor Gómez · Updated 5 November 2026

Key facts

Module
Scrive
Versions
Odoo 17, 18, 19 and 20
Checked
in the connector's source code, version 20.0 · against the sources linked at the end
Reading time
4 min

The case: the document changed state with the assistant open

Example Illustrative case: the company and its figures are made up to explain the flow.

Taller Aurora is an invented company that uses Scrive Connector. Someone on its sales team wants to give a customer more time to sign. She finds the document in Signature Documents, with its State at Pending. In the prolong assistant she enters the days. In the meantime, the document moves to Signed. When she presses Apply, Odoo stops and shows the message: Only pending or timed-out documents can be prolonged.

She goes back to Scrive › Signature Documents, finds the document and looks at the State field: it says Signed. That value is neither of the two the code accepts, so the action stops and nothing the prolongation was going to change is saved. There is nothing broken to repair: a document that is already signed does not qualify for a prolongation.

Kanban view of Signature Documents with columns Signed, Draft, Pending, Rejected and Saved as Template; the last column is cut off
The kanban view of Scrive › Signature Documents, with demo data (cards titled [DEMO])

What the case shows: the Apply button in the assistant is always visible, so seeing it does not guarantee that the document will pass the check. It is when you press it that the code looks at the document's state, and that check is what raises the message.

Odoo + Scrive: see who signed, get the sealed PDF
Video: Odoo + Scrive: see who signed, get the sealed PDF

Exactly when it appears

You reach the message by pressing Apply in the prolong assistant. That button is always visible, in Odoo 17, 18, 19 and 20. When you press it, the assistant moves on to the routine that prolongs the document, and the first thing that routine does is look at the state.

The condition, in words: the document's State is neither Pending nor Timed Out. With any other value, the code raises the error and the action stops. Because the warning fires before anything is asked of Scrive, what the prolongation was going to change is not saved.

Diagram made with code, not an Odoo screen: from top to bottom, the menu Scrive › Signature Documents, the Apply button and the State field, and the message Only pending or timed-out documents can be prolonged.
Diagram made with code from the module's published code (not an Odoo screenshot): menu, apply button, state field and message, with the labels taken from the code

The message is in the published code for Odoo 17, 18, 19 and 20.

Which states pass and which do not

The State field shows on the form of Signature Documents and also in its list. These are its values and what the check does with each one:

StatePasses the check?
DraftNo
PreparationNo
Awaiting StartNo
PendingYes
SignedNo
CanceledNo
Timed OutYes
RejectedNo
ErrorNo
Saved as TemplateNo

Only two rows say yes. Note Awaiting Start: it sounds close to Pending, but it is a different value and the code does not accept it.

What to do, step by step

  1. Open the menu Scrive › Signature Documents. If you cannot see the Scrive branch, you are missing the User permission.
  2. Find the document and look at its current State, on the form or in the list.
  3. If it says Pending or Timed Out, the document meets the condition: in the prolong assistant enter the days and press Apply.
  4. If it shows any other value from the table, the message is correct: that document cannot be prolonged from that state, and nothing has been modified.

If you want to see how a document is sent to Scrive, there is the article on the Send button.

What happens when the check is passed

With the document in Pending or Timed Out, the routine carries on. In order:

  • It asks Scrive to prolong the document by the given number of days.
  • It updates the form with the data Scrive returns in its reply.
  • It records a message on the document reading Signing period prolonged by … day(s)., where the dots stand for the days of the prolongation.

Questions that come up

Is anything sent to Scrive when the error appears?

No. In the code, the state check comes before the call to Scrive. If the error fires, the call is never made.

Do I lose anything when I see the message?

No. The error stops the action and nothing the prolongation was going to change is saved. The document stays as it was.

Where can I see a document's state?

The State field is on the form of Signature Documents and also in its list, under the menu Scrive › Signature Documents.

Does it affect only one Odoo version?

The message exists in all four published versions: 17, 18, 19 and 20.

How FlexigoTech can help

If you are implementing Odoo and want to review the signing flow from end to end, FlexigoTech implements Odoo 17, 18, 19 and 20 and builds custom connectors and integrations. Scrive Connector is a one-off purchase per Odoo version and needs a FlexigoTech Cloud subscription (Connector plan: €49 a month or €490 a year, excluding VAT). The connection goes through FlexigoTech Cloud, which stores the credentials encrypted and watches the synchronisation. You will find the module page and its listing on Odoo Apps.

Keep reading

What the Send button of Scrive Connector does, step by stepWhat the Send button of Scrive Connector does in Odoo: what it checks, what it creates, where it takes you next and which messages can stop it.Scrive Connector: «Callbacks can only be triggered for sent documents.»When the callbacks error shows up in Scrive Connector for Odoo, which condition triggers it (document state and Scrive ID) and how to fix it.The «Days must be between 1 and 365.» message in Scrive ConnectorWhen Scrive Connector shows «Days must be between 1 and 365.», what the code checks when you press Apply, and how to fix it.
Checked in the connector's source code (version 20.0) and the linked sources

Sources