gnu: Add trytond-commission.

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

View file

@ -1572,6 +1572,36 @@ (define-public trytond-carrier-weight
the weight is greater or equal but smaller than the next line.")
(license license:gpl3+)))
(define-public trytond-commission
(package
(name "trytond-commission")
(version "6.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "trytond_commission" version))
(sha256
(base32 "0a5grn6gvvwn0prr5fpgyj4kz283w08a8svmv3b4a4c5pchik3hv"))))
(build-system python-build-system)
(arguments (tryton-arguments "commission"))
(native-inputs
`(,@%standard-trytond-native-inputs
("trytond-sale" ,trytond-sale)))
(propagated-inputs
`(("python-simpleeval" ,python-simpleeval)
("trytond" ,trytond)
("trytond-account" ,trytond-account)
("trytond-account-invoice" ,trytond-account-invoice)
("trytond-account-product" ,trytond-account-product)
("trytond-party" ,trytond-party)
("trytond-product" ,trytond-product)))
(home-page "https://docs.tryton.org/projects/modules-commission")
(synopsis "Tryton module for commission")
(description "The @emph{Commission} Tryton module allows to manageq
commission for sale's agents. A commission move is created when posting the
invoice, following the agent's commission plan.")
(license license:gpl3+)))
(define-public trytond-company
(package
(name "trytond-company")