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

[update] comment code waiting for payment template

parent dc49a4a6
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -29,6 +29,7 @@
"views/account_move.xml",
"views/account_payment_term.xml",
# reports
"report/scop_contribution_report.xml",
# TODO: décommenter quand le template sera prêt
# "report/scop_contribution_report.xml",
],
}
......@@ -29,15 +29,16 @@
<xpath expr="//button[@name='preview_invoice']" position="attributes">
<attribute name="invisible">1</attribute>
</xpath>
<xpath expr="//button[@name='preview_invoice']" position="after">
<button
name="%(cgscop_cotisation_aura.aura_contribution_report_with_payments)d"
type="action"
string="État des paiements"
class="btn-primary"
attrs="{'invisible': ['|', '|', ('state', '!=', 'posted'), ('move_type', '!=', 'out_invoice'), ('is_contribution', '!=', True)]}"
/>
</xpath>
<!-- TODO: décommenter quand le template sera prêt -->
<!-- <xpath expr="//button[@name='preview_invoice']" position="after">-->
<!-- <button-->
<!-- name="%(cgscop_cotisation_aura.aura_contribution_report_with_payments)d"-->
<!-- type="action"-->
<!-- string="État des paiements"-->
<!-- class="btn-primary"-->
<!-- attrs="{'invisible': ['|', '|', ('state', '!=', 'posted'), ('move_type', '!=', 'out_invoice'), ('is_contribution', '!=', True)]}"-->
<!-- />-->
<!-- </xpath>-->
<xpath expr="//field[@name='liasse_fiscale_id']" position="replace">
<group>
......
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