Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Social media Marketing
    • E-mailmarketing
    • SMS Marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Goedkeuringen
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelzaak
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Food & Hospitality
    • Bar en Pub
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Browse all Industries
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijs- programma
    • Scale Up! Business Game
    • Bezoek Odoo
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Word een Partner
    • Services for Partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help

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

  • CRM
  • e-Commerce
  • Boekhouding
  • Voorraad
  • PoS
  • Project
  • MRP
All apps
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

Odoo 13: Post Inventory valuation in past dates

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
dateinventoryOdoo13.0
3 Antwoorden
7893 Weergaven
Avatar
Pooja

Hello,


I am using Odoo v13 enterprise and my inventory configuration is - FIFO, Automated.

I am importing sales orders and delivery orders from a different system into Odoo.

When importing SO and DO i am setting date same as in other system also accounting entries are generated with same date as of DO but valuation entry(stock valuation layer) is generated with the current datetime when creating record as stock.valuation.layer is using create_date as date.

I tried to pass context from delivery order and verified it in create and write but it didn't worked. Can we change this date somehow to match actual delivery date instead current datetime. 


Thanks,

0
Avatar
Annuleer
Avatar
Maurice Moretti
Beste antwoord

Hello Ray,

most of the times in big warehouses it takes days to perform the end of year inventory

therefore the inventory will not be posted in Odoo until Jan 3 or 4 but there is nos possibility (as far as I know) in Odoo to post the inventory on Jan 3 with a date of Dec 31.

@Ray

This is a lack of a basic and needded functionnality

regards

Maurice

1
Avatar
Annuleer
Avatar
Tomaz Jug
Beste antwoord

In previews Odoo versions the Stock valuation report was reading the value data from accounting entries, which is the most appropriate way of doing it, so we don't have differences between Stock value and Accounting entries.

Since v13 there seems to be a change in this behavior, so now we are getting the data from the Stock Valuation Layer, which is inconsistent with the accounting entry. So even if you can post a Stock adjustment at a different date, this date is not taken into consideration in the stock Valuation. This is a real issue and as far as I can tell this hasn't been done properly even on Odoo v15 ( where there are several more changes in the way we do stock adjustments ).

It is true that changing just one date in one table is not the solution and can lead to data issues, so this is really not advisable.

So I guess the only way to do it properly is via an additional module, which would either change the behavior of the Stock Adjustment or change the way the Stock valuation report works. None of these options is really easy.

0
Avatar
Annuleer
Avatar
Henry Paco Delgadillo
Beste antwoord

 I solved it with a query to the base:
parameters= []
parameters.append(parameters_date) # date to date
parameters.append(id_stock_valuation_layer) # object id

self.env.cr.execute("UPDATE public.stock_valuation_layer SET create_date=%s WHERE id=%s ",(parameters))

the date must be type datetime!!



0
Avatar
Annuleer
Ray Carnes (ray)

We don't recommend this. There is relationship between several different models that is maintained when moving inventory. Stock Moves, Product Moves, Stock Quants, Journal Entries AND the Stock Valuation Layer are all used together and changing the dates of ONE will lead to data inconsistency and potentially unpredictable behavior from Odoo (specifically how the Inventory Report, Inventory Valuation and Balance Sheet will report the value of Inventory over different periods of time). It is non trivial to manage back dated inventory with the Odoo schema.

Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
Part Numbers with Vairents embedded into the Part Number
inventory Odoo13.0
Avatar
0
jan. 23
3444
Split reservation across multiple warehouses
inventory Odoo13.0
Avatar
0
jan. 21
2383
Get the count of received (purchase) and delivered (sold) qty in the product form header
stock inventory Odoo13.0
Avatar
Avatar
1
jun. 25
4358
psycopg2.OperationalError: could not obtain lock on row in relation "ir_sequence_date_range"
inventory transfer Odoo13.0
Avatar
Avatar
1
sep. 24
4825
Need explaination for the three inventory accounts
accounts inventory Odoo13.0
Avatar
Avatar
1
nov. 22
2845
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Word een Partner
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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