Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
4 Ответы
15274 Представления

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

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Лучший ответ

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 ?

Аватар
Отменить
Лучший ответ

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.)
Аватар
Отменить
Автор

Thanks , I think the third way makes sense

Related Posts Ответы Просмотры Активность
3
мар. 15
4952
3
нояб. 24
3634
3
дек. 22
6271
0
окт. 22
2505
1
нояб. 19
4626