Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

How to automatically create additionnal account move lines to a stock move?

Subscriure's

Get notified when there's activity on this post

This question has been flagged
stockinventorylocationtypevaluation
1 Respondre
8347 Vistes
Avatar
Pascal Tremblay

hello there,

We are on a problem since many days.

We are in a "real-time (automated)" stock management for all our products.

We have set a virtual location with location name = "gift to customer" and location type = Inventory.

Stock valuation account (incoming and outgoing) for this location is set to the charge account "5.2.200.3 - gift to customer"

So, when we make an internal transfert from "stock" location to "gift to customer" location, we get this journal entry :

    114006 - stock valuation : 100 (CT)

    5.2.200.3 - gift to customer : 100 (DT)


But it is not enough for us. This internal transfert should bring these journal entry :

    114006 - stock valuation : 100 (CT)

    5.2.200.3 - gift to customer : 100 (DT)

    114004 - stock output : 100 (DT)

    411000 - Inside Sales (CT)


Questions

How to add lines automatically to an account move already created by a stock move?

How could we proceed to manage this?

Should we use an existing module? Which module?

Should we create our own module?


Could you please help

Thanks!


EDIT #1

An other way to make what we want should be this way...

Actually, we could make a delivery order. Journal items created by this stock move would be :

    114006 - stock valuation : 100 (CT)

    114004 - stock output : 100 (DT)
 

But it is not enough for us. This delivery order should bring these journal entry. The result should be exactly the same than above :

    114006 - stock valuation : 100 (CT)

    114004 - stock output : 100 (DT)

    5.2.200.3 - gift to customer : 100 (DT)

    411000 - Inside Sales (CT)


0
Avatar
Descartar
Avatar
Pascal Tremblay
Autor Best Answer

Here is our solution.

We have created a new module who override the existing stock_account module.

Two new fields are created on the virtual location of type "inventory".

These two new fields contain a debit and a credit account.

The new module add two lines in the account move associated to an internal transfert.

OUr code : https://github.com/lapagept/odoo-8/tree/master/virtual_location_inventory_account_move_lapagept

0
Avatar
Descartar
Enjoying the discussion? Don't just read, join in!

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

Registrar-se
Related Posts Respostes Vistes Activitat
What's the difference between inventory on hand and future inventory? Solved
stock inventory valuation
Avatar
1
de nov. 24
24065
Account Stock Properties Stock Valuation
stock inventory valuation
Avatar
Avatar
Avatar
3
de gen. 18
15634
How to Allow Backdated Inventory Transactions with Real-Time Valuation?
stock manufacturing inventory valuation
Avatar
Avatar
Avatar
2
d’oct. 25
1103
Stock valuation: Average Costing uses Sales Price instead of Purchase Cost
stock inventory stockvaluation valuation
Avatar
Avatar
Avatar
2
d’oct. 25
1019
How to edit an inventory adjustment
stock inventory stockvaluation valuation
Avatar
0
de febr. 20
4255
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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