guix-commits
[Top][All Lists]
Advanced

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

11/154: gnu: Add trytond-account-cash-rounding.


From: guix-commits
Subject: 11/154: gnu: Add trytond-account-cash-rounding.
Date: Tue, 21 Sep 2021 15:07:27 -0400 (EDT)

htgoebel pushed a commit to branch master
in repository guix.

commit e84d051e71e6d6d74cc721a80eae2eaf9c7ab73b
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Fri Aug 27 15:08:58 2021 +0200

    gnu: Add trytond-account-cash-rounding.
    
    * gnu/packages/tryton.scm (trytond-account-cash-rounding): 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 d47de2e..53ec211 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -265,6 +265,34 @@ of fixed assets.")
 chart of account for Belgium.")
     (license license:gpl3+)))
 
+(define-public trytond-account-cash-rounding
+  (package
+    (name "trytond-account-cash-rounding")
+    (version "6.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "trytond_account_cash_rounding" version))
+       (sha256
+        (base32 "15xl36929zgfw9rlwaqdqs5l4ijspfx8i060z6884p2nizhh69s5"))))
+    (build-system python-build-system)
+    (arguments (tryton-arguments "account_cash_rounding"))
+    (native-inputs
+     `(,@%standard-trytond-native-inputs
+       ("trytond-account-invoice" ,trytond-account-invoice)
+       ("trytond-purchase" ,trytond-purchase)
+       ("trytond-sale" ,trytond-sale)))
+    (propagated-inputs
+     `(("trytond" ,trytond)
+       ("trytond-account" ,trytond-account)
+       ("trytond-currency" ,trytond-currency)))
+    (home-page
+     "https://docs.tryton.org/projects/modules-account-cash-rounding";)
+    (synopsis "Tryton module to round cash amount")
+    (description "The @emph{Account Cash Rounding} Tryton module allows cash
+amounts to be rounded using the cash rounding factor of the currency.")
+    (license license:gpl3+)))
+
 (define-public trytond-account-invoice
   (package
     (name "trytond-account-invoice")



reply via email to

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