Skip to content

Commit

Permalink
Merge pull request #164 from gisce/59452_imp_email_preview_view
Browse files Browse the repository at this point in the history
Mejorar la vista del asistente de "Previsualizar plantilla de correo"
  • Loading branch information
lcbautista authored Jul 16, 2024
2 parents 75fed03 + d1809cf commit baa9be6
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions wizard/wizard_poweremail_preview.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,23 @@
<field name="state" invisible="1"/>
<field name="model_ref" colspan="4"/>
<field name="to" colspan="4"/>
<field name="cc" colspan="4"/>
<field name="bcc" colspan="4"/>
<field name="cc" colspan="2"/>
<field name="bcc" colspan="2"/>
<field name="subject" colspan="4"/>
<field name="body_text" colspan="4"/>
<notebook>
<page string="Body preview">
<field name="body_text" colspan="4" widget="html_preview" nolabel="1"/>
</page>
<page string="Body HTML">
<field name="body_text" colspan="4" nolabel="1"/>
</page>
</notebook>
<field name="report" colspan="4"/>
<field name="save_to_drafts_prev" colspan="4"/>
<button icon="gtk-close" special="cancel" string="Close" />
<button name="action_generate_static_mail" icon="gtk-refresh" string="Preview Email" type="object"/>
<separator colspan="2"/>
<field name="save_to_drafts_prev" colspan="2"/>
<button name="action_generate_static_mail" icon="gtk-refresh" string="Preview Email" type="object" colspan="2"/>
<button name="action_send_static_mail" icon="send" string="Send Email" type="object"
attrs="{'invisible':[('state','=','error')]}"/>
attrs="{'invisible':[('state','=','error')]}" colspan="2"/>
</form>
</field>
</record>
Expand Down

0 comments on commit baa9be6

Please sign in to comment.