Import ClientFlow production v4928.1.5.132.4
This commit is contained in:
27
E2E_DEEP_6_ERRORS_FIX_README.md
Normal file
27
E2E_DEEP_6_ERRORS_FIX_README.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# ClientFlow Deep Audit 6 Errors Fix
|
||||
|
||||
Corrige os 6 `HTTP 500` encontrados no deep audit:
|
||||
|
||||
- `POST /opportunities/{id}/stage NEW`
|
||||
- `POST /opportunities/{id}/jasmin/create-quotation`
|
||||
- `POST /opportunities/{id}/jasmin/convert-invoice`
|
||||
- `POST /opportunities/{id}/operations/prepare_order`
|
||||
- `POST /opportunities/{id}/operations/prepare_shipping`
|
||||
- `POST /opportunities/{id}/operations/send_followup`
|
||||
|
||||
Alterações:
|
||||
|
||||
1. `stage=NEW` passa a ser aceite como alias de `NEW_LEAD`.
|
||||
2. Falhas de criação/conversão Jasmin deixam de devolver `500` em pedidos normais; redirecionam para a oportunidade com `notice`.
|
||||
3. Ações legadas de operações passam a mapear para ações canónicas:
|
||||
- `prepare_order` -> `odoo_sale_order`
|
||||
- `prepare_shipping` -> `packlink_shipment`
|
||||
- `send_followup` -> `tracking_sent`
|
||||
4. Bloqueios/erros operacionais deixam de rebentar a UI com `500`; devolvem `409` em HTMX ou `303` com aviso na UI normal.
|
||||
|
||||
Depois de aplicar, reiniciar o ClientFlow e voltar a correr:
|
||||
|
||||
```bash
|
||||
./e2e_test_lab/scripts/run_deep_e2e_lab.sh | tee e2e_test_lab/latest_deep_e2e_run.log
|
||||
cat e2e_test_lab/latest_deep_audit_report.md
|
||||
```
|
||||
Reference in New Issue
Block a user