guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

38/154: gnu: Add trytond-account-statement-rule.


From: guix-commits
Subject: 38/154: gnu: Add trytond-account-statement-rule.
Date: Tue, 21 Sep 2021 15:07:34 -0400 (EDT)

htgoebel pushed a commit to branch master
in repository guix.

commit 9945b8f307b264056121f84ab5733388cd2e0a0f
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Fri Aug 27 15:09:10 2021 +0200

    gnu: Add trytond-account-statement-rule.
    
    * gnu/packages/tryton.scm (trytond-account-statement-rule): New variable.
---
 gnu/packages/tryton.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm
index 0a16fe9..6646dc6 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -1077,6 +1077,38 @@ defined by Belgian \"febelfin\".")
 the import of the @emph{OFX} files as statement.")
     (license license:gpl3+)))
 
+(define-public trytond-account-statement-rule
+  (package
+    (name "trytond-account-statement-rule")
+    (version "6.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "trytond_account_statement_rule" version))
+       (sha256
+        (base32 "0kg6lf2wa5scwxggr8p7r7j6jd3a34qv2dcs9w18ra1qvg6p4kmp"))))
+    (build-system python-build-system)
+    (arguments (tryton-arguments "account_statement_rule"))
+    (native-inputs `(,@%standard-trytond-native-inputs))
+    (propagated-inputs
+     `(("trytond" ,trytond)
+       ("trytond-account" ,trytond-account)
+       ("trytond-account-invoice" ,trytond-account-invoice)
+       ("trytond-account-statement" ,trytond-account-statement)
+       ("trytond-company" ,trytond-company)
+       ("trytond-party" ,trytond-party)))
+    (home-page
+     "https://docs.tryton.org/projects/modules-account-statement-rule";)
+    (synopsis "Tryton module to automate statement import with rules")
+    (description "The @emph{Account Statement Rule} Tryton module allows rules
+to be defined to complete statement lines from imported files.
+
+When the @emph{Apply Rule} button is clicked on a statement, each rule is
+tested in order against each origin that does not have any lines until one is
+found that matches.  Then the rule found is used to create the statement lines
+linked to the origin.")
+    (license license:gpl3+)))
+
 (define-public trytond-analytic-account
   (package
     (name "trytond-analytic-account")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]