GNU bug report logs - #50628
[PATCH 000/154] Add 146 Tryton modules and some dependencies

Previous Next

Package: guix-patches;

Reported by: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Date: Thu, 16 Sep 2021 22:54:01 UTC

Severity: normal

Tags: patch

Done: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: 50628 <at> debbugs.gnu.org
Subject: [bug#50628] [PATCH 116/154] gnu: Add trytond-sale-secondary-unit.
Date: Fri, 17 Sep 2021 00:54:15 +0200
* 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





This bug report was last modified 3 years and 237 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.