Skip to main content

Manage sale of packaging

Project description

Alpha License: AGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runboat

This module provides different configuration option to manage packagings on sale orders.

The creation/update of sale order line will be blocked (by constraints) if the data on the sale.order.line does not fit with the configuration of the product’s packagings.

It’s also possible to force the quantity to sell during creation/modification of the sale order line if the “Force sale quantity” is ticked on the packaging.

For example, if your packaging is set to sell by 5 units and the employee fill the quantity with 3, the quantity will be automatically replaced by 5 (it always rounds up).

Table of contents

Configuration

Following options are available to define which packaging type can be sold and which product can only be sold by packaging.

  • Can be sold: On product packaging type model, this checkbox defines if product packagings from this particular type are available to be selected on sale order line.

  • Sell only by packaging: On product template model, this checkbox restricts sales of these products if no packaging is selected on the sale order line. If no packaging is selected, it will either be auto-assigned if the quantity on the sale order line matches a packaging quantity or an error will be raised.

  • Force sale quantity (on the packaging): force rounds up the quantity during creation/modification of the sale order line with the factor set on the packaging.

Known issues / Roadmap

  • Odoo allows to define product.packaging records with a qty = 0. This does not make much sense with the can_be_sold checkbox, and we probably need to add a constraint here.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Camptocamp

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/sale-workflow project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo14_addon_sale_by_packaging-14.0.2.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo14_addon_sale_by_packaging-14.0.2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a7cd244ff4d15c372e1970f842159a878f0585af8ee9bfe0bbea93869fd09645
MD5 f7e7b2712456a4ea83408a04c06a5d85
BLAKE2b-256 071702aa735dc4d15fbff6cb783b1970e6c0f97ae629491906b331308a73d03b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page