The purpose of this task is to use the notification which we currently have for partner autocomplete and to generalize it to our other IAP services. So in this commit, we improve the iap notification for the below views -> we display a toast in green when the request was successfully completed (and the user has enough credits). - when a letter is sent in batch from the list view - when leads are enriched in batch from the list view -> we display a toast in orange when the user doesn't have enough credits with a corresponding 'buy credits' link to the service. - when a letter is sent in batch from the list view - when leads are enriched in batch from the list view or when clicking on 'enrich' from the form view - when creating a new lead mining request task-2185306 closes odoo/odoo#66977 Related: odoo/enterprise#16736 Signed-off-by: Arnaud Joset <arj@odoo.com> Co-authored-by: Nisha Patel <nit@odoo.com>
4 lines
48 B
Python
4 lines
48 B
Python
# -*- encoding: utf-8 -*-
|
|
|
|
from . import models
|