<button name="case_cancel" string="Cancel" type="object"
states="draft,open,pending"/>
<button name="message_mark_as_unread" string="Mark Unread" type="object"
<button name="case_cancel" string="Cancel" type="object"
states="draft,open,pending"/>
<button name="message_mark_as_unread" string="Mark Unread" type="object"
- attrs="{'invisible':[('message_thread_read', '==', False)]}"/>
+ attrs="{'invisible':[('message_state', '==', False)]}"/>
<button name="message_mark_as_read" string="Mark Read" type="object"
<button name="message_mark_as_read" string="Mark Read" type="object"
- attrs="{'invisible':[('message_thread_read', '==', True)]}"/>
+ attrs="{'invisible':[('message_state', '==', True)]}"/>
<field name="stage_id" widget="statusbar"
on_change="onchange_stage_id(stage_id)"/>
</header>
<field name="stage_id" widget="statusbar"
on_change="onchange_stage_id(stage_id)"/>
</header>
<label for="name" class="oe_edit_only" string="Lead Description"/>
<h1><field name="name" placeholder="Describe the lead..."/></h1>
<label for="name" class="oe_edit_only" string="Lead Description"/>
<h1><field name="name" placeholder="Describe the lead..."/></h1>
- <field name="message_thread_read"/>
+ <field name="message_state"/>
<newline/>
<group>
<group>
<newline/>
<group>
<group>
<button name="case_cancel" string="Cancel" type="object"
states="draft"/>
<button name="message_mark_as_unread" string="Mark Unread" type="object"
<button name="case_cancel" string="Cancel" type="object"
states="draft"/>
<button name="message_mark_as_unread" string="Mark Unread" type="object"
- attrs="{'invisible':[('message_thread_read', '==', False)]}"/>
+ attrs="{'invisible':[('message_state', '==', False)]}"/>
<button name="message_mark_as_read" string="Mark Read" type="object"
<button name="message_mark_as_read" string="Mark Read" type="object"
- attrs="{'invisible':[('message_thread_read', '==', True)]}"/>
+ attrs="{'invisible':[('message_state', '==', True)]}"/>
<field name="stage_id" widget="statusbar"
on_change="onchange_stage_id(stage_id)"/>
</header>
<field name="stage_id" widget="statusbar"
on_change="onchange_stage_id(stage_id)"/>
</header>
<label for="name" class="oe_edit_only"/>
<h1><field name="name"/></h1>
<newline/>
<label for="name" class="oe_edit_only"/>
<h1><field name="name"/></h1>
<newline/>
- <field name="message_thread_read"/>
+ <field name="message_state"/>
<newline/>
<label for="planned_revenue" class="oe_edit_only"/>
<newline/>
<label for="planned_revenue" class="oe_edit_only"/>