From 760829fcc5bcea18da3b8932fd697c76ea063205 Mon Sep 17 00:00:00 2001 From: Janik von Rotz Date: Wed, 18 Sep 2024 20:37:45 +0200 Subject: [PATCH] vault backup: 2024-09-18 20:37:45 --- Accounting Actions.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Accounting Actions.md b/Accounting Actions.md index 11f258d1..879255ae 100644 --- a/Accounting Actions.md +++ b/Accounting Actions.md @@ -388,6 +388,22 @@ records.write({'account_id': account_id.id}) Die Aktion speichern und mit dem Knopf *Kontextuelle Aktion erstellen* bestätigen. +### Informationen der Zahlungsmethode anzeigen + +Navigieren Sie nach *Einstellungen > Technisch > Server Aktionen* und erstellen Sie einen neuen Eintrag: + +Name der Aktion: `Informationen der Zahlungsmethode anzeigen`\ +Modell: `account.payment.method`\ +Folgeaktion: `Python-Code ausführen`\ +Python-Code: + +```python +_data = records._get_payment_method_information() +raise UserError(str(data))_ +``` + +Die Aktion speichern und mit dem Knopf *Kontextuelle Aktion erstellen* bestätigen. + ## Geplante Aktionen ### Rechnung mit Abrechnungsintervall generieren