Skip to main content

Sale Promotion

The sale_promotion module allows to apply promotions on sale based on criteria.

The promotion is applied by changing the unit price of the affected lines when the sale goes into quotation but the unit price is restored when going back to draft.

Sale Promotion

Each matching Sale Promotion is considered for application but only those who reduces the unit price of the lines are really applied. The criteria are the fields:

  • Company: The company should be the same as the sale.

  • Price List: The sale price list.

  • Start Date/End Date: The period for which the promotion is valid.

  • Amount: The amount of the sale.

  • Quantity: The sum quantity of the sale lines which have the same Unit.

  • Products: The list of products to apply the promotion.

  • Categories: The list of product categories to apply the promotion.

The new unit price is computed by the field Formula.

Metadata

Release files for trytond-sale-promotion 8.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trytond-sale-promotion 8.2.0
File Size Uploaded Provenance Actions
trytond_sale_promotion-8.2.0.tar.gz 28.1 kB Without provenance Details for trytond_sale_promotion-8.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for trytond-sale-promotion 8.2.0
File Interpreter ABI Platform Actions
trytond_sale_promotion-8.2.0-py3-none-any.whl Python 3 none any Details for trytond_sale_promotion-8.2.0-py3-none-any.whl

Total release size: 82.2 kB

Release files / trytond_sale_promotion-8.2.0.tar.gz

Download URL trytond_sale_promotion-8.2.0.tar.gz
Size 28.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0bd152f4d5dd48cbc9b0e220116b951f342500c828aa50dd2d70cc5b36a69b20
BLAKE2b-256 checksum
How to use checksums
97d4bd533bf1e39ad012dc2a78cb577c0fbde23ad78bf26142dbd7f21ffe38da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / trytond_sale_promotion-8.2.0-py3-none-any.whl

Download URL trytond_sale_promotion-8.2.0-py3-none-any.whl
Size 54.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd1c2a9dd5b7c8834086f577d36bc01cff7bc97918f8e7459c6c89268eaa46b8
BLAKE2b-256 checksum
How to use checksums
c00c54a469ccf7b59ca5ea84eb79c940239773a86b67dc8d5a7578b0fe3fe05f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for trytond-sale-promotion 8.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

8.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page