Subject: [bug#50628] [PATCH 099/154] gnu: Add trytond-purchase-shipment-cost.

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

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

diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm
index fb7a7aee53..72edef4f8a 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -2919,6 +2919,37 @@ and unit price.  The secondary unit is defined on the product supplier or on
 the product with its factor against the purchase unit.")
     (license license:gpl3+)))
 
+(define-public trytond-purchase-shipment-cost
+  (package
+    (name "trytond-purchase-shipment-cost")
+    (version "6.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "trytond_purchase_shipment_cost" version))
+       (sha256
+        (base32 "0n54mkw8fbhyxn8sxrkn97bkx2c1j7bngsc7isc3md5c3kyi50nf"))))
+    (build-system python-build-system)
+    (arguments (tryton-arguments "purchase_shipment_cost"))
+    (native-inputs
+     `(,@%standard-trytond-native-inputs
+       ("trytond-account-invoice-stock" ,trytond-account-invoice-stock)
+       ("trytond-account-stock-anglo-saxon" ,trytond-account-stock-anglo-saxon)
+       ("trytond-account-stock-continental" ,trytond-account-stock-continental)
+       ("trytond-purchase" ,trytond-purchase)))
+    (propagated-inputs
+     `(("trytond" ,trytond)
+       ("trytond-carrier" ,trytond-carrier)
+       ("trytond-currency" ,trytond-currency)
+       ("trytond-product" ,trytond-product)
+       ("trytond-stock" ,trytond-stock)))
+    (home-page
+     "https://docs.tryton.org/projects/modules-purchase-shipment-cost")
+    (synopsis "Tryton module for purchase shipment costs")
+    (description "The @emph{Purchase Shipment Cost} Tryton module adds
+shipment costs to Supplier Shipment.")
+    (license license:gpl3+)))
+
 (define-public trytond-stock
   (package
     (name "trytond-stock")
-- 
2.30.2