Repository navigation
[20.0][MIG] jsonifier: Review formatting and migration - #1
weinni2000 wants to merge 2 commits into
Conversation
Reviewer's GuideImplementationUpdate parser caching to key on export-field options that can change within a transaction, and use the Odoo 20 ormcache import.
Adapt resolver evaluation to the current safe_eval API and keep its resolver guidance aligned with the code.
Move export-line validation messages to the current translation API and preserve interpolation of field names.
Update model error translation and tidy the parsing variables to match formatting conventions.
Rename the unused field-partition separator variable without changing parser behavior.
ConfigurationBump the module version and point its data manifest at the renamed Odoo 20 access and view files.
Replace the legacy model-access CSV with the Odoo 20 access file.
DocumentationRefresh the module README, remove the outdated migration credit, and update the generated description page for Odoo 20.
TestsCreate shared export fixtures and update parser and JSON-export expectations for Odoo 20 field labels and cache behavior.
Reuse the shared export fixture in export-line validation tests instead of relying on demo records.
Other changesFiles not grouped.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
f209630 to
e269399
Compare
Keep JSON exports and custom resolvers working on Odoo 20. Adapt access rights to ir.access and use the current safe_eval and translation APIs. Create export fixtures in tests so installation needs no demo data. Include parser options in the cache key to handle edits made within the same transaction, and update expectations for current field labels. Core API changes: odoo/odoo@77c17e7 odoo/odoo@e73f638 Validation: fresh-database odev install/tests and repository pre-commit.
e269399 to
a7ff60b
Compare
Review the JSONifier migration to Odoo 20 in two stages. The base branch contains the replayed OCA history, so this PR contains only the formatting and migration commits.
Fresh-database installation/tests and all repository pre-commit hooks pass.
Upstream PR: OCA#3835
Summary by Sourcery
Migrate JSONifier to Odoo 20 and align its runtime behavior, metadata, tests, and documentation with the new platform version.
Enhancements:
Documentation:
Tests:
Chores: