Skip to content

[FIX] xml-deprecated-qweb-directive-15: preserve XML formatting during autofix#184

Merged
moylop260 merged 5 commits intoOCA:mainfrom
vauxoo-dev:fix-direct15-44-moy
Mar 22, 2026
Merged

[FIX] xml-deprecated-qweb-directive-15: preserve XML formatting during autofix#184
moylop260 merged 5 commits intoOCA:mainfrom
vauxoo-dev:fix-direct15-44-moy

Conversation

@moylop260
Copy link
Copy Markdown
Collaborator

Use start-tag attribute spans from the original source instead of rebuilding the node content. This fixes multiline and shared-line QWeb directive renames without relying on lxml serialization, and adds regression coverage for the locator and autofix path.

@moylop260 moylop260 self-assigned this Mar 22, 2026
…g autofix

Use start-tag attribute spans from the original source instead of rebuilding the node content. This fixes multiline and shared-line QWeb directive renames without relying on lxml serialization, and adds regression coverage for the locator and autofix path.
…dering

Reuse start-tag attribute spans to rewrite record and template opening tags without serializing through lxml. This also makes xml-redundant-module-name use the same surgical path and adds focused regressions for template and menuitem autofixes.
@moylop260 moylop260 force-pushed the fix-direct15-44-moy branch from 9f5292e to 39631e5 Compare March 22, 2026 00:41
@moylop260 moylop260 force-pushed the fix-direct15-44-moy branch from dce8509 to debabcb Compare March 22, 2026 01:07
@moylop260 moylop260 merged commit 1409a2d into OCA:main Mar 22, 2026
18 of 20 checks passed
@moylop260 moylop260 deleted the fix-direct15-44-moy branch March 22, 2026 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant