guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

91/154: gnu: Add trytond-project-revenue.


From: guix-commits
Subject: 91/154: gnu: Add trytond-project-revenue.
Date: Tue, 21 Sep 2021 15:07:50 -0400 (EDT)

htgoebel pushed a commit to branch master
in repository guix.

commit 218c16095b7c81d8eb06b506cd56025f5af27856
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Fri Aug 27 15:09:33 2021 +0200

    gnu: Add trytond-project-revenue.
    
    * gnu/packages/tryton.scm (trytond-project-revenue): New variable.
---
 gnu/packages/tryton.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm
index d9b193f..60eada8 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -2637,6 +2637,38 @@ methods on projects.  The methods are:
 on top of the Project module.")
     (license license:gpl3+)))
 
+(define-public trytond-project-revenue
+  (package
+    (name "trytond-project-revenue")
+    (version "6.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "trytond_project_revenue" version))
+       (sha256
+        (base32 "0gji7kpq4l1smxvj6dqdpcyp2ml4ywfhagf6xm813y71mrlfvmka"))))
+    (build-system python-build-system)
+    (arguments (tryton-arguments "project_revenue"))
+    (native-inputs
+     `(,@%standard-trytond-native-inputs
+       ("trytond-purchase" ,trytond-purchase)))
+    (propagated-inputs
+     `(("trytond" ,trytond)
+       ("trytond-company" ,trytond-company)
+       ("trytond-product" ,trytond-product)
+       ("trytond-project" ,trytond-project)
+       ("trytond-timesheet" ,trytond-timesheet)
+       ("trytond-timesheet-cost" ,trytond-timesheet-cost)))
+    (home-page "https://docs.tryton.org/projects/modules-project-revenue";)
+    (synopsis "Tryton module to add revenue on project")
+    (description "The @emph{Project Revenue} Tryton module computes revenue
+and cost per task and project.  The revenue uses the list price of the
+product.  If the product's unit of measure is time based, the revenue is
+computed as the product of the price and the hours of effort otherwise the
+price is considered as fixed.  The cost is computed by summing the cost of all
+the linked time sheets and the linked purchase lines.")
+    (license license:gpl3+)))
+
 (define-public trytond-purchase
   (package
     (name "trytond-purchase")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]