diff mbox series

[bug#50628,022/154] gnu: Add trytond-account-fr-chorus.

Message ID c15abd618aba69b9bad66ba74b65fe4b9ad63646.1631832505.git.h.goebel@crazy-compilers.com
State Accepted
Headers show
Series Add 146 Tryton modules and some dependencies | expand

Checks

Context Check Description
cbaines/applying patch fail View Laminar job
cbaines/issue success View issue

Commit Message

Hartmut Goebel Sept. 16, 2021, 10:52 p.m. UTC
* gnu/packages/tryton.scm (trytond-account-fr-chorus): New variable.
---
 gnu/packages/tryton.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm
index f01c87aa1d..4b588f5974 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -563,6 +563,40 @@  accounting requirements in Europe.  It includes:
 for Tryton.")
     (license license:gpl3+)))
 
+(define-public trytond-account-fr-chorus
+  (package
+    (name "trytond-account-fr-chorus")
+    (version "6.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "trytond_account_fr_chorus" version))
+       (sha256
+        (base32 "13z30390zinv6ps0zr3k7mdmxrw2nhr49k248yjk0c0qh9rwifll"))))
+    (build-system python-build-system)
+    (arguments (tryton-arguments "account_fr_chorus"))
+    (native-inputs
+     `(,@%standard-trytond-native-inputs
+       ("trytond-edocument-uncefact" ,trytond-edocument-uncefact)))
+    (propagated-inputs
+     `(("python-requests" ,python-requests)
+       ("trytond" ,trytond)
+       ("trytond-account" ,trytond-account)
+       ("trytond-account-invoice" ,trytond-account-invoice)
+       ("trytond-company" ,trytond-company)
+       ("trytond-party" ,trytond-party)
+       ("trytond-party-siret" ,trytond-party-siret)))
+    (home-page "https://docs.tryton.org/projects/modules-account-fr-chorus")
+    (synopsis "Tryton module to communicate with the French Chorus Pro
+portal")
+    (description "This package provides a Tryton module to send invoices
+through the French Chorus Pro portal.
+
+If the party is checked for Chorus Pro, all posted customer invoices are
+queued to be sent.  A cron job will send them every 15 minutes by default,
+using the credential from the accounting configuration.")
+    (license license:gpl3+)))
+
 (define-public trytond-account-invoice
   (package
     (name "trytond-account-invoice")