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

@ -6,17 +6,17 @@
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml">
<data>
<xpath expr="//button[@name='action_view_invoice']" position="before">
<button type="action"
name="%(sale_expense.hr_expense_action_from_sale_order)d"
class="oe_stat_button"
icon="fa-money"
attrs="{'invisible': [('expense_count', '=', 0)]}">
<field name="expense_count" widget="statinfo" string="Expenses"/>
</button>
</xpath>
</data>
<button name="action_view_invoice" position="before">
<button
name="%(sale_expense.hr_expense_action_from_sale_order)d"
type="action"
class="oe_stat_button"
icon="fa-money"
invisible="expense_count == 0"
>
<field name="expense_count" widget="statinfo" string="Expenses"/>
</button>
</button>
</field>
</record>