docs: add technical documentation regarding the frontend whitespace patch for sign template injection
This commit is contained in:
parent
2ed12725fd
commit
e65d114687
@ -25,3 +25,7 @@ Add a Sequence field type to Odoo Sign templates to automatically generate numbe
|
|||||||
- **Dependency**: `sign` (Enterprise)
|
- **Dependency**: `sign` (Enterprise)
|
||||||
- **Odoo Version**: 19.0
|
- **Odoo Version**: 19.0
|
||||||
- **Authors**: Suherdy Yacob
|
- **Authors**: Suherdy Yacob
|
||||||
|
|
||||||
|
### Technical Notes & Bug Fixes
|
||||||
|
|
||||||
|
- **Trailing Whitespace Patch**: Custom templates injected into the Sign module canvas can sometimes incur trailing QWeb whitespace `Text` nodes. This crashed Odoo’s native `target.lastChild` reference when opening templates or dragging new fields. This module implements frontend Javascript patches (`sign_backend_patch.js`) over Odoo's native `insertAdjacentHTML` method to instantly trim whitespace nodes on injection. This ensures robust reliability across Odoo updates without touching core source code.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user