Subject: [PATCH 095/154] gnu: Add trytond-purchase-price-list.

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

* gnu/packages/tryton.scm (trytond-purchase-price-list): New variable.
---
 gnu/packages/tryton.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm
index 831681a7ca..5d8bd3b89f 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -2767,6 +2767,32 @@ time the purchase is reset to draft.")
 makes purchase to generate invoice lines instead of invoices.")
     (license license:gpl3+)))
 
+(define-public trytond-purchase-price-list
+  (package
+    (name "trytond-purchase-price-list")
+    (version "6.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "trytond_purchase_price_list" version))
+       (sha256
+        (base32 "0y54b677dy1jpmclgxvbzs2zsypzkyvmdbx1i58j16hs24l8h0c8"))))
+    (build-system python-build-system)
+    (arguments (tryton-arguments "purchase_price_list"))
+    (native-inputs `(,@%standard-trytond-native-inputs))
+    (propagated-inputs
+     `(("trytond" ,trytond)
+       ("trytond-account" ,trytond-account)
+       ("trytond-company" ,trytond-company)
+       ("trytond-party" ,trytond-party)
+       ("trytond-product-price-list" ,trytond-product-price-list)
+       ("trytond-purchase" ,trytond-purchase)))
+    (home-page "https://docs.tryton.org/projects/modules-purchase-price-list")
+    (synopsis "Tryton module to add price list on purchase")
+    (description "The @emph{Purchase Price List} Tryton Module allows price
+lists to be defined for suppliers.")
+    (license license:gpl3+)))
+
 (define-public trytond-purchase-request
   (package
     (name "trytond-purchase-request")
-- 
2.30.2