Skip to content

Commit 6eba928

Browse files
author
bosd
committed
Save summary of fix files for future reference
1 parent 950a85c commit 6eba928

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

Saved_Files_Summary.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# Odoo Data Flow Fix Files - Saved for Later Reference
2+
3+
## Created Files Summary
4+
5+
### 1. Main Fix Files
6+
- `src/odoo_data_flow/import_threaded.py` - Core external ID conversion fix (already committed)
7+
8+
### 2. Debug/Test Scripts
9+
- `test_external_id_conversion.py` - Test external ID conversion logic
10+
- `debug_specific_fail_record.py` - Debug specific failing records
11+
- `debug_external_id_conversion_fixed.py` - Fixed debug script for external ID conversion
12+
- `test_external_id_lookups.py` - Test external ID lookups
13+
- `clean_fail_file_external_ids.py` - Clean fail file by removing invalid external ID references
14+
- `create_minimal_fail_file.py` - Create minimal fail file with external ID fields removed
15+
- `minimal_test_clean.csv` - Truly minimal clean test file
16+
17+
### 3. Utility Scripts
18+
- `clean_fail_file.py` - Original cleaning script (early version)
19+
- `test_batch_processing.py` - Test batch processing
20+
- `test_minimal_fail_mode.py` - Minimal fail mode test
21+
- `test_specific_record.py` - Test specific record
22+
- `test_odoo_client_args.py` - Test odoo-client arguments
23+
- `test_fail_mode_create.py` - Test fail mode create
24+
- `test_exact_fail_mode.py` - Test exact fail mode
25+
26+
## Git Status
27+
28+
The main fix has been committed to the current branch:
29+
```bash
30+
git log --oneline -5
31+
```
32+
33+
## To Access These Files Later
34+
35+
```bash
36+
# Navigate to the project directory
37+
cd /home/bosd/git/odoo-data-flow
38+
39+
# List all created files
40+
find . -name "*.py" -o -name "*.csv" | grep -E "(test_|debug_|clean_|minimal_)" | sort
41+
42+
# View git status
43+
git status
44+
45+
# If you want to save the current state to a new branch
46+
git checkout -b fail-mode-fix-backup
47+
git add .
48+
git commit -m "Backup of fail mode fix files and scripts"
49+
```
50+
51+
## Key Commands for Future Reference
52+
53+
```bash
54+
# Run fail mode import (after cleaning data)
55+
odoo-data-flow --verbose import \
56+
--config /home/bosd/doodba/sps_12_18/conf/local_connection.conf \
57+
--file /home/bosd/doodba/sps_12_18/data/res_partner_fail_cleaned.csv \
58+
--fail --model res.partner --encoding utf-8 --sep ';' \
59+
--context '{"tracking_disable": "true", "defer_fields_computation": "true", "skip_vies_check": "true", "no_vat_validation": "true"}'
60+
61+
# Clean fail file
62+
python clean_fail_file_external_ids.py \
63+
/home/bosd/doodba/sps_12_18/data/res_partner_fail.csv \
64+
/home/bosd/doodba/sps_12_18/data/res_partner_fail_cleaned.csv
65+
```
66+
67+
All files are saved in `/home/bosd/git/odoo-data-flow/` and can be accessed after checking out any branch.

0 commit comments

Comments
 (0)