[FIX] calendar: fix videocall location is always readonly
After https://github.com/odoo/odoo/pull/102967, a readonly="1" was added in the videocall_location field. This forces the field to be readonly instead of taking into account the readonly domain set in the attrs. closes odoo/odoo#117214 X-original-commit: 459d5d75edafc2f8796006308e15940889c7dcb6 Signed-off-by: Arnaud Joset <arj@odoo.com> Signed-off-by: Leonardo Pavan Rocha <lpr@odoo.com>
This commit is contained in:
@@ -162,7 +162,7 @@
|
||||
<field name="location" />
|
||||
<label for="videocall_location"/>
|
||||
<div col="2" class="o_row">
|
||||
<field name="videocall_location" class="oe_inline" string="Videocall URL" widget="CopyClipboardChar" force_save="1" readonly="1" attrs="{'readonly':[('videocall_source','=', 'discuss')]}"/>
|
||||
<field name="videocall_location" class="oe_inline" string="Videocall URL" widget="CopyClipboardChar" force_save="1" attrs="{'readonly':[('videocall_source','=', 'discuss')]}"/>
|
||||
<button name="clear_videocall_location" type="object" class="btn btn-link"
|
||||
attrs="{'invisible': [('videocall_location', '=', False)]}" context="{'recurrence_update': recurrence_update}">
|
||||
<span class="fa fa-times"></span><span> Clear meeting</span>
|
||||
|
||||
Reference in New Issue
Block a user