gnu: Add trytond-sale-discount.

* gnu/packages/tryton.scm (trytond-sale-discount): New variable.
This commit is contained in:
Hartmut Goebel 2021-08-27 15:09:38 +02:00
parent ec9c9c28cd
commit ade7027f04
No known key found for this signature in database
GPG key ID: 634A8DFFD3F631DF

View file

@ -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")