Ronny Houben
7 years ago
6 changed files with 76 additions and 65 deletions
-
6mail_template_multi_report/__manifest__.py
-
62mail_template_multi_report/models/email_template.py
-
18mail_template_multi_report/models/email_template_report_line.py
-
4mail_template_multi_report/security/ir.model.access.csv
-
17mail_template_multi_report/tests/test_email_template.py
-
34mail_template_multi_report/views/email_template.xml
@ -1,3 +1,3 @@ |
|||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink |
|||
access_email_template_report_line,email.template,model_email_template_report_line,base.group_user,1,1,1,0 |
|||
access_email_template_report_line_system,email.template system,model_email_template_report_line,base.group_system,1,1,1,1 |
|||
access_email_template_report_line,mail.template,model_mail_template_report_line,base.group_user,1,1,1,0 |
|||
access_email_template_report_line_system,mail.template system,model_mail_template_report_line,base.group_system,1,1,1,1 |
@ -1,21 +1,19 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<openerp> |
|||
<data> |
|||
<record id="email_template_form" model="ir.ui.view"> |
|||
<field name="name">email.template.form</field> |
|||
<field name="model">email.template</field> |
|||
<field name="inherit_id" ref="email_template.email_template_form"/> |
|||
<field name="arch" type="xml"> |
|||
<field name="report_name" position="after"> |
|||
<field name="report_line_ids"> |
|||
<tree editable="bottom"> |
|||
<field name="report_name"/> |
|||
<field name="report_template_id"/> |
|||
<field name="condition"/> |
|||
</tree> |
|||
</field> |
|||
<odoo> |
|||
<record id="email_template_form" model="ir.ui.view"> |
|||
<field name="name">mail.template.form</field> |
|||
<field name="model">mail.template</field> |
|||
<field name="inherit_id" ref="mail.email_template_form"/> |
|||
<field name="arch" type="xml"> |
|||
<field name="report_name" position="after"> |
|||
<field name="report_line_ids"> |
|||
<tree editable="bottom"> |
|||
<field name="report_name"/> |
|||
<field name="report_template_id"/> |
|||
<field name="condition"/> |
|||
</tree> |
|||
</field> |
|||
</field> |
|||
</record> |
|||
</data> |
|||
</openerp> |
|||
</field> |
|||
</record> |
|||
</odoo> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue