From ade7027f0415c8f5b5a4f9375d6c35e86a4a9091 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Fri, 27 Aug 2021 15:09:38 +0200 Subject: [PATCH] gnu: Add trytond-sale-discount. * gnu/packages/tryton.scm (trytond-sale-discount): New variable. --- gnu/packages/tryton.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index 07edc0c008..6a05940b6c 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -3109,6 +3109,29 @@ (define-public trytond-sale-credit-limit credit limit of the party when confirming a sale.") (license license:gpl3+))) +(define-public trytond-sale-discount + (package + (name "trytond-sale-discount") + (version "6.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trytond_sale_discount" version)) + (sha256 + (base32 "0ss976dcx6k2z2gdbhcgdp6d561b2vwwgf83xdl2pc28q2d3rmh6")))) + (build-system python-build-system) + (arguments (tryton-arguments "sale_discount")) + (native-inputs `(,@%standard-trytond-native-inputs)) + (propagated-inputs + `(("trytond" ,trytond) + ("trytond-product" ,trytond-product) + ("trytond-sale" ,trytond-sale))) + (home-page "https://docs.tryton.org/projects/modules-sale-discount") + (synopsis "Tryton module that manages discount on sale") + (description "The @emph{Sale Discount} Tryton module adds discount on sale +line.") + (license license:gpl3+))) + (define-public trytond-stock (package (name "trytond-stock")