İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
3352 Görünümler
Üretici En İyi Yanıt
Create an Email Template:

Go to Settings > Technical > Email > Templates.

Click Create and design your email template. Use placeholders like ${object.name} for the order number or ${object.partner_id.name} for the customer’s name.

Set Up Automated Actions:

Go to Settings > Technical > Automation > Scheduled Actions.

Create a new action with the following details:
Model: sale.order
Trigger: On Creation or On Update (depending on your workflow).
Action To Do: Execute Python Code.

Add below code to send the email automatically:

template = env.ref('your_module.email_template_order_confirmation')
for order in records:
    order.message_post_with_template(template.id)


Best Regards,
Nikhil T
Accurates
Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Mar 25
1826
0
Mar 25
1375
2
Eyl 25
272
3
Ağu 25
1171
3
Tem 25
689