Per product UOMby Nick Ross (CTC corp) - nick (at) theserverexpert (dot) com https://github.com/nicknomo/local_addons_odoo
Inventory Management (stock)
• Sales (sale)
• Purchase Management (purchase)
• Invoicing (account)
|License||See License tab|
# Per Product UOM
This module will allow you to create a Unit of Measure class per product.
electronic mail: nick (at) theserverexpert (dot) com website: https://github.com/nicknomo/local_addons_odoo
Please ensure you've configured a location for Odoo to locally load apps. Copy this folder into there. Go to your odoo web interface, and go into the Apps tab. Click on "Update module list". Then search for "Per Product UoM" within your App list, and then install.
You must be using Odoo v10 or possibly higher. This module is only confirmed with v10. It will most likely not work with earlier versions, due to changes in the Odoo menu system.
The intention of this module is to help you reuse similarly named units of measure in an organized way. Using this module, you can create a units of measure assign it to a UoM class. You can then assign this class to a product. This is useful if 1 box of Product A is 4 LB, but 1 box of product B is 20 LB. As long as product A and Product B are assigned a different UoM class, they may use the same unit of measure names, but the correct box to LB conversions can be maintained.
Your first step is to enable different units of measure in Odoo. Go into Inventory->settings. Go to the "Products" section of the page, and choose the option "Some products may be sold/purchased in different units of measure (advanced)"
After this is done, you must first enter the "Per Product Mod" tab. Click on the menu seletion for "Product UOM Class". You must then create a Product UOM Class. At this point, only a name is required. This class will later be assigned to a Product. The product will then be restricted to UoM's within that class/category. Units of measure must be unique to that UoM class.
After the class is created, you must select the menu entry for "Local UOM Entries". Here, you create a unit of measure and assign it to a UOM class. You can create multiple units of measure and assign them to a class.
After the UoM class, and units of measure are assigned to it, you can edit a product and assign this UoM class to the product. The sale and purchasing UoM can then be selected from this UoM class. If multiple products use the same units of measure, this class can be assigned to other those other products as well.
# Known Issues
An issue with Odoo prevents this module from properly removing this modules data. If you intend to uninstall this module, I recommend you delete all UoM Classes first. If this is not done, and you reinstall the module, then you will not be able to create records for any objects that were in the database before the module was removed.
#'license': 'Creative Commons: Attribution-NonCommercial-ShareAlike 4.0 International', # Clarification of NonCommercial: Commercial entities may use this module in Odoo for generating profit, # as long as they do not redistribute it. It cannot be resold, or repackaged in any way. It cannot be # provided as part of a software as a service, nor can it be included in any publicly distributed Odoo builds. # If you wish to include this module in an Odoo package, distribution or SaaS deployment, please contact me first. # Depending on the usage, I may license it cheaply or for no cost. # All entities using their own instance of Odoo, in the course of their business, are free to use this product
Please log in to comment on this module
- The author can leave a single reply to each comment.
- This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
- If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.