From 95f6e2c60a3790869f0a0754a1c2a028cabd6406 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Fri, 27 Aug 2021 15:09:03 +0200 Subject: [PATCH] gnu: Add trytond-account-fr-chorus. * gnu/packages/tryton.scm (trytond-account-fr-chorus): New variable. --- gnu/packages/tryton.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) 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 @@ (define-public trytond-account-fr 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")