From da7d72229ab22831cfc7e855cf1b27c6c56143e3 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Fri, 27 Aug 2021 15:09:17 +0200 Subject: gnu: Add trytond-commission. * gnu/packages/tryton.scm (trytond-commission): New variable. --- gnu/packages/tryton.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index 66d755ff3f..3320c3a30b 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -1572,6 +1572,36 @@ or a specific postal code.") 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") -- cgit v1.2.3