[FIX] website_crm_iap_reveal: add rec_name to have a better breadcrumb
Having a rec_name allows to avoid having breadcrumb items like crm.reveal.view(1) . closes odoo/odoo#105091 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
committed by
Thibault Delavallée
parent
2504a0bd2b
commit
e00557fa3b
@@ -10,6 +10,7 @@ DEFAULT_REVEAL_VIEW_WEEKS_VALID = 5
|
||||
class CRMRevealView(models.Model):
|
||||
_name = 'crm.reveal.view'
|
||||
_description = 'CRM Reveal View'
|
||||
_rec_name = 'reveal_ip'
|
||||
_order = 'id desc'
|
||||
|
||||
reveal_ip = fields.Char(string='IP Address')
|
||||
|
||||
Reference in New Issue
Block a user