Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

Is there a way to create unseparable units of variable weight?

Odoberať

Get notified when there's activity on this post

This question has been flagged
configuration
2 Replies
1241 Zobrazenia
Avatar
PK

Hello odooers,

We produce some granulate and fill it into big bags that we want to track. We do not fill big bags exactly 1 ton, but 1.2 tons or 0.89 tons or something like that.

We only want to sell and ship whole big bags. If a customer orders 2 tons of this granulate, we take the first two big bags and ship them. If one big bag contains 1.2 tons and the other 1.11 tons, the customer receives 2.31 tons and is invoiced for these 2.31 tons.

I know three ways to track goods in odoo:

  • serial numbers - do not work because only 1 ton is accepted, variable weight is not allowed.
  • lot numbers - do not work either because odoo takes the exact amount ordered from lots; you can manually adjust the amount taken from a lot, but you must first check the available amount before entering the number which is very cumbersome
  • packages - same behavior as for lot numbers

Ideally, we would use lot numbers (or packages) and check the option "never separate lots", which is not available in odoo.

Is there any other solution for that?

0
Avatar
Zrušiť
Avatar
PK
Autor Best Answer

Hello Ray, thank you very much for the detailed solution description. During implementation, I unexpectedly got stuck when modifying the list view of the sub-form. Added columns do not appear when leaving studio:

The studio modification does not work for the sub form as well: The "Example" label remains invisible:

Any ideas, why this is happening for this particular list view?

0
Avatar
Zrušiť
Avatar
Ray Carnes (ray)
Best Answer

You can customize Odoo fairly easily to help manage this.

First, setup your product using a standard weight or volume Unit of Measure. In this example, we have a product Aggregate that we stock in tons. We sell 1 ton bags for $500 but the weight of each can be slightly more or less. 

By using Lots to represent a bag we can reflect each bag we have in Inventory and everyone knows roughly how many bags we have. Here we have three bags in stock, almost 3 tons:


We then sell 2 bags (2 tons) and during quoting our staff can see we have 2.98 tons in stock:


The Delivery Order associated with this Sales Order will automatically reserve all 3 lots because that's the way to get to exactly 2 tons:

You can see our customization here in the red box, a new field showing us the quantity of the Lot, and a button allowing us to replace the quantity Odoo reserves with the full quantity:


In this case, our user would simply delete the second lot and click the arrow to change the quantity of 0.05 to 1.03 (or use whatever other logic to adjust the reserved lot quantities to get close to 2 tons - in our case we get 1.99 and that's OK for us).


The Sales Order will now show we have delivered 1.99 tons and the Customer will be charged $995 when the Invoice is created.


We only needed three quick customizations:

1) a new field on the stock.move.line model (Lot Quantity)


2) a new Server Action to replace the quantity:

for stock_move_line in records:
    stock_move_line['quantity'] = stock_move_line.x_lot_qty


3) a new View to add both things to the popup view on the Delivery Order:

<field name="quantity" position="before">
    <field name="x_lot_qty"/>
    <button name="545" type="action" help="Replace Quantity" icon="fa-arrow-right" invisible="quantity == x_lot_qty"/>
</field>


Note that "545" here is the ID of the Server Action you created. 


You will probably also want to inherit and override stock.view_stock_move_line_detailed_operation_tree in addition to stock.view_stock_move_line_operation_tree (the one I have above) so the same feature is available via the List shown when clicking the Smart Button on the Delivery Order.


Note: this is a prototype, not necessarily a complete solution. If you don't have the technical skills to do this yourself, discuss your needs with an Odoo Partner or Odoo Digital Advisor. It has not been tested in all situations and may need further work before being useful for every scenario.

0
Avatar
Zrušiť
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrácia
Related Posts Replies Zobrazenia Aktivita
¿Cómo puedo hablar con una persona de Vueling?
configuration
Avatar
0
dec 25
3
how to add landed cost per product, such as adding Customs Tariffs fee on product and other products don't have Customs Tariffs??
configuration
Avatar
0
dec 25
45
Installation Odoo 17 Community
configuration
Avatar
Avatar
1
nov 25
1297
Multiple trading names under one legal entity
configuration
Avatar
0
nov 25
45
Odoo Lot Location Missing After Partial Stock Move
configuration
Avatar
0
nov 25
3
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now