diff --git a/views/scop_bordereau_cg.xml b/views/scop_bordereau_cg.xml index 9a6683fa210a7eab56ea048ad35bf29cf9b3d043..6494508a4169ec9c94e661361e14b303d27fedf7 100644 --- a/views/scop_bordereau_cg.xml +++ b/views/scop_bordereau_cg.xml @@ -109,7 +109,9 @@ <page string="Appels de cotisation"> <field name="invoice_ids" widget="one2many" class="mt-2"> <tree edit="false" create="false" delete="false" default_order="type_contribution_id, cotiz_quarter" - decoration-info="state == 'draft'" decoration-success="state == 'paid'" decoration-muted="state == 'cancel'"> + decoration-info="state == 'draft'" decoration-success="state == 'paid'" + decoration-muted="state == 'cancel'" decoration-danger="type == 'out_refund' and state == 'open'"> + <field name="type" invisible="1"/> <field name="type_contribution_id"/> <field name="cotiz_quarter"/> <field name="date_due"/>