1. zikzakmedia
  2. trytond-electronic_mail_template

Commits

Raimon Esteve (Zikzakmedia)  committed 2ebda51

Doc render_and_send method

  • Participants
  • Parent commits eb1b620
  • Branches default

Comments (0)

Files changed (1)

File template.py

View file
     @classmethod
     def render_and_send(self, template_id, records):
         """
-        Render the template identified by template_id for
-        the records identified from record_ids
+        Render the template and send
+        :param template_id: ID template
+        :param records: List Object of the records
         """
         template = self(template_id)
         Record = Pool().get(template.model.model)