GNU bug report logs - #50628
[PATCH 000/154] Add 146 Tryton modules and some dependencies

Previous Next

Package: guix-patches;

Reported by: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Date: Thu, 16 Sep 2021 22:54:01 UTC

Severity: normal

Tags: patch

Done: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Bug is archived. No further changes may be made.

Full log


Message #719 received at 50628 <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: 50628 <at> debbugs.gnu.org,
	guix-patches <at> gnu.org
Subject: [PATCH 120/154] gnu: Add trytond-sale-stock-quantity.
Date: Fri, 17 Sep 2021 00:54:19 +0200
* gnu/packages/tryton.scm (trytond-sale-stock-quantity): New variable.
---
 gnu/packages/tryton.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm
index b237f6b9c7..de53e118e9 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -3486,6 +3486,35 @@ line is over shipped more than the tolerance percentage, then a warning is
 raised.")
     (license license:gpl3+)))
 
+(define-public trytond-sale-stock-quantity
+  (package
+    (name "trytond-sale-stock-quantity")
+    (version "6.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "trytond_sale_stock_quantity" version))
+       (sha256
+        (base32 "0xi79nmizly3hfc1ppcid622nvby50524jflisfvmjb651ixpfl8"))))
+    (build-system python-build-system)
+    (arguments (tryton-arguments "sale_stock_quantity"))
+    (native-inputs
+     `(,@%standard-trytond-native-inputs
+       ("trytond-stock-supply" ,trytond-stock-supply)))
+    (propagated-inputs
+     `(("trytond" ,trytond)
+       ("trytond-product" ,trytond-product)
+       ("trytond-sale" ,trytond-sale)
+       ("trytond-stock" ,trytond-stock)))
+    (home-page "https://docs.tryton.org/projects/modules-sale-stock-quantity")
+    (synopsis "Tryton module to add stock warning on sale")
+    (description "The @emph{Sale Stock Quantity} Tryton module checks the
+stock quantity of the products when quoting a sale.  The check will warn the
+user if the forecast quantity at the sale date (and further dates until next
+supply) is lower than the quantity sold by considering other sales and the
+stock forecasts.")
+    (license license:gpl3+)))
+
 (define-public trytond-stock
   (package
     (name "trytond-stock")
-- 
2.30.2





This bug report was last modified 3 years and 237 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.