From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8OV8ER/TQ2EtRQEAgWs5BA (envelope-from ) for ; Fri, 17 Sep 2021 01:28:31 +0200 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IDwyDR/TQ2FZOgAA1q6Kng (envelope-from ) for ; Thu, 16 Sep 2021 23:28:31 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx2.migadu.com (Postfix) with ESMTPS id 9E59F243B0 for ; Fri, 17 Sep 2021 01:28:30 +0200 (CEST) Received: from localhost ([::1]:42964 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mR0Vb-0004lF-KV for larch@yhetil.org; Thu, 16 Sep 2021 19:09:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mR0Nc-0004C4-UJ for guix-patches@gnu.org; Thu, 16 Sep 2021 19:01:21 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46032) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mR0Nc-0007dY-IU for guix-patches@gnu.org; Thu, 16 Sep 2021 19:01:20 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mR0Nc-0003KC-GK for guix-patches@gnu.org; Thu, 16 Sep 2021 19:01:20 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50628] [PATCH 091/154] gnu: Add trytond-project-revenue. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Sep 2021 23:01:20 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50628 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50628@debbugs.gnu.org X-Debbugs-Original-To: 50628@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by 50628-submit@debbugs.gnu.org id=B50628.163183325812293 (code B ref 50628); Thu, 16 Sep 2021 23:01:20 +0000 Received: (at 50628) by debbugs.gnu.org; 16 Sep 2021 23:00:58 +0000 Received: from localhost ([127.0.0.1]:57495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mR0NF-0003C6-T0 for submit@debbugs.gnu.org; Thu, 16 Sep 2021 19:00:58 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:54719) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mR0Mj-00037V-ML for 50628@debbugs.gnu.org; Thu, 16 Sep 2021 19:00:26 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4H9Xc90vwpz1sC06; Fri, 17 Sep 2021 01:00:25 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4H9Xc90gy3z1qqkC; Fri, 17 Sep 2021 01:00:25 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 645ob5DFpE4r; Fri, 17 Sep 2021 01:00:23 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-61-8.dynamic.mnet-online.de [188.174.61.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Fri, 17 Sep 2021 01:00:23 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id E9AF96147A; Fri, 17 Sep 2021 00:56:05 +0200 (CEST) From: Hartmut Goebel Date: Fri, 17 Sep 2021 00:53:50 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631834910; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=beadJ41VRta67RNljgRHlX/6c2S56Fs39Q61dNMVShk=; b=hNJEe+ihsfWN1d03m73YKTEFk5Wzsz0V0IF5y2j0DH3ESoZl5CkGnaTQM+mo2itHWJdwLT 1JM56RV+H7HSuRRjQNe+kErFTh1SF2F+xwFE0IObfupWcYw8d10RlHOMyl1FkbjO98Erc1 61mIdW2Kmaq2H+sIjlINPmzbrwYXXSi1/U01kyGmvlSQRg/ftmg1EnZOaoG4pVutevS/ZZ 3RULcMepgCR2LqOHV3WQCiNXsCtgn22Vye459EEAFWAmpwrTPXX4RICEEQV65sy40tqdWA 3jaF198dZFO7ow5NJufdOqaBTCy+UN6W22grcI99Jto8yldgagVN/gV/+uqmgQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631834910; a=rsa-sha256; cv=none; b=Cb/ozHNpWDh6iMX7ZCGjwaHe7UCf5xNO2OUVTRoc2+Dyq40MO1Q6XtgKJxPDGhZD030zIF RX+1t6yKqFr/5urot3s8U+CWAckfX8b1F+6M+ITyWL0bi3HE8KE14gY/ljMPKCYT84sY85 7cvXwwzQpzsqCRtxWI+GYGE4r9tg99IfJkFqGWgF81lZCjaucZqZrmCzx6OpOe+kNA7UZY tpXrh7XWajy7unoXUpVd7B7ANy4MvwI+8b9PpsT5BUyMGoQfSY9lyDqa2A4CcmQf3zf4Mz dhyHme13Y7OqtCvFNc8zqJet18ytSX10vjTVrSwAhhh/aybAVNfZUNcZLUSWIQ== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx2.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 4.10 Authentication-Results: aspmx2.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx2.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 9E59F243B0 X-Spam-Score: 4.10 X-Migadu-Scanner: scn1.migadu.com X-TUID: sQVVZYzAMH4M * 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 f56a1924ac..29e197893c 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -2628,6 +2628,38 @@ methods on projects. The methods are: FIXME") 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") -- 2.30.2