Skip to content
Snippets Groups Projects

Improve substitution management in ir.actions.report and mail.template

Merged oury.balde requested to merge topic/17.0/RED-593-FSB into branch/17.0
  1. Mar 25, 2025
    • oury.balde's avatar
      Added tag 17.0.1.10.0 for changeset fa02c774e0aa · 6083a937fa60
      oury.balde authored
      6083a937fa60
    • oury.balde's avatar
      Improve substitution management in ir.actions.report and mail.template with · fa02c774e0aa
      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`.
      fa02c774e0aa
Loading