Import ClientFlow production v4928.1.5.132.4
This commit is contained in:
16
RELEASE_NOTES_v4928_1_5_112.md
Normal file
16
RELEASE_NOTES_v4928_1_5_112.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# v4928.1.5.112 — workflow guard tasks schema hotfix
|
||||
|
||||
Hotfix para o Internal Server Error em `/opportunities/{id}` depois da v1.5.110.
|
||||
|
||||
## Corrige
|
||||
|
||||
- `app/workflow_guard.py` deixava de abrir a oportunidade quando a tabela `tasks` não tinha coluna `completed_at`.
|
||||
- A query de evidência de envio de fatura passa a usar apenas colunas existentes no schema atual: `id`, `action_code`, `action`, `note`, `status`, `metadata`.
|
||||
- A evidência de fatura enviada continua a aceitar `status = done/completed/closed/concluída`.
|
||||
|
||||
## Validação
|
||||
|
||||
```bash
|
||||
PYTHONPATH=. python -m py_compile app/workflow_guard.py
|
||||
PYTHONPATH=. pytest -q tests/test_v4928_1_5_112_workflow_guard_tasks_schema_static.py
|
||||
```
|
||||
Reference in New Issue
Block a user