gnu: Add trytond-stock-lot-unit.

* gnu/packages/tryton.scm (trytond-stock-lot-unit): New variable.
This commit is contained in:
Hartmut Goebel 2021-08-27 15:09:51 +02:00
parent ebfc61d1da
commit 32b67eef82
No known key found for this signature in database
GPG Key ID: 634A8DFFD3F631DF

View File

@ -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.") it is no more used to compute the forecast quantity of the stock.")
(license license:gpl3+))) (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 (define-public trytond-stock-supply
(package (package
(name "trytond-stock-supply") (name "trytond-stock-supply")