summary refs log tree commit diff
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2021-08-27 15:09:36 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2021-09-21 21:00:31 +0200
commit511c5fe65870c2231bf8c6c7dce179b6692fe6f2 (patch)
tree9164e9d7763eb39495eb9cb12a1cd80b503256c7
parent01e5dc52f7fef06b1e58114fc1d4d2eb3b71529a (diff)
downloadguix-511c5fe65870c2231bf8c6c7dce179b6692fe6f2.tar.gz
gnu: Add trytond-sale-advance-payment.
* gnu/packages/tryton.scm (trytond-sale-advance-payment): New variable.
-rw-r--r--gnu/packages/tryton.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm
index c8dc31489b..53b2ece72e 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -3003,6 +3003,34 @@ creation of customer shipments and invoices for the sales, and allows reports
 to be generated that contain aggregated sales figures.")
     (license license:gpl3+)))
 
+(define-public trytond-sale-advance-payment
+  (package
+    (name "trytond-sale-advance-payment")
+    (version "6.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "trytond_sale_advance_payment" version))
+       (sha256
+        (base32 "1h7jjh0ddfhk8b2rlmizlv5x31k14zz0xccm846kc4idvcsaqcy4"))))
+    (build-system python-build-system)
+    (arguments (tryton-arguments "sale_advance_payment"))
+    (native-inputs
+     `(,@%standard-trytond-native-inputs
+       ("trytond-sale-supply" ,trytond-sale-supply)))
+    (propagated-inputs
+     `(("python-simpleeval" ,python-simpleeval)
+       ("trytond" ,trytond)
+       ("trytond-account" ,trytond-account)
+       ("trytond-account-invoice" ,trytond-account-invoice)
+       ("trytond-sale" ,trytond-sale)))
+    (home-page
+     "https://docs.tryton.org/projects/modules-sale-advance-payment")
+    (synopsis "Tryton module for sale advance payment")
+    (description "The @emph{Sale Advance Payment} Tryton module adds support
+for advance payment management on the sale.")
+    (license license:gpl3+)))
+
 (define-public trytond-stock
   (package
     (name "trytond-stock")