Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
4 Risposte
15290 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Risposta migliore

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
Abbandona
Risposta migliore

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
Abbandona
Autore

Thanks , I think the third way makes sense

Post correlati Risposte Visualizzazioni Attività
3
mar 15
4955
3
nov 24
3667
3
dic 22
6271
0
ott 22
2507
1
nov 19
4630