[IMP] event: Clarify attendee display

Clarify the kanban view to clearly display how many attendees
could show up as well as other places where attendees are mentionned.

Task ID 2205701

closes odoo/odoo#48584

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
Nasreddin (bon)
2020-03-30 10:05:19 +00:00
parent 433246a69a
commit c5807af0ab
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -74,9 +74,9 @@
<field name="description"/>
<field name="start_sale_date"/>
<field name="end_sale_date"/>
<field name="seats_max" width="105px" string="Maximum"/>
<field name="seats_reserved" width="105px" string="Reserved"/>
<field name="seats_unconfirmed" width="110px" string="Unconfirmed"/>
<field name="seats_max" sum="Total" width="105px" string="Maximum"/>
<field name="seats_reserved" sum="Total" width="105px" string="Reserved"/>
<field name="seats_unconfirmed" sum="Total" width="110px" string="Unconfirmed"/>
</tree>
</field>
</record>
+3 -3
View File
@@ -188,7 +188,7 @@
type="action"
class="oe_stat_button"
icon="fa-users"
help="Register with this event">
help="Total Registrations for this Event">
<field name="seats_expected" widget="statinfo" string="Attendees"/>
</button>
</div>
@@ -354,8 +354,8 @@
</a>
<t t-set="total_seats" t-value="record.seats_reserved.raw_value + record.seats_used.raw_value"/>
<t t-if="total_seats > 0 "><br/>
<a name="%(event_event_action_pivot)d" type="action">
<t t-esc="total_seats"/> Confirmed attendees
<a class="pl-2" name="%(event_event_action_pivot)d" type="action">
<i class="fa fa-level-up fa-rotate-90" title="Confirmed"/><span class="pl-2"><t t-esc="total_seats"/> Confirmed</span>
</a>
</t>
</h5>