Import ClientFlow production v4928.1.5.132.4

This commit is contained in:
plx
2026-07-29 13:11:01 +00:00
parent 6445044ac6
commit 261d342057
405 changed files with 48373 additions and 1401 deletions

View File

@@ -0,0 +1,17 @@
# Overlay v4928.1.5.62
Task schema hotfix for production deployments where `opportunities.local_customer_id` is the fiscal/customer link column.
## Fixes
- Removes SQL references to non-existing `opportunities.fiscal_customer_id`.
- Keeps the workflow engine alias `fiscal_customer_id` internally by mapping it from `local_customer_id`.
- Fixes `/tasks/<id>` HTTP 500 caused by task detail joins.
- Keeps fiscal/customer inheritance behavior introduced in v1.5.61 without requiring a DB migration.
## Validate
```bash
python3 -m compileall -q app tests
PYTHONPATH=. pytest -q
```