Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

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

Odebírat

Get notified when there's activity on this post

This question has been flagged
configuration
2 Odpovědi
1234 Zobrazení
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šit
Avatar
PK
Autor Nejlepší odpověď

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šit
Avatar
Ray Carnes (ray)
Nejlepší odpověď

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šit
Enjoying the discussion? Don't just read, join in!

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

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
¿Cómo puedo hablar con una persona de Vueling?
configuration
Avatar
0
pro 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
pro 25
45
Installation Odoo 17 Community
configuration
Avatar
Avatar
1
lis 25
1294
Multiple trading names under one legal entity
configuration
Avatar
0
lis 25
45
Odoo Lot Location Missing After Partial Stock Move
configuration
Avatar
0
lis 25
3
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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