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 098/154] gnu: Add trytond-purchase-secondary-unit.
Date: Fri, 17 Sep 2021 00:53:57 +0200
* gnu/packages/tryton.scm (trytond-purchase-secondary-unit): New variable.
---
 gnu/packages/tryton.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm
index a3c374e7c6..fb7a7aee53 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -2885,6 +2885,40 @@ typically is the purchasing department.  On approval, purchase requests will
 be created.")
     (license license:gpl3+)))
 
+(define-public trytond-purchase-secondary-unit
+  (package
+    (name "trytond-purchase-secondary-unit")
+    (version "6.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "trytond_purchase_secondary_unit" version))
+       (sha256
+        (base32 "0vyvdrshlikp9m3gxn1yyi15qxgih0cccxndr9d257fap9nilip5"))))
+    (build-system python-build-system)
+    (arguments (tryton-arguments "purchase_secondary_unit"))
+    (native-inputs
+     `(,@%standard-trytond-native-inputs
+       ("trytond-account-invoice-secondary-unit"
+        ,trytond-account-invoice-secondary-unit)
+       ("trytond-stock-secondary-unit" ,trytond-stock-secondary-unit)))
+    (propagated-inputs
+     `(("trytond" ,trytond)
+       ("trytond-account-invoice" ,trytond-account-invoice)
+       ("trytond-product" ,trytond-product)
+       ("trytond-purchase" ,trytond-purchase)
+       ("trytond-stock" ,trytond-stock)))
+    (home-page
+     "https://docs.tryton.org/projects/modules-purchase-secondary-unit")
+    (synopsis "Tryton module to add a secondary unit on purchase line")
+    (description "The @emph{Purchase Secondary Unit} Tryton module adds a
+secondary unit of measure on purchase lines.
+
+The secondary quantity and unit price are kept synchronized with the quantity
+and unit price.  The secondary unit is defined on the product supplier or on
+the product with its factor against the purchase 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.