[ADD] Assign button tree view reservation

This commit is contained in:
Dario Lodeiros
2019-06-05 17:42:18 +02:00
parent d33061009e
commit fba3f83f01

View File

@@ -8,7 +8,15 @@
<field name="model">hotel.reservation</field>
<field name="inherit_id" ref="hotel.hotel_reservation_view_tree" />
<field name="arch" type="xml">
<field name="room_type_id" position="after">
<field name="state" position="before">
<button icon="fa fa-2x fa-thumb-tack"
type="object"
class="oe_stat_button"
id="mark_readed"
name="mark_as_readed"
attrs="{'invisible':[('to_read','=', False)]}"
help="Mark as Read"
/>
<field name="to_assign" invisible="1"/>
</field>
</field>