Subject: [bug#50628] [PATCH 030/154] gnu: Add trytond-account-payment-clearing.

From: Hartmut Goebel <[email-masked]>
Date: Fri, 17 Sep 2021 00:52:49 +0200

* gnu/packages/tryton.scm (trytond-account-payment-clearing): New variable.
---
 gnu/packages/tryton.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm
index 191ca0b9e3..7784a35f48 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -834,6 +834,34 @@ form to handle the payment method nonce for card and other supported payment
 methods.")
     (license license:gpl3+)))
 
+(define-public trytond-account-payment-clearing
+  (package
+    (name "trytond-account-payment-clearing")
+    (version "6.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "trytond_account_payment_clearing" version))
+       (sha256
+        (base32 "0dvjfgp0lrqn838wchkmhbbg4990xx2jv337rivnis164nw84dn0"))))
+    (build-system python-build-system)
+    (arguments (tryton-arguments "account_payment_clearing"))
+    (native-inputs
+     `(,@%standard-trytond-native-inputs
+       ("trytond-account-statement" ,trytond-account-statement)
+       ("trytond-account-statement-rule" ,trytond-account-statement-rule)))
+    (propagated-inputs
+     `(("trytond" ,trytond)
+       ("trytond-account-payment" ,trytond-account-payment)))
+    (home-page
+     "https://docs.tryton.org/projects/modules-account-payment-clearing")
+    (synopsis "Tryton module for payment clearing")
+    (description "The @emph{Account Payment Clearing} Tryton module allows to
+generate account move when a payment is succeeded between the
+receivable/payable account to a clearing account defined on the payment
+journal.")
+    (license license:gpl3+)))
+
 (define-public trytond-account-product
   (package
     (name "trytond-account-product")
-- 
2.30.2