forked from tfrancoi/odoo_csv_import
-
Notifications
You must be signed in to change notification settings - Fork 1
Fix missing records issue #147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
bosd
wants to merge
91
commits into
fix-o2m-id-field-handling-rebased3
Choose a base branch
from
fix-missing-records-issue
base: fix-o2m-id-field-handling-rebased3
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 25 commits
Commits
Show all changes
91 commits
Select commit
Hold shift + click to select a range
6a5f1ac
Rebase fix-missing-records-issue onto fix-o2m-id-field-handling-rebased3
8570b99
Fix additional silent record loss issue
adbefc2
Fix fail file format issue
5a33f2a
Fix import abortion issues
862fcff
Fix CSV parsing error during preflight checks
f4bc616
Fix CSV type parsing in preflight check with ignore_errors
67f589b
Fix _fields method call issue by using proper fields_get()
97d6fa5
Update import_threaded.py
efe2088
Fix test compatibility for _get_model_fields function
7add3e3
Fix MyPy type checking issue in _sanitize_utf8_string function
4e03842
Add comprehensive UTF-8 sanitization tests
e2ff7be
Add integration tests for UTF-8 sanitization
d60873f
Fix UTF-8 sanitization in export process
7757d05
Fix MyPy type checking and pre-commit hook issues
537d10b
Fix regression: Restore many-to-many XML ID export compatibility
84b77e9
Fix many-to-many raw database ID export for /.id fields
3a7cc13
Fix many-to-many raw database ID export for /.id fields
69a5d5b
Fix Ruff formatting issues
7506280
Fix regression: Many-to-many /id fields now export all XML IDs
b2a6e24
Fix regression: Many-to-many /id fields use export_data method for co…
180c5ec
Add regression prevention tests for many-to-many field export
ec9a080
Fix code style and ensure pre-commit passes
a1cd4cf
Fix many-to-many field processing for /.id specifiers
bc6d8f3
Fix empty external ID field handling to prevent constraint violations
ebaa601
Fix mypy unreachable code error in _convert_external_id_field function
ee3c046
Clean up confusing code block in export_threaded.py and fix variable …
553f694
Address review comments and fix various issues
a7894c0
Fix ruff linter errors
60a42ff
Improve test coverage and fix linting issues
4183d15
Fix mypy type annotation error in test file
9d602d2
Fix formatting issues detected by pre-commit hook
73c5254
Add comprehensive test coverage for import_threaded module
20808b3
Fix mypy duplicate module error and type issues\n\n- Add follow_impor…
438c4cb
Clean up unused type ignore comments
d502d0e
Fix mypy duplicate module error and enable proper type checking
d53ba76
Configure mypy to ignore misc errors in __main__.py
9f46bee
Complete mypy configuration fix and cleanup
a854501
Fix mypy type errors in noxfile.py and preflight.py
d642610
Fix XML-ID resolution logic and field name handling in relational imp…
1c91201
Add better error handling for export failures due to invalid JSON res…
7210a7a
Fix CSV sanitization and external ID field processing for product.sup…
f528301
Implement architectural changes to properly handle external ID fields…
92023f1
Intermediata commit
488602f
intermediate commit
9c7fc0b
intermediate
ebc8b61
Intermediate Commit
50b8782
intermediate commit 1 test stil failling
13e0f4d
intermediate commit 1 test failling
0433f24
intermediate
d6b2bcf
intermedaite coommit - very good state
6955647
all tests pass
3307063
ruff passing
6587ae0
All tests pass
80063e6
Extra tests
1862a55
test passing min coverage not met
2b74446
Minimum coverage reached
706af79
Stable, all test pass, coverage pass
3e1b7fb
mypy passing - stable version (still tuple oor)
c271e27
Fix: Fail file error reason spread among multiplte columns.
db8e67b
Fix external id resolving issues
d50f16b
Fix mypy errors and improve type safety
c300275
Fix mypy errors and improve type annotations
bc8be37
Fix all mypy errors and ensure type safety compliance
b8feed4
Fix test patch locations and restore project stability
4af3458
Fix test patch locations and mock return values to restore full test …
e1a1ad3
Final stabilization: Reduce failing tests from 43→27, restore MyPy cl…
08fd349
Silence C901 complexity errors and fix pre-commit issues
58037be
Intermediate commit: All mypy errors fixed and pre-commit passes
dd7f6fb
Final intermediate commit: All mypy errors fixed
6e8a0f2
Fix all remaining mypy errors and ensure full type safety
e355964
Fix all remaining mypy errors and ensure full type safety compliance
c749b3f
Fix test patch locations and restore project stability
59961d1
Fix CSV separator detection and error handling
b41eeb9
fix(export): parse datetime strings and add date_format params
d1e5dba
feat: Add constants module and improve default Odoo context
68b2753
fix: Improve import threaded processing and error handling
0ffa0d3
refactor: Enhance relational import strategies with context support
648f5d5
test: Update test cases to reflect code changes
bbe6656
docs: Add auto-scaling spec and debug utilities
6af5f5a
feat: Update exporter to use enhanced default context
8b21212
Try to improve error messages
d1b6693
Fix failing tests and improve code quality
7ed19eb
Improve test coverage and fix edge cases
b408172
Fix all failing tests in export_threaded_coverage
460aa17
Complete test coverage improvements and fixes
46e2bc1
Fix Polars DataFrame orientation warnings in tests
858a047
Enhanced error handling and fail file generation
6c0a05d
Add comprehensive tests for error handling
f546994
feat: Propagate specific load errors to a new `_LOAD_ERROR_REASON` co…
bosd f71b27b
fix: typeguard and mypy errors in threaded import/export
bosd e5613a8
Fix Nox sessions and Mypy errors, and consolidate project fixes
bosd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.