guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

123/154: gnu: Add trytond-sale-supply.


From: guix-commits
Subject: 123/154: gnu: Add trytond-sale-supply.
Date: Tue, 21 Sep 2021 15:08:00 -0400 (EDT)

htgoebel pushed a commit to branch master
in repository guix.

commit e18b43ae38b90cb63be228886289eda24da00965
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Fri Aug 27 15:09:46 2021 +0200

    gnu: Add trytond-sale-supply.
    
    * gnu/packages/tryton.scm (trytond-sale-supply): New variable.
---
 gnu/packages/tryton.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm
index cce5be4..4117c92 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -3585,6 +3585,35 @@ services and recurrence rule models.")
 notion of asset to the sale subscription module.")
     (license license:gpl3+)))
 
+(define-public trytond-sale-supply
+  (package
+    (name "trytond-sale-supply")
+    (version "6.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "trytond_sale_supply" version))
+       (sha256
+        (base32 "0lk4pj2fr1q603wnia96i7fzym8pncpvy0hg41q4dkr380nm3qzs"))))
+    (build-system python-build-system)
+    (arguments (tryton-arguments "sale_supply"))
+    (native-inputs `(,@%standard-trytond-native-inputs))
+    (propagated-inputs
+     `(("trytond" ,trytond)
+       ("trytond-purchase" ,trytond-purchase)
+       ("trytond-purchase-request" ,trytond-purchase-request)
+       ("trytond-sale" ,trytond-sale)
+       ("trytond-stock" ,trytond-stock)))
+    (home-page "https://docs.tryton.org/projects/modules-sale-supply";)
+    (synopsis "Tryton module for sale supply")
+    (description "The @emph{Sale Supply} Tryton module adds a \"supply on sale
+option\" to purchasable products.  If checked, it will generate a purchase
+request for each sale line of this product regardless of the stock levels.
+Once the purchased products are received they are assigned on the customer
+shipments.  If the purchase is cancelled the sale goes back to the default
+supply method.")
+    (license license:gpl3+)))
+
 (define-public trytond-stock
   (package
     (name "trytond-stock")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]