Improve substitution management in ir.actions.report and mail.template
Compare changes
Files
9- oury.balde authored
value_type functionality - Refactor converter building functionality for improved maintainability. - Added `substitution_mixin.py` with the new `SubstitutionMixin` abstract model. - Updated `ir.actions.report` to inherit from `SubstitutionMixin` and implement `_get_template` to return `redner_tmpl_id`. - Updated `mail.template` to inherit from `SubstitutionMixin`, replacing its simpler `action_get_substitutions` with the mixin's implementation, and added `_get_template`.
+ 32
− 2
@@ -6,8 +6,8 @@
@@ -332,6 +332,11 @@
@@ -464,8 +469,13 @@
@@ -467,8 +477,13 @@
@@ -490,6 +505,16 @@
@@ -586,6 +611,11 @@