From ba41f4ef6f522e3c2ffd8a3f921ff890a116ed35 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Fri, 27 Aug 2021 15:09:36 +0200 Subject: [PATCH] gnu: Add trytond-purchase-shipment-cost. * 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 4bef8f4267..0e46b01ae0 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -2938,6 +2938,37 @@ (define-public trytond-purchase-secondary-unit 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")