lumnik. / scenarios All scenarios · Français

An Odoo quotation sent expired and still unanswered

Goal Be alerted to the Odoo quotation sent to a customer, past its validity date and still unanswered, without touching Odoo.

Odoo gives each quotation a validity date. The customer does not answer, the date passes, and the quotation stays "Quotation sent". Odoo shows it as expired when someone opens it, and tells no one.

odoo-sale-order.txt
  name  |     customer     | state | validity_date | amount_total 
--------+------------------+-------+---------------+--------------
 S00001 | Garage Morel     | sent  | 2026-11-15    |      1380.00
 S00002 | Boulangerie Roux | sent  | 2026-12-11    |      1380.00
 S00003 | Cabinet Fabre    | sale  | 2026-11-11    |      1380.00
 S00004 | Atelier Blanc    | draft | 2026-11-18    |      1380.00
(4 rows)
$ lm inbox --process workflow:scenario-odoo-quotation-a
ID     WHEN      PROCESS                             MESSAGE                                                                         ENTITY_KEY
31323  just now  workflow:scenario-odoo-quotation-a  S00001 for Garage Morel, 1380 €: sent, expired on 2026-11-15, still unanswered  S00001

$ lm entity get ScenarioOdooQuotationA -o json
[
  {
    "quote_ref": "S00001",
    "state": "sent",
    "validity_date": "2026-11-15",
    "amount_total": "1380",
    "write_date": "2026-11-21T09:44:58.254473Z",
    "partner_id": "7",
    "customer": "Garage Morel",
    "_conflicts": "{}"
  },
  {
    "quote_ref": "S00002",
    "state": "sent",
    "validity_date": "2026-12-11",
    "amount_total": "1380",
    "write_date": "2026-11-21T09:44:58.355391Z",
    "partner_id": "8",
    "customer": "Boulangerie Roux",
    "_conflicts": "{}"
  },
  {
    "quote_ref": "S00003",
    "state": "sale",
    "validity_date": "2026-11-11",
    "amount_total": "1380",
    "write_date": "2026-11-21T09:44:58.447947Z",
    "partner_id": "9",
    "customer": "Cabinet Fabre",
    "_conflicts": "{}"
  },
  {
    "quote_ref": "S00004",
    "state": "draft",
    "validity_date": "2026-11-18",
    "amount_total": "1380",
    "write_date": "2026-11-21T09:44:58.516883Z",
    "partner_id": "10",
    "customer": "Atelier Blanc",
    "_conflicts": "{}"
  }
]

Limits

This scenario needs lumnik Pro.

See the editions →