From db8c9f5c8ad5bbb48709ee77486632db63158532 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Wed, 14 Feb 2024 12:44:02 +0100 Subject: [PATCH] gnu: Add trytond-stock-shipment-cost-weight. * gnu/packages/tryton.scm (trytond-stock-shipment-cost-weight): 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 a81048aa3ad8494e5dced5ce6005e77abf51c156..f60fe6de7ce49f6bfaf863335e0890aae0796efd 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -5197,6 +5197,30 @@ cost on the outgoing moves which is calculated from the carrier purchase price. This cost is added to the product margin reports.") (license license:gpl3+))) +(define-public trytond-stock-shipment-cost-weight + (package + (name "trytond-stock-shipment-cost-weight") + (version "7.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trytond_stock_shipment_cost_weight" version)) + (sha256 + (base32 "0ayrwalpn2ryis94wgjvaplp9azfjdyzqw331ipvm5s3ayfcbjia")))) + (build-system pyproject-build-system) + (arguments (tryton-arguments "stock_shipment_cost_weight")) + (native-inputs %standard-trytond-native-inputs) + (propagated-inputs + (list trytond + trytond-carrier + trytond-stock-shipment-cost + trytond-stock-shipment-measurements)) + (home-page "https://docs.tryton.org/projects/modules-stock-shipment-cost-weight") + (synopsis "Tryton module to allocate shipment cost \"by weight\"") + (description "The @emph{Stock Shipment Cost Weight} Tryton module adds “by +weight” as allocation method of shipment cost on the carrier.") + (license license:gpl3+))) + (define-public trytond-stock-shipment-measurements (package (name "trytond-stock-shipment-measurements")