1. zikzakmedia
  2. trytond-electronic_mail_template


trytond-electronic_mail_template / report.py

Raimon Esteve 111f223 

Raimon Esteve 3f5e2f8 

Raimon Esteve 111f223 
#This file is part electronic_mail_template module for Tryton.
#The COPYRIGHT file at the top level of this repository contains 
#the full copyright notices and license terms.
from trytond.model import ModelView, ModelSQL, fields

class ActionReport(ModelSQL, ModelView):
    "Action report"
    _name = 'ir.action.report'

    file_name = fields.Char('File Name Pattern', translate=True, 
        help='File name e-mail attachment without extension. eg. sale_${record.reference}')