Subject: [bug#50628] [PATCH 076/154] gnu: Add trytond-product-cost-warehouse.

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

* gnu/packages/tryton.scm (trytond-product-cost-warehouse): 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 28adde6eeb..3ae0f3777a 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -2244,6 +2244,35 @@ historic cost price is needed, the value is taken from this history for goods
 and assets.")
     (license license:gpl3+)))
 
+(define-public trytond-product-cost-warehouse
+  (package
+    (name "trytond-product-cost-warehouse")
+    (version "6.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "trytond_product_cost_warehouse" version))
+       (sha256
+        (base32 "12fcnmcx4m5wyw1hi3k175iiis5m18fcs72b04y14km583s6jcfr"))))
+    (build-system python-build-system)
+    (arguments (tryton-arguments "product_cost_warehouse"))
+    (native-inputs
+     `(,@%standard-trytond-native-inputs
+       ("trytond-account-stock-continental" ,trytond-account-stock-continental)
+       ("trytond-product-cost-fifo" ,trytond-product-cost-fifo)
+       ("trytond-product-cost-history" ,trytond-product-cost-history)))
+    (propagated-inputs
+     `(("trytond" ,trytond)
+       ("trytond-company" ,trytond-company)
+       ("trytond-product" ,trytond-product)
+       ("trytond-stock" ,trytond-stock)))
+    (home-page
+     "https://docs.tryton.org/projects/modules-product-cost-warehouse")
+    (synopsis "Tryton module to compute product cost per warehouse")
+    (description "The @emph{Product Cost Warehouse} Trython module allows the
+cost price of products to be calculated separately for each warehouse.")
+    (license license:gpl3+)))
+
 (define-public trytond-purchase
   (package
     (name "trytond-purchase")
-- 
2.30.2