From 1c3a2a4b0e438738e3bdc02b7d7ebdc03c2ef894 Mon Sep 17 00:00:00 2001 From: webmaster Date: Tue, 3 Nov 2026 12:11:03 +0000 Subject: [PATCH] fix(freelancer-directory): success copy is a receipt, not a delivery claim MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The two relay success strings still described a delivery the stub endpoints cannot perform ("on its way", "we will email them one invitation"). They were unreachable only while ODOO_EXPERTS_QUOTE_WEBHOOK / ODOO_EXPERTS_INVITE_WEBHOOK are empty — setting either re-armed the F1 false confirmation. - request form success -> "we have your request … come back to you by email" - invite form success -> "we have recorded your invitation … one-click opt-out" - comment at each constant: setting it switches the form on; the success copy must already be a receipt. Constants stay empty; both forms stay dark. --- odoo-community-developers/index.html | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/odoo-community-developers/index.html b/odoo-community-developers/index.html index d2cffa9..e85f777 100644 --- a/odoo-community-developers/index.html +++ b/odoo-community-developers/index.html @@ -990,7 +990,16 @@ // "not open yet" line (see #requestNotLive / #inviteNotLive) — the visitor can // never submit, so the page can never confirm an action nothing performs. // Set the URL to switch a form on; its note then hides itself. Nothing else changes. + // + // Setting this endpoint switches the REQUEST form on. The success copy in + // initRequestForm() must already be a RECEIPT ("we have your request"), never a + // delivery claim ("on its way", "we will send you their answers") — a visitor sees + // it the moment the form goes live, and the endpoint does not repair the copy. var ODOO_EXPERTS_QUOTE_WEBHOOK = ""; + // + // Setting this endpoint switches the INVITE form on. The success copy in + // initInviteForm() must already be a RECEIPT ("we have recorded your invitation"), + // never a delivery claim ("we will email them one invitation") — same reason. var ODOO_EXPERTS_INVITE_WEBHOOK = ""; // Wire shape, per the user: `languages` and `specialities` are COMMA-SEPARATED @@ -1224,7 +1233,7 @@ if (!res.ok) throw new Error("HTTP " + res.status); setStatus( status, - "Thank you — your request is on its way to the freelancers you picked, with no name attached. We will come back to you with their answers.", + "Thank you — we have your request. We will come back to you by email at the address you gave.", "ok" ); form.reset(); @@ -1261,7 +1270,7 @@ if (!res.ok) throw new Error("HTTP " + res.status); setStatus( status, - "Thank you — we will email them one invitation to sign up, and tell them you suggested it.", + "Thank you — we have recorded your invitation. If we send it, it names you as the person who suggested them and carries a one-click opt-out.", "ok" ); form.reset();