From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8FmaAuDcQ2FVWAEAgWs5BA (envelope-from ) for ; Fri, 17 Sep 2021 02:10:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GKvpOd/cQ2HYHAAAB5/wlQ (envelope-from ) for ; Fri, 17 Sep 2021 00:10:07 +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 aspmx1.migadu.com (Postfix) with ESMTPS id 67CA8B2A7 for ; Fri, 17 Sep 2021 02:10:07 +0200 (CEST) Received: from localhost ([::1]:53622 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mR0RB-0001un-0S for larch@yhetil.org; Thu, 16 Sep 2021 19:05:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mR0KU-0005TF-J0 for guix-patches@gnu.org; Thu, 16 Sep 2021 18:58:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45609) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mR0KU-0004pZ-1z for guix-patches@gnu.org; Thu, 16 Sep 2021 18:58:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mR0KU-0002fO-1p for guix-patches@gnu.org; Thu, 16 Sep 2021 18:58:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50628] [PATCH 038/154] gnu: Add trytond-account-statement-rule. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Sep 2021 22:58:06 +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.16318330449888 (code B ref 50628); Thu, 16 Sep 2021 22:58:06 +0000 Received: (at 50628) by debbugs.gnu.org; 16 Sep 2021 22:57:24 +0000 Received: from localhost ([127.0.0.1]:57091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mR0Jn-0002ZK-Q6 for submit@debbugs.gnu.org; Thu, 16 Sep 2021 18:57:24 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:54940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mR0JZ-0002UK-51 for 50628@debbugs.gnu.org; Thu, 16 Sep 2021 18:57:09 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4H9XXN4Gbzz1s5l5; Fri, 17 Sep 2021 00:57:08 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4H9XXN49S3z1qqkC; Fri, 17 Sep 2021 00:57:08 +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 EC8rtN7XSU92; Fri, 17 Sep 2021 00:57:07 +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 00:57:07 +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 BAC5461490; Fri, 17 Sep 2021 00:55:34 +0200 (CEST) From: Hartmut Goebel Date: Fri, 17 Sep 2021 00:52:57 +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=1631837407; 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=tKpwwHZT9NHE6St49JKJ7i5yru5e8H9Pmv6FOJrve3Q=; b=B6+z8CT373lJNHRa/hueD6or3ucEzTrO0xbtIWsVodBRPtn/buARsYLgUUcZWWFMPfygWO ai1ZKx2JLN0ha1P0XTSr4f39cmMlbvcuZPMjUDIGgkf3UHjRsPkzUEhgD8TPx+IAg5EEFf qtzPHocEc3vX1j0kSrj1nmfe/bbEzrod2gAoIteK0spCUrW8N6KJpXVGMGoAU3/se1YBwV 5wSaMqbj57V44Z79Hiq/SkOeCT2VrzcFWYGDE3LFSPNmLJy6R7e0vCRuDhaQl6M2nuEUJv dj6S/rkBVUuCXlQCILh8Mywg68GSZBYKPsCHjx4LrrfazC56kkkMAVaoZ+ZKwQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631837407; a=rsa-sha256; cv=none; b=AjALgdhNeRRgQmcv6V8sUcsC4hXW3NqM47p1OvrsiRq2+U9ep/Wz8wAO+3BmP9/J0QSqzR jYGHetYCUeIiSNXn/SWXq4Jd/V5oAAlRawjGZbjIu35FN80g6wNpUA2u6o1iihajeHx5B3 uVjPlIocrpn21rZAXBqEKJDK+vovYzkck7+Ej/kEmSITvf03Ec/+h4wIxOekeEJ5PpLLVU 1mKOQa50DQ1Q6+zYlWYhQRex60IOcI3INJZrWd3TyRTPYRRk5awxa2MfufGDoyvXnZ03i+ CscoxnpGq28GjEPQ8m4jIgiRlJbm0BJVxsMWEp0MU3uQcHZhJYjFXC5cA5COAA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.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: 2.60 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.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: 67CA8B2A7 X-Spam-Score: 2.60 X-Migadu-Scanner: scn0.migadu.com X-TUID: qyND1BccobDV * gnu/packages/tryton.scm (trytond-account-statement-rule): 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 0a16fe9d76..6646dc6918 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -1077,6 +1077,38 @@ defined by Belgian \"febelfin\".") the import of the @emph{OFX} files as statement.") (license license:gpl3+))) +(define-public trytond-account-statement-rule + (package + (name "trytond-account-statement-rule") + (version "6.0.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trytond_account_statement_rule" version)) + (sha256 + (base32 "0kg6lf2wa5scwxggr8p7r7j6jd3a34qv2dcs9w18ra1qvg6p4kmp")))) + (build-system python-build-system) + (arguments (tryton-arguments "account_statement_rule")) + (native-inputs `(,@%standard-trytond-native-inputs)) + (propagated-inputs + `(("trytond" ,trytond) + ("trytond-account" ,trytond-account) + ("trytond-account-invoice" ,trytond-account-invoice) + ("trytond-account-statement" ,trytond-account-statement) + ("trytond-company" ,trytond-company) + ("trytond-party" ,trytond-party))) + (home-page + "https://docs.tryton.org/projects/modules-account-statement-rule") + (synopsis "Tryton module to automate statement import with rules") + (description "The @emph{Account Statement Rule} Tryton module allows rules +to be defined to complete statement lines from imported files. + +When the @emph{Apply Rule} button is clicked on a statement, each rule is +tested in order against each origin that does not have any lines until one is +found that matches. Then the rule found is used to create the statement lines +linked to the origin.") + (license license:gpl3+))) + (define-public trytond-analytic-account (package (name "trytond-analytic-account") -- 2.30.2