From 5f57c127012aa8db2285e4ba99c58e07463e4fe3 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Fri, 27 Aug 2021 15:09:28 +0200 Subject: [PATCH] gnu: Add trytond-product-price-list-dates. * gnu/packages/tryton.scm (trytond-product-price-list-dates): New variable. --- gnu/packages/tryton.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index 666455d29c..2fe2d0a115 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -2349,6 +2349,31 @@ (define-public trytond-product-price-list to compute prices per product or category.") (license license:gpl3+))) +(define-public trytond-product-price-list-dates + (package + (name "trytond-product-price-list-dates") + (version "6.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trytond_product_price_list_dates" version)) + (sha256 + (base32 "0p1n4qivj9gfhdy0357n53wswyi14rnanc2bkayiv3zfr7qkf2m1")))) + (build-system python-build-system) + (arguments (tryton-arguments "product_price_list_dates")) + (native-inputs + `(,@%standard-trytond-native-inputs + ("trytond-sale-price-list" ,trytond-sale-price-list))) + (propagated-inputs + `(("trytond" ,trytond) + ("trytond-product-price-list" ,trytond-product-price-list))) + (home-page + "https://docs.tryton.org/projects/modules-product-price-list-dates") + (synopsis "Tryton module to add dates on price list") + (description "The @emph{Product Price List Dates} Tryton module adds start +date and end date conditions to the price list lines.") + (license license:gpl3+))) + (define-public trytond-purchase (package (name "trytond-purchase")