Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2015 Lượt xem

We are using the portal sales orders as a communication channel with our customers. Due to the type of use our sales have too many and repetitive notifications about customer quotation views, and we would need to disable this notification. How can we achieve this? 


I already looked through the settings in developer mode, and didn't find anything related to this. Any help would be greatly appreciated.

Ảnh đại diện
Huỷ bỏ

Hello,

I’m using Odoo 18 (Enterprise), and I’m receiving too many email notifications with the message "Quotation Viewed by Customer." I saw that a recent update introduced an option to disable this notification, but I cannot find where to do so.

I've checked:

  • Settings > Technical > Email > Mail Subscriptions (This option is not available in my instance)
  • Sales > Configuration > Settings (No option to disable these notifications)

Could you please guide me on where exactly this feature was implemented and how I can disable it in the latest version of Odoo 18?

Thanks in advance!

Câu trả lời hay nhất

We are working on an option for this in a future version of Odoo - see https://github.com/odoo/odoo/pull/164362

In the mean time, your only option would be to create an Automation Rule (via Developer Mode) that deletes these notifications as soon as they are created:

Install the Automation Rules (base_automation) module if it is not already installed.


Please contact your Odoo Digital Advisor or Odoo Partner if you need help and to ensure this change to your database is supported - this method does require technical skills to implement and may need additional changed beyond what I have shared here to work properly in your environment.

Ảnh đại diện
Huỷ bỏ
Tác giả


Avatar
Mikko
2 seconds ago Author

Thank you Ray for your help!

I tried the proposed solution, and for the most part it seems to function as expected. However, when user navigates from portal my account to specific sales order, then back to my account and then again back to same sales order, we have the following error message:

Oops! Something went wrong.

Take a look at the error message below.

Error message:

The record does not exist or has been deleted. (Record: mail.message(337875,), User: 37)

If the user then reloads the page everything is fine again. I guess this has to do with the script removing/unlinking the mentioned message. Is there any way to prevent this from happening?

You probably have to remove the "receipient_ids" field instead. On line 2, you would have something like record.update( { 'receipient_ids': False } ), but please contact your Odoo Digital Advisor or Odoo Partner if you want further help with this.

Tác giả

Thanks again. I'm trying to get this work on test environment, and I will notify our partner once I have figured this out and before the actual implementation.

There is no receipient_ids field in message model, but there are partner_ids, notified_partner_ids and notification_ids. I can clear the partner_ids field, but this does not prevent the notifications to the employee. I haven't figured out a way to clear the other two, maybe there is something wrong with the used syntax.

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 5 24
950
3
thg 6 24
2276
1
thg 9 18
9580
2
thg 4 25
244
3
thg 2 25
935