Odoo Help


How to buy a product in units and sell in kilograms?

Kevin Peterson
on 5/22/18, 4:46 AM 455 views

I have a requirement where the product is purchased in units, and sold in kilograms. Example You buy 5 sack of rice (each of 100 kilograms), store it in inventory, and sell it in kilograms or grams, in retail.

How to encode this in odoo?

Cliff Kujala
On 6/14/18, 10:03 PM

It will not be possible for you to buy in UOM Category (Unit) and sell in UOM Category (Weight).  To accomplish what you are trying, you will need to add some extra UOMs to the Weight category.  For instance, if you buy by the 100kg sack, you could add a SACK100KG as a UOM in the Weight category. 

  • Create new UOM with category Weight

  • Set the type to "Bigger than the reference Unit of Measure" 

  • Set the ratio to "100"

  • Choose a reasonable rounding ratio

  • Make Active

Now just purchase your product by the SACK100KG UOM, and you will be receiving 100kg of product for each 1 you receive.

The numbers above assume you still have Kg as the reference measure for Weight category (this is the Odoo default)

Hope that helps.


Aktiv software

--Aktiv software--
| 5 2 7
Ahmedabad, India
--Aktiv software--

 Aktiv software

  • Skype : shah.jainesh

  • email : Sales@Aktivsoftware.com

Aktiv software
On 5/22/18, 5:51 AM

Hello Kevin,


This documentation will help you to configure multiple UOM.


As far as I understand. you can purchase and sell in different uom. Provided the condition that the uom belong to the same uom category. My actual question was if it was possible to buy in one uom category(units in my example), and sell in another uom category(kg in my example). I think it's impossible without custom coding. Is it possible using packs??

Kevin Peterson
on 5/22/18, 6:25 AM

Yes, it is doable without customization, by enabling an option, You have to create new UOM and adjust the ratio. or use existing one.

and go to product and set their sale and purchase UOM as per your need.

Once you will create so it will take different UOM and for PO it will use different UOM.

Aktiv software
on 5/22/18, 6:49 AM

Cybrosys Technologies

--Cybrosys Technologies--
| 6 4 8
Calicut, India
--Cybrosys Technologies--

Cybrosys Technologies is a private limited ISO certified company in Technology and Software Engineering sector. We serve as one of the best and trusted Odoo official partner, providing ultimate Customization and Implementation services in Odoo ERP. A frequent contributor to Odoo Apps, our customized free apps are downloaded by more than one lakh users. Most of our apps augment the potentialities of Odoo and are trending in the Odoo app store.

Cybrosys keeps privilege to be one among the finest Odoo Official Partners with 200+ free apps contribution towards the Odoo community. Cybrosys also stands number one in Odoo-social Media Integration empowering every kind of business solutions.

We are also enriched with highly skilled UI/UX technical experts for Developing, Implementing and Designing, thereby providing ultimate benefit to our customer base.

Today Cybrosys has reached par excellent in Odoo Implementation and allied services, proving its credibility and reliability. Our proven services are used by customers sprawling across 160+ countries including Middle East, African continents, UK, Germany, Spain, Thailand, Hong Kong, New Zealand, Australia, Malaysia, Singapore, Egypt etc.

We are rapidly expanding our base with robust quality management and business process re-engineering to meet the ultimate customer desire.

To know more about Cybrosys Technologies and our Odoo Apps, Kindly visit:

Cybrosys Technologies 

Odoo Apps 

And inbox us your queries to odoo@cybrosys.com

Cybrosys Technologies
On 5/22/18, 4:54 AM


Go to Settings of the sale and activate the option: Some products may be sold/purchased in different units of measure (advanced).

Then you can achieve the thing that you are looking for.  Also, have a look at the doc provided by the Odoo : https://www.odoo.com/documentation/user/10.0/inventory/settings/products/uom.html


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 5/22/18, 4:46 AM
Seen: 455 times
Last updated: 6/15/18, 2:19 AM