Sale Stock Line Customer Reference
by Camptocamp https://github.com/OCA/sale-workflow , Odoo Community Association (OCA) https://github.com/OCA/sale-workflowAvailability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) • Inventory (stock) |
Lines of code | 272 |
Technical Name |
sale_stock_line_customer_ref |
License | AGPL-3 |
Website | https://github.com/OCA/sale-workflow |
Versions | 14.0 18.0 |
Sale Stock Line Customer Reference
This module allows you to add a customer reference on a sale order line. Lines sharing the same product but different customer references won’t be merged together in stock transfers.
Table of contents
Usage
By default the customer reference field is not displayed on the sale order form, you have to enable it in the list of optional fields.
We want the customer ref on the package because the label should be printed from there (like all other kind of existing labels). As we can’t get the right stock.move.line/stock.move easily from the package it is easier to store the Customer Ref. of the move/move_line on the package when this one is assigned to the move line. Also, a (destination) package could contain different products (so different moves), and these moves could have different Customer Ref., all of them will be concatened in the package => “, “.join(customer_ref_of_all_moves_link_to_this_package)
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
- Sébastien Alix <sebastien.alix@camptocamp.com>
- Simone Orsi <simone.orsi@camptocamp.com>
- Do Anh Duy <duyda@trobz.com>
Other credits
The migration of this module from 14.0 to 18.0 was financially supported by Camptocamp.
Maintainers
This module is maintained by the OCA.

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.
Current maintainer:
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.
Please log in to comment on this module