summaryrefslogtreecommitdiff
path: root/addons/note/static
diff options
context:
space:
mode:
authorPierre Masereel <pim@odoo.com>2018-01-08 16:25:09 +0100
committerSimon Lejeune <sle@openerp.com>2018-01-29 15:20:56 +0100
commit52a85e57b9a6353c14abdbcd7e04d34214f151f5 (patch)
tree200c6422ae7f62ab388cbeff879a542abf8ed3b1 /addons/note/static
parent951cb8bf405f174206ff777d28220c6ffa902937 (diff)
[IMP] stock: configurable product's weight UOM
This commit adds the possibility to chose between pounds and kilograms to express the weight field on the product. This is done so that companies that worked internally in pounds do not have to convert their weights back to kilograms for a consistent computation of the rates in delivery. We complete the general settings with the selection of the weight's uom. Validating the setting will create an ir.config.parameter. A static method defined on product template will return the chosen UOM. We display "weight_uom_name" on the form view so that the UOM is not clickable/editable because we fear user would want to edit the UOM instead of changing it in the res config. We move the view definition allowing to fill the product's weight from stock to product to help the generation of the intrastat report without installing inventory.
Diffstat (limited to 'addons/note/static')
0 files changed, 0 insertions, 0 deletions