Commit 6639912
Franz VETTER
🔧 Fix: Correction DatabaseManager context dans OCO monitoring
❌ Problème résolu:
- Erreur 'DatabaseManager object has no attribute conn'
- Transactions de vente OCO non créées automatiquement
✅ Correction:
- Utilisation correcte du context manager get_connection()
- Vérification transaction existante avec with statement
- Création automatique transaction vente lors exécution OCO
🎯 Impact: OCO monitoring 100% fonctionnel + transactions complètes1 parent c833e70 commit 6639912
1 file changed
+8
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
837 | 837 | | |
838 | 838 | | |
839 | 839 | | |
840 | | - | |
841 | | - | |
842 | | - | |
843 | | - | |
844 | | - | |
845 | | - | |
846 | | - | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
847 | 848 | | |
848 | 849 | | |
849 | 850 | | |
| |||
0 commit comments