Skip to content
Extraits de code Groupes Projets
Valider 87fb6856 rédigé par Benjamin - Le Filament's avatar Benjamin - Le Filament
Parcourir les fichiers

[update] invoice view in bordereau

parent 0b718561
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -281,7 +281,15 @@ ...@@ -281,7 +281,15 @@
string="Montant dû" string="Montant dû"
sum="Total" sum="Total"
/> />
<field name="state" /> <field name="state" widget="badge" decoration-success="state == 'posted'" decoration-info="state == 'draft'" />
<field
name="payment_state"
widget="badge"
decoration-danger="payment_state == 'not_paid'"
decoration-warning="payment_state in ('partial', 'in_payment')"
decoration-success="payment_state in ('paid', 'reversed')"
attrs="{'invisible': [('payment_state', 'in', ('invoicing_legacy'))]}"
/>
<button <button
name="view_cotiz" name="view_cotiz"
string="Afficher" string="Afficher"
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter