Commit cbe3401
bosd
Fix ir.model.relation field validation error and improve error handling\n\n- Add proper error handling for ValueError when querying ir.model.relation\n- Catch 'Invalid field' errors specifically and provide graceful fallback\n- Log warning messages with details about the field validation issues\n- Continue with derivation logic when relation table queries fail\n- This prevents crashes when ir.model.relation field names are incorrect\n\nThis fixes the critical Odoo server error that was preventing relation queries.
1 parent b0972c5 commit cbe3401
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| 174 | + | |
| 175 | + | |
174 | 176 | | |
175 | 177 | | |
176 | 178 | | |
| |||
205 | 207 | | |
206 | 208 | | |
207 | 209 | | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
208 | 222 | | |
209 | 223 | | |
210 | 224 | | |
| |||
0 commit comments