19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:32:12 +01:00
parent 79f83631d5
commit 73afc09215
6267 changed files with 1534193 additions and 1130106 deletions

View file

@ -13,10 +13,10 @@
type="object" class="oe_stat_button" icon="fa-dollar"
groups="sales_team.group_sale_salesman"
help="Total sales for this event"
attrs="{'invisible': ['|', ('sale_price_subtotal', '=', 0), ('sale_price_subtotal', '=', False)]}">
invisible="sale_price_total == 0 or not sale_price_total">
<div class="o_field_widget o_stat_info">
<span class="o_stat_value">
<field string="Sales" name="sale_price_subtotal"
<field string="Sales" name="sale_price_total"
widget="monetary" options="{'currency_field': 'currency_id'}"/>
</span>
<span class="o_stat_text">Sales</span>