guix-patches
[Top][All Lists]
Advanced

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

[bug#50628] [PATCH 093/154] gnu: Add trytond-purchase-history.


From: Hartmut Goebel
Subject: [bug#50628] [PATCH 093/154] gnu: Add trytond-purchase-history.
Date: Fri, 17 Sep 2021 00:53:52 +0200

* gnu/packages/tryton.scm (trytond-purchase-history): New variable.
---
 gnu/packages/tryton.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm
index 582302ddb6..e635ee52f5 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -2719,6 +2719,29 @@ change purchases that are being processed and keep track 
of the changes.  An
 amendment is composed of action lines which can:  FIXME")
     (license license:gpl3+)))
 
+(define-public trytond-purchase-history
+  (package
+    (name "trytond-purchase-history")
+    (version "6.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "trytond_purchase_history" version))
+       (sha256
+        (base32 "18mb1vqmf9c934jp2qjwj4mi0sx99m8005vxc42mjj1f5qkxxsgg"))))
+    (build-system python-build-system)
+    (arguments (tryton-arguments "purchase_history"))
+    (native-inputs `(,@%standard-trytond-native-inputs))
+    (propagated-inputs
+     `(("trytond" ,trytond)
+       ("trytond-purchase" ,trytond-purchase)))
+    (home-page "https://docs.tryton.org/projects/modules-purchase-history";)
+    (synopsis "Tryton module to historize purchases")
+    (description "The @emph{Purchase History} Tryton module activates the
+historization of the purchase and adds a revision counter which increases each
+time the purchase is reset to draft.")
+    (license license:gpl3+)))
+
 (define-public trytond-purchase-request
   (package
     (name "trytond-purchase-request")
-- 
2.30.2






reply via email to

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