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