[FIX] crm: display warning about contact information only in edit mode
Otherwise this is confusing to the user. Task ID-2287758 PR #54553 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
domain="['|', ('team_id', '=', team_id), ('team_id', '=', False)]"
|
||||
attrs="{'invisible': ['|', ('active', '=', False), ('type', '=', 'lead')]}"/>
|
||||
</header>
|
||||
<div class="text-center alert alert-primary" role="alert" attrs="{'invisible': ['|', ('ribbon_message', '=', False), ('ribbon_message', '=', '')]}">
|
||||
<div class="text-center alert alert-primary oe_edit_only" role="alert" attrs="{'invisible': ['|', ('ribbon_message', '=', False), ('ribbon_message', '=', '')]}">
|
||||
<field name="ribbon_message"/>
|
||||
</div>
|
||||
<sheet>
|
||||
|
||||
Reference in New Issue
Block a user