# Checkpoint 256 — BE-031 customer-template technical proposal

React CRM now drafts a technical proposal for an opportunity with a linked customer. Sales users paste relevant customer template text and list required headings. The local model produces section responses, assumptions, exclusions, gaps and uncertainty from the authorized CRM/project snapshot. Application code binds each generated response to the exact original customer heading in order. Citations are constrained to the current opportunity/customer/project records.

Odoo checks Sales/Owner access, current company, opportunity/customer access, source revision, template digest, section shape and citation membership before it saves an auditable pending `be.ai.suggestion`. Reopening the opportunity reloads the pending draft. The flow does not create a quotation, change the opportunity, send a message or approve the proposal.

## Verification

- Backend generator tests: **4 passed**, including exact original headings, invalid section count, cited-source validation, citation de-duplication, and bounded model options.
- Business/API route tests: **1 passed** for create/reopen and invalid request rejection before Odoo mutation.
- Isolated Odoo bridge tests: **3 passed, 0 failures/errors** for persistence/reopen, source/template freshness and citations, foreign source and unauthorized role denial.
- Authenticated live React → BFF → local Qwen 3.8 27B → Odoo browser journey: **1 passed** on a disposable clone. React generated and reopened one pending suggestion under the Sales user. Odoo verified exact heading order and allowed citations; the opportunity write date, messages, activities and sale-order count were unchanged.
- Vite production build, Python compilation and focused `git diff --check`: passed.
- The disposable clone was dropped and the Odoo runner restarted. Source `be_qa_demo_full_20261025` was unchanged.
- Evidence: [native QA](CRM_TECHNICAL_PROPOSAL_NATIVE_QA.json), [live QA](CRM_TECHNICAL_PROPOSAL_LIVE_QA.json), [React screenshot](frontend/screenshots/live-crm-technical-proposal.png).

BE-031 remains **PARTIAL**. Customer template file upload/PDF extraction, Arabic quality evaluation, broader role/company acceptance and full A1–A4 remain open. The original BRD source is not independently verified in this checkout. Story classifications: **17 DONE, 118 PARTIAL, 19 MISSING, 10 BLOCKED** of 164; 10.4% are fully acceptance-verified DONE.
