Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda

The following python code :

wf_service = netsvc.LocalService("workflow") wf_service.trg_validate(uid, 'account.invoice', invoiceID, 'invoice_open', cr)

can create an invoice for sale order . But there is a problem, it will send a "Invoice Created" message to specific user.

Here is the detail message:

Invoice Invoice created Administrator updated document • Administrator notified • 6 minutes ago • like

Anybody can tell me how to disable the message sending ? Thanks

Avatar
Buang
Jawaban Terbai

For me works this way in Odoo 8, for automatic email in sale orders confirmed:

  • Go to "Settings / Technical / Email / Subtypes"

  • Select "Sales Order Confirmed"

  • uncheck "Default" option

Avatar
Buang
Jawaban Terbai

Solution 3 seems great but where is this menu ? in version 8 ?

Settings / Customization / Lower Level Object / Actions / Server Action / Auto-emailSettings / Customization / Lower Level Object/Actions/Server Action/ Auto-email

can you provide a link ?

Avatar
Buang
Jawaban Terbai

Options

      1 You can go on each partner/Customer and check the box that exclude them from all notifications. This will ensure the particular client does not recieve mails from you (explained in OpenERP)
    2 you can disable the email sending settings under settings>configuration>Email (this will stop all mail SO, Delivery Order, Invoices etc)
    3 You can go to Settings>Customization>Lower Level Object>Actions>Server Action> Auto-email confirmed invoices and change "True" to "False". (This will stop auto email of invoices alone.)
Avatar
Buang
Penulis

Thanks , I think the third way makes sense

Post Terkait Replies Tampilan Aktivitas
3
Mar 15
4956
3
Nov 24
3679
3
Des 22
6274
0
Okt 22
2510
1
Nov 19
4631