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