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
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.)
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 10/8/13, 7:13 AM|
|Seen: 2992 times|
|Last updated: 10/24/15, 1:34 PM|