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 gAddNDzQQ2F4QAEAgWs5BA (envelope-from ) for ; Fri, 17 Sep 2021 01:16:12 +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 SLwMMDzQQ2FZLwAA1q6Kng (envelope-from ) for ; Thu, 16 Sep 2021 23:16:12 +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 5FA5E242FE for ; Fri, 17 Sep 2021 01:16:12 +0200 (CEST) Received: from localhost ([::1]:33280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mR0bz-00089q-Ep for larch@yhetil.org; Thu, 16 Sep 2021 19:16:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mR0PH-00071Q-8y for guix-patches@gnu.org; Thu, 16 Sep 2021 19:03:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46210) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mR0PH-0000aK-0v for guix-patches@gnu.org; Thu, 16 Sep 2021 19:03:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mR0PG-0003aV-Tw for guix-patches@gnu.org; Thu, 16 Sep 2021 19:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50628] [PATCH 116/154] gnu: Add trytond-sale-secondary-unit. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Sep 2021 23:03:02 +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.163183337513723 (code B ref -1); Thu, 16 Sep 2021 23:03:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Sep 2021 23:02:55 +0000 Received: from localhost ([127.0.0.1]:57739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mR0P9-0003ZB-Bu for submit@debbugs.gnu.org; Thu, 16 Sep 2021 19:02:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:49558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mR0OJ-0003SQ-Np for submit@debbugs.gnu.org; Thu, 16 Sep 2021 19:02:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mR0OI-00059h-MF for guix-patches@gnu.org; Thu, 16 Sep 2021 19:02:03 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:42066) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mR0OF-00082m-Up for guix-patches@gnu.org; Thu, 16 Sep 2021 19:02:02 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4H9Xdx6ByJz1qwdg; Fri, 17 Sep 2021 01:01:57 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4H9Xdx65j8z1qqkB; Fri, 17 Sep 2021 01:01:57 +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 GXWUYeANH4aC; Fri, 17 Sep 2021 01:01:56 +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:01:56 +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 69BB4614D0; Fri, 17 Sep 2021 00:56:20 +0200 (CEST) From: Hartmut Goebel Date: Fri, 17 Sep 2021 00:54:15 +0200 Message-Id: <9ff836ff7983ed67bc1a1b7c7bdb5e4872f34f88.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.9; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, 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=1631834172; 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=aiId1klVRKqqOhHdPr67/PQK32usP3M8jTNHYNJsPmY=; b=uFTxU1o/tQvwkOZDVugEdsG2IZkT9Rgat4m6pNY+Am+2FjUR6vmuwZPZCRu94YxWVPqXaQ Kc8C6bKNm6o1YlVHBubCuYaUJatwJ6nkeYU5mykFf00bZtWrhvPmbAn8pE/L9msR5KHbgn ZTdwTTv2iGWmbXK0ciwk4hg4N7AJYqmWMT0EU6xLE1L48L2PPFWcaBF8XMditRyMLDXzl4 hNz+Oyceg0ACZSB9QumIoYG1136hgRZ+X5wzQ+UM855BnIq+xnJVdI9GqhdmfubAv11BSI r8ERso6R7El4eY08kIsnQeY2BcTCyUFJ3Law1kUf7quowySpP//A/+bgnvtq9A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631834172; a=rsa-sha256; cv=none; b=nZod9aawN+DO2pwqEGZP54nFMeee4n/PE2BNfkgJBJTX6WHNldttML0OpNUBDXUR53Zm1y W7EWZNJ9w8fjan/RjmT/JD3A4vpVwa2yNG6mSbTlDw9M2DP+6AyHt4tjR+/+teMI6DbDE5 OdL5T743GyBv1O9MLO7vw8J/DaXkTkcEvqq/skRpHo6rTTOR8rkWbdoAJ+mfwwzc+VAYoE 77/rBEhBDbC1qIgQmyz58d0df1eCAvrUn6jRk4N2D3JKcUDeRBW+jkRTmGhHwTJal6Cc8H qnoz3/ao8ADuTNycK9Dc8cTYQb7CLWB3BEnSUoNTtsMyU5wCrYqnSsYdFaVdYg== 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: 5FA5E242FE X-Spam-Score: 4.10 X-Migadu-Scanner: scn1.migadu.com X-TUID: U+I/LqiAAbna * gnu/packages/tryton.scm (trytond-sale-secondary-unit): 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 3068b8eb05..1b13caec1c 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -3371,6 +3371,38 @@ on sale based on criteria.") to the promotions.") (license license:gpl3+))) +(define-public trytond-sale-secondary-unit + (package + (name "trytond-sale-secondary-unit") + (version "6.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trytond_sale_secondary_unit" version)) + (sha256 + (base32 "0w7jw6ih4ypwqy83r5qrpclp3yalsrvnz65z2kn5yqaj95b4dpy8")))) + (build-system python-build-system) + (arguments (tryton-arguments "sale_secondary_unit")) + (native-inputs + `(,@%standard-trytond-native-inputs + ("trytond-account-invoice-secondary-unit" + ,trytond-account-invoice-secondary-unit) + ("trytond-sale-product-customer" ,trytond-sale-product-customer) + ("trytond-stock-secondary-unit" ,trytond-stock-secondary-unit))) + (propagated-inputs + `(("trytond" ,trytond) + ("trytond-account-invoice" ,trytond-account-invoice) + ("trytond-product" ,trytond-product) + ("trytond-sale" ,trytond-sale) + ("trytond-stock" ,trytond-stock))) + (home-page "https://docs.tryton.org/projects/modules-sale-secondary-unit") + (synopsis "Tryton module to add a secondary unit on sale line") + (description "The @emph{Sale Secondary Unit} Tryton module adds a +secondary unit of measure on sale lines. The secondary quantity and unit +price are kept synchronized with the quantity and unit price. The secondary +unit is defined on the product with its factor against the sale unit.") + (license license:gpl3+))) + (define-public trytond-stock (package (name "trytond-stock") -- 2.30.2