Subject: [PATCH 145/154] gnu: Add trytond-stock-supply-forecast.

From: Hartmut Goebel <[email-masked]>
Date: Fri, 17 Sep 2021 00:54:44 +0200

* gnu/packages/tryton.scm (trytond-stock-supply-forecast): New variable.
---
 gnu/packages/tryton.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm
index 61a5270d51..655b050d30 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -4237,3 +4237,27 @@ list on the Product Supplier form.  This allow to restrict the supply week
 days for each supplier on each product.  If no days are defined for a supplier
 a supplying may happens at any day of the week.")
     (license license:gpl3+)))
+
+(define-public trytond-stock-supply-forecast
+  (package
+    (name "trytond-stock-supply-forecast")
+    (version "6.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "trytond_stock_supply_forecast" version))
+       (sha256
+        (base32 "0i5dc9ddd6mfx3zjlcq16isw52b8qy7igaj2lv8jqvkdrc19yfha"))))
+    (build-system python-build-system)
+    (arguments (tryton-arguments "stock_supply_forecast"))
+    (native-inputs `(,@%standard-trytond-native-inputs))
+    (propagated-inputs
+     `(("trytond" ,trytond)
+       ("trytond-stock-forecast" ,trytond-stock-forecast)
+       ("trytond-stock-supply" ,trytond-stock-supply)))
+    (home-page
+     "https://docs.tryton.org/projects/modules-stock-supply-forecast")
+    (synopsis "Tryton module to add forecast to supply computation")
+    (description "The @emph{Stock Supply Forecast} Tryton module takes
+forecast into account to compute purchase requests.")
+    (license license:gpl3+)))
-- 
2.30.2