Improve dynamic placeholder implementation
- Rename fields/methods for clarity: * dynamic_placeholder_button_hidden -> hide_placeholder_button * _compute_dynamic_placeholder_button_hidden -> _compute_hide_placeholder_button - Restructure JS components: * Replace dynamic_placeholder_charfield_patch with new component-based implementation * Add proper prop handling and converter type awareness - Add onchange handler to clear value when converter changes - Refactor placeholder computation using dictionary mapping - Update XML views with new field names and component parameters - Improve mimetype.py documentation and default handling
parent
e4b114d9
No related branches found
No related tags found
This commit is part of merge request !78. Comments created here will be created in the context of that merge request.
Showing
- NEWS.rst 5 additions, 0 deletionsNEWS.rst
- __manifest__.py 1 addition, 1 deletion__manifest__.py
- models/redner_substitution.py 22 additions, 24 deletionsmodels/redner_substitution.py
- static/src/components/dynamic_placeholder_char_field/dynamic_placeholder_char_field.js 32 additions, 26 deletions..._placeholder_char_field/dynamic_placeholder_char_field.js
- static/src/components/dynamic_placeholder_char_field/dynamic_placeholder_char_field.xml 17 additions, 4 deletions...placeholder_char_field/dynamic_placeholder_char_field.xml
- static/src/js/redner_report_action.esm.js 2 additions, 1 deletionstatic/src/js/redner_report_action.esm.js
- utils/mimetype.py 6 additions, 5 deletionsutils/mimetype.py
- views/ir_actions_report.xml 4 additions, 3 deletionsviews/ir_actions_report.xml
- views/mail_template.xml 4 additions, 3 deletionsviews/mail_template.xml
Loading
Please register or sign in to comment