Skip to main content

Make 'To Weight' default value depending on product UoM settings

Project description

Beta License: AGPL-3 OCA/pos Translate me on Weblate Try me on Runbot

At the moment, when we create a new product and choose the unity of measure kg, we have to tick the checkbox ‘To Weigh With Scale’ in the Point of Sale part.

We want to speed the process of creating a new product, avoiding filling manually this parameter.

This module adds the field ‘To weigh’ in UOM categories (set to false by default).

Categories of unities of measure

This field affects every unities contained in this category.

Unities of measure with field 'To weigh'

AND it is linked with the parameter to_weight in product.template used for example in the Point of Sale app.

Change the field 'to weigh' for every product
  • You CAN’T change ‘To weigh’ for one UOM → You have to change in Category and affect all UOM of this category.
Can't change the field 'to weigh' for one unity of measure

Table of contents


  • active settings “Allow using different units of measure” in Settings > Configuration > Sales > Quotations and Sales Orders > Product Features
  • During the creation of a category, tick the box ‘To weigh’.
Change the field 'To weigh' for every category
  • You can set every product existing with the new ‘To weigh’ parameter
Set 'to weigh' in each product of this category


You’re able to change this field for a specific product (in tab Sales).

Change the field 'to weigh' for a specific

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.



  • GRAP


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.

Current maintainer:


This module is part of the OCA/pos project on GitHub.

You are welcome to contribute. To learn how please visit

Project details

Download files

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

Files for odoo12-addon-pos-to-weight-by-product-uom, version
Filename, size File type Python version Upload date Hashes
Filename, size odoo12_addon_pos_to_weight_by_product_uom- (614.5 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page