Commit d0710dc
bosd
Fix error handling in batch load response processing\n\n- Improve error handling for Odoo load response messages\n- Distinguish between fatal errors, warnings, and info messages\n- Only raise ValueError for actual 'error' type messages\n- Log warnings and info messages without halting processing\n- Add proper message iteration to handle multiple response messages\n- Provide detailed logging for each message type received\n- Ensure record creation debugging runs even when there are non-fatal messages\n\nThis fixes the issue where all messages (including warnings) were causing\nValueError exceptions that prevented proper debugging output and record creation verification.
1 parent 29ace86 commit d0710dc
1 file changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
750 | 750 | | |
751 | 751 | | |
752 | 752 | | |
| 753 | + | |
753 | 754 | | |
754 | | - | |
755 | | - | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
756 | 766 | | |
757 | 767 | | |
758 | 768 | | |
| |||
0 commit comments