From 32b67eef8248977de8e2d83dae88e25ea627fdf1 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Fri, 27 Aug 2021 15:09:51 +0200 Subject: [PATCH] gnu: Add trytond-stock-lot-unit. * gnu/packages/tryton.scm (trytond-stock-lot-unit): New variable. --- gnu/packages/tryton.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index b1cc3b9ef1..95be3eda7e 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -3912,6 +3912,32 @@ the shelf life of a lot expires in less than the configured shelf life delay, it is no more used to compute the forecast quantity of the stock.") (license license:gpl3+))) +(define-public trytond-stock-lot-unit + (package + (name "trytond-stock-lot-unit") + (version "6.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trytond_stock_lot_unit" version)) + (sha256 + (base32 "1acvrj9af83gmfcp7kgyi37kv3v5910rh1q73scd37xbv7h8dyrm")))) + (build-system python-build-system) + (arguments (tryton-arguments "stock_lot_unit")) + (native-inputs + `(,@%standard-trytond-native-inputs + ("trytond-production" ,trytond-production))) + (propagated-inputs + `(("trytond" ,trytond) + ("trytond-product" ,trytond-product) + ("trytond-stock" ,trytond-stock) + ("trytond-stock-lot" ,trytond-stock-lot))) + (home-page "https://docs.tryton.org/projects/modules-stock-lot-unit") + (synopsis "Tryton module to define unit on stock lot") + (description "The @emph{Stock Lot Unit} Tryton module allows to define a +unit and quantity on stock lot.") + (license license:gpl3+))) + (define-public trytond-stock-supply (package (name "trytond-stock-supply")