From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oOHWFZHPQ2EiQAEAgWs5BA (envelope-from ) for ; Fri, 17 Sep 2021 01:13:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yPNfEZHPQ2EVdwAAB5/wlQ (envelope-from ) for ; Thu, 16 Sep 2021 23:13:21 +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 E6FAD3FBB for ; Fri, 17 Sep 2021 01:13:20 +0200 (CEST) Received: from localhost ([::1]:55476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mR0ZD-0004EY-Vu for larch@yhetil.org; Thu, 16 Sep 2021 19:13:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mR0PR-0007IT-6b for guix-patches@gnu.org; Thu, 16 Sep 2021 19:03:13 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46232) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mR0PN-0000hu-0R for guix-patches@gnu.org; Thu, 16 Sep 2021 19:03:12 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mR0PM-0003ca-TG for guix-patches@gnu.org; Thu, 16 Sep 2021 19:03:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50628] [PATCH 120/154] gnu: Add trytond-sale-stock-quantity. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Sep 2021 23:03:08 +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 submit@debbugs.gnu.org id=B.163183338313810 (code B ref -1); Thu, 16 Sep 2021 23:03:08 +0000 Received: (at submit) by debbugs.gnu.org; 16 Sep 2021 23:03:03 +0000 Received: from localhost ([127.0.0.1]:57755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mR0PB-0003a7-Mc for submit@debbugs.gnu.org; Thu, 16 Sep 2021 19:03:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:50024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mR0Oa-0003Wr-5c for submit@debbugs.gnu.org; Thu, 16 Sep 2021 19:02:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43210) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mR0OX-0005Wj-9B for guix-patches@gnu.org; Thu, 16 Sep 2021 19:02:18 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:42409) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mR0OV-0008KV-Fr for guix-patches@gnu.org; Thu, 16 Sep 2021 19:02:17 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4H9XfD5dMFz1sByw; Fri, 17 Sep 2021 01:02:12 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4H9XfD5WMZz1qqkB; Fri, 17 Sep 2021 01:02:12 +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 K1Z5lLwdJfaL; Fri, 17 Sep 2021 01:02:11 +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:02:11 +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 AC515614D4; Fri, 17 Sep 2021 00:56:22 +0200 (CEST) From: Hartmut Goebel Date: Fri, 17 Sep 2021 00:54:19 +0200 Message-Id: <85fb8b2a0da66610e3fbefd353c479b0fb6d325a.1631832505.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.18.0.10; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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=1631834001; 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=p3ALO/lbgn3VQ1T9KBfty62ByAqD3x9wWjPtaA0TD/Y=; b=puvjWmXFORo5Dkgn69Fh/8NEROiKHAiaUTdtKzXDZW4m1aXfd/W1ratC/3HZQFGLYTAT9P RGA7pXLMLnKLcnvt7oPux9lxyioKwEU+Sf+RDSvISaeyGbSTjZL3UpjRteXi9U5JYXulOT ken3tgcKUsbPC8DW2aL0Du0qpbkv6fjrJA03xvhpqziOc4nh8aMCwlEWbJNZx7ezSh95mO zlPM7HShhfli9OPFtGjwscCfefahY6uOc24ujSWp6QWICEIbxeSJB25i6DC1bG2ZyGigj2 nyb2nWNcXulu70NF+UGPdcqRW9IctNWN521BEc3hfV93RfjhV5qd3Z5KDsWULQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631834001; a=rsa-sha256; cv=none; b=iBGZqngFSfIr+tAoFamkDrahDh+tQAQ8sOxCs9fM0TlPxrjAiVG/gRKgctIeDFHspDB1Ku pci0iZ9sTvVnktcXl/Lkcm0cWnMn1qc6KKMl1JEsf8x1bPurfYjqmPHqqVid9lEknDVOpA YedayGICtKrWLVe4wfJ5TZL25Rd7ubdCt9wXgWRczGvDvX0jCBXTVN9jxxoqz3JK0I8ws4 yxAZ0vIHlCvhS3BKXSRmhcngkuekGsPIpGXzNNrrRX87HYOu6YxHf+tHXdhPM1RbnTH2Gq rbvoqagkBYBGKBZq1ap3aXGbAkVGGFELB+uneOqPeDUsAOqFgElFcj7BeAfGHQ== 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: 4.10 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: E6FAD3FBB X-Spam-Score: 4.10 X-Migadu-Scanner: scn1.migadu.com X-TUID: oUi1+aoaW14g * gnu/packages/tryton.scm (trytond-sale-stock-quantity): New variable. --- gnu/packages/tryton.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index b237f6b9c7..de53e118e9 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -3486,6 +3486,35 @@ line is over shipped more than the tolerance percentage, then a warning is raised.") (license license:gpl3+))) +(define-public trytond-sale-stock-quantity + (package + (name "trytond-sale-stock-quantity") + (version "6.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trytond_sale_stock_quantity" version)) + (sha256 + (base32 "0xi79nmizly3hfc1ppcid622nvby50524jflisfvmjb651ixpfl8")))) + (build-system python-build-system) + (arguments (tryton-arguments "sale_stock_quantity")) + (native-inputs + `(,@%standard-trytond-native-inputs + ("trytond-stock-supply" ,trytond-stock-supply))) + (propagated-inputs + `(("trytond" ,trytond) + ("trytond-product" ,trytond-product) + ("trytond-sale" ,trytond-sale) + ("trytond-stock" ,trytond-stock))) + (home-page "https://docs.tryton.org/projects/modules-sale-stock-quantity") + (synopsis "Tryton module to add stock warning on sale") + (description "The @emph{Sale Stock Quantity} Tryton module checks the +stock quantity of the products when quoting a sale. The check will warn the +user if the forecast quantity at the sale date (and further dates until next +supply) is lower than the quantity sold by considering other sales and the +stock forecasts.") + (license license:gpl3+))) + (define-public trytond-stock (package (name "trytond-stock") -- 2.30.2