From patchwork Thu Sep 16 22:54:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 33081 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C039827BBE1; Fri, 17 Sep 2021 05:54:31 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4CF2B27BBE3 for ; Fri, 17 Sep 2021 05:54:31 +0100 (BST) Received: from localhost ([::1]:57134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mR5tO-0007VZ-9G for patchwork@mira.cbaines.net; Fri, 17 Sep 2021 00:54:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mR5sw-0007Uj-EP for guix-patches@gnu.org; Fri, 17 Sep 2021 00:54:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46731) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mR5sw-0005JJ-6p for guix-patches@gnu.org; Fri, 17 Sep 2021 00:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mR5sw-0004ex-15 for guix-patches@gnu.org; Fri, 17 Sep 2021 00:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50628] [PATCH 143/154] gnu: Add trytond-stock-split. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Sep 2021 04:54:01 +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.163185443817881 (code B ref 50628); Fri, 17 Sep 2021 04:54:01 +0000 Received: (at 50628) by debbugs.gnu.org; 17 Sep 2021 04:53:58 +0000 Received: from localhost ([127.0.0.1]:58268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mR5sr-0004eF-TP for submit@debbugs.gnu.org; Fri, 17 Sep 2021 00:53:58 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:42732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mR5sm-0004dr-Jk for 50628@debbugs.gnu.org; Fri, 17 Sep 2021 00:53:56 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4H9hRz2vfrz1rk5f; Fri, 17 Sep 2021 06:53:51 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4H9hRz2dc2z1qqkC; Fri, 17 Sep 2021 06:53:51 +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 ytatY-3kkhZj; Fri, 17 Sep 2021 06:53:50 +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 06:53:50 +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 E5425614E8; Fri, 17 Sep 2021 00:56:35 +0200 (CEST) From: Hartmut Goebel Date: Fri, 17 Sep 2021 00:54:42 +0200 Message-Id: <5505ee00ede252e74dac98e7c34c64502329f33f.1631832505.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tryton.scm (trytond-stock-split): New variable. --- gnu/packages/tryton.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index 41ce2a32ed..3d7ffc7b45 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -4159,6 +4159,30 @@ weight and volume on shipments and packages. They are computed using the measurement and the quantity of their moves.") (license license:gpl3+))) +(define-public trytond-stock-split + (package + (name "trytond-stock-split") + (version "6.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trytond_stock_split" version)) + (sha256 + (base32 "0ynvmmdxgzgg6mn8ckhl7jr9ircq4bpwsl0xpzk83r6mhlvlrxpm")))) + (build-system python-build-system) + (arguments (tryton-arguments "stock_split")) + (native-inputs `(,@%standard-trytond-native-inputs)) + (propagated-inputs + `(("trytond" ,trytond) + ("trytond-stock" ,trytond-stock))) + (home-page "https://docs.tryton.org/projects/modules-stock-split") + (synopsis "Tryton module to split stock move") + (description "The @emph{Stock Split} Tryton module adds on the stock move +a wizard that allows to split them. The move is split into moves of Quantity. +If Counts is set, it will be split only this number of times. On occasion +there can be a move with the remaining quantity.") + (license license:gpl3+))) + (define-public trytond-stock-supply (package (name "trytond-stock-supply")