Subject: [bug#50628] [PATCH 081/154] gnu: Add trytond-product-price-list-parent.

From: Hartmut Goebel <[email-masked]>
Date: Fri, 17 Sep 2021 00:53:40 +0200

* gnu/packages/tryton.scm (trytond-product-price-list-parent): 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 2fe2d0a115..43fa374704 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -2374,6 +2374,30 @@ to compute prices per product or category.")
 date and end date conditions to the price list lines.")
     (license license:gpl3+)))
 
+(define-public trytond-product-price-list-parent
+  (package
+    (name "trytond-product-price-list-parent")
+    (version "6.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "trytond_product_price_list_parent" version))
+       (sha256
+        (base32 "15jdw9qj2fffml9x4vdlzp3iz5gs2l597hpf5y5p887mmx9aa8cn"))))
+    (build-system python-build-system)
+    (arguments (tryton-arguments "product_price_list_parent"))
+    (native-inputs `(,@%standard-trytond-native-inputs))
+    (propagated-inputs
+     `(("trytond" ,trytond)
+       ("trytond-product-price-list" ,trytond-product-price-list)))
+    (home-page
+     "https://docs.tryton.org/projects/modules-product-price-list-parent")
+    (synopsis "Tryton module to use price from another price list")
+    (description "The @emph{Product Price List Parent} Tryton module adds a
+parent to the price list and the keyword `parent_unit_price` for the formula
+which contains the unit price computed by the parent price list.")
+    (license license:gpl3+)))
+
 (define-public trytond-purchase
   (package
     (name "trytond-purchase")
-- 
2.30.2