Release v4928.1.4.2 stable

This commit is contained in:
2026-06-09 22:55:58 +01:00
commit 6445044ac6
280 changed files with 41775 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
from pathlib import Path
ROOT = Path(__file__).resolve().parents[1]
def read(path: str) -> str:
return (ROOT / path).read_text(encoding="utf-8")
def test_customer_mismatch_warning_no_longer_blocks_by_name():
admin = read("app/admin_dashboard.py")
assert "def opportunity_customer_mismatch" in admin
assert "return False" in admin
assert "Nome de contacto ≠ cliente fiscal não é um erro fiável" in admin
assert "Atenção: contacto e cliente fiscal não coincidem" not in admin
def test_customer_mismatch_setting_remains_accepted_for_env_compatibility():
config = read("app/config.py")
assert "clientflow_customer_mismatch_warning_enabled" in config
assert "clientflow_customer_mismatch_warning_enabled: bool = False" in config