gnu: Add trytond-sale-supply-production.

* gnu/packages/tryton.scm (trytond-sale-supply-production): New variable.
This commit is contained in:
Hartmut Goebel 2021-08-27 15:09:47 +02:00
parent 00a8129803
commit 6aa1127f88
No known key found for this signature in database
GPG key ID: 634A8DFFD3F631DF

View file

@ -3646,6 +3646,34 @@ (define-public trytond-sale-supply-drop-shipment
shipment is created and linked to both the purchase and the sale.")
(license license:gpl3+)))
(define-public trytond-sale-supply-production
(package
(name "trytond-sale-supply-production")
(version "6.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "trytond_sale_supply_production" version))
(sha256
(base32 "03v702r4sfmql5yv6414gi2y72psvr3zq3xmx049w5nsywc2585v"))))
(build-system python-build-system)
(arguments (tryton-arguments "sale_supply_production"))
(native-inputs `(,@%standard-trytond-native-inputs))
(propagated-inputs
`(("trytond" ,trytond)
("trytond-production" ,trytond-production)
("trytond-sale-supply" ,trytond-sale-supply)))
(home-page
"https://docs.tryton.org/projects/modules-sale-supply-production")
(synopsis "Tryton module to supply sales from production")
(description "The @emph{Sale Supply Production} Tryton module adds a
\"supply on sale\" option to producible products. If checked, it will
generate a production request for each sale line of this product regardless of
the stock levels. Once the products are produced they are assigned to the
customer shipments. If the production request is cancelled, the sale goes
back to the default supply method.")
(license license:gpl3+)))
(define-public trytond-stock
(package
(name "trytond-stock")