Search 1.1 billion lines of Odoo code on GitHub


Author: Camptocamp, Odoo Community Association (OCA)
License: AGPL-3
Branch: 13.0
Repository: Change2improve/sale-workflow
Dependencies: product, product_packaging_type, sale_order_line_packaging_qty, and sale_stock
Languages: HTML (361, 36.5%), PO File (87, 8.8%), Python (399, 40.3%), XML (80, 8.1%), and reStructuredText (63, 6.4%)
Other repositories: Digital5-Odoo/sale-workflow, NeatNerdPrime/sale-workflow, OCA/sale-workflow, SeuMarco/sale-workflow, TDu/sale-workflow, TRESCLOUD/sale-workflow, Tecnativa/sale-workflow, WilldooIT-Private/sale-workflow, acsone/sale-workflow, adhoc-dev/sale-workflow, andreampiovesana/sale-workflow, anhvu-sg/sale-workflow, antilhue/sale-workflow, brain-tec/sale-workflow, camptocamp/sale-workflow, digitalsatori/sale-workflow, ecosoft-odoo/sale-workflow, grindtildeath/sale-workflow, jimhoefnagels/sale-workflow, legalsylvain/sale-workflow, mmequignon/sale-workflow, samsagaz/sale-workflow, simahawk/sale-workflow, sygel-technology/sale-workflow, and victoralmau/sale-workflow

Sale By Packaging

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

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


This is an alpha version, the data model and design can change at any time without warning. Only for development or testing purpose, do not use in production. More details on development status

Table of contents


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.

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 smashing it by providing a detailed and welcomed feedback.

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



  • Camptocamp



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