mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]:added actions to resend emails
This commit is contained in:
@@ -1071,6 +1071,10 @@
|
||||
<field name="target">new</field>
|
||||
<field name="binding_model_id" ref="pms.model_pms_reservation" />
|
||||
<field name="binding_view_types">form</field>
|
||||
<field
|
||||
name="context"
|
||||
eval="{'template_id': ref('pms.confirmed_reservation_email')}"
|
||||
/>
|
||||
</record>
|
||||
|
||||
<record id="action_resend_modification_email" model="ir.actions.act_window">
|
||||
@@ -1081,6 +1085,10 @@
|
||||
<field name="target">new</field>
|
||||
<field name="binding_model_id" ref="pms.model_pms_reservation" />
|
||||
<field name="binding_view_types">form</field>
|
||||
<field
|
||||
name="context"
|
||||
eval="{'template_id': ref('pms.modified_reservation_email')}"
|
||||
/>
|
||||
</record>
|
||||
|
||||
<record id="action_resend_cancellation_email" model="ir.actions.act_window">
|
||||
@@ -1091,5 +1099,9 @@
|
||||
<field name="target">new</field>
|
||||
<field name="binding_model_id" ref="pms.model_pms_reservation" />
|
||||
<field name="binding_view_types">form</field>
|
||||
<field
|
||||
name="context"
|
||||
eval="{'template_id': ref('pms.cancelled_reservation_email')}"
|
||||
/>
|
||||
</record>
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user