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
    Real Estate
    • Real Estate Agency
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consulting
    • Accounting Firm
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Furnitures
    • Food
    • 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
    • Solar Energy Systems
    • Shoe Maker
    • Serveis de neteja
    • HVAC Services
    Others
    • 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 change the calendar culture

Subscriure's

Get notified when there's activity on this post

This question has been flagged
languagecalendardate
1 Respondre
8636 Vistes
Avatar
Omid Rezvani

I have installed openerp on my computer and I want to run it for a company which uses another calendar culture (instead of Georgian one)

How can I change the calendar cultue? I have written a code to convert the dates, I also changed some of the javascript files related to the web calendar but nothing changed (are they stored in the database? why openerp did not considered my changes on javascript and po files?)

0
Avatar
Descartar
Avatar
Laura Jarvenpaa
Best Answer

I have noticed that the calendar changes based on the locale code in language (we made a custom language file but because custom locale codes are not supported in OpenERP we had to use existing one so I just randomly picked up one but it's calendar was not right and when I changed the locale code to another, calendar changed to correspond the calendar on that location which was what we wanted) so if you want to change calendar without changing the language change the locale code. OpenERP seems to download date formats etc. somewhere online based on the locale code which also means that you can use locale codes for languages which doesn't have translations in OpenERP. However, note that if you put there locale code that is same as locale code for already existing language (e.g. en_US) it will overwrite that language file (happened to me when I changed locale code of our custom file into en_US so it overwrote language file for English).

1
Avatar
Descartar
Omid Rezvani
Autor

I want to change both the language and the date culture. I loaded a translation automatically, but the date didn't changed. Do you know why is that? Or do you know how to solve it?

Laura Jarvenpaa

I don't know why it didn't change for you, for me they changed based on the locale code so I would assume that if it doesn't change for your language they somehow get your language's calendar definition wrong from the place where they get them (which is if I have understood right from somewhere online). But as I don't know the details how and where they get the language information I can't help you with this.

Omid Rezvani
Autor

Laura, I checked the source code and have a little understanding of what's going on, if you are using another language culture and know a little programming, you can definitely help me solve this (by helping me compare what to change). Are you a developer of openerp or you just use it? My gmail id is 'orezvani' and I would really appreciate it if you could help me further

Laura Jarvenpaa

I'm just using openerp, I know some programming so I guess I can try to help you if you didn't solve this already it seemed that you have got some more advice elsewhere?

Omid Rezvani
Autor

I know that some of the date files are located in openerp/addons/web/static/lib/datejs/globalization But I don't know what should be changed to make the calendar work in another system. Can you check the java scripts related to your country (must be yourlanguagetag.js) and tell me what should I do?

Laura Jarvenpaa

This is my link to my language file: http://bazaar.launchpad.net/~openerp/openerp-web/saas-1/view/head:/addons/web/static/lib/datejs/globalization/fi-FI.js You can see also other language files here http://bazaar.launchpad.net/~openerp/openerp-web/saas-1/files/head:/addons/web/static/lib/datejs/globalization/

Omid Rezvani
Autor

This file contains information about the labels not the calendar conversions. BTW, I made changes on this file of my own language and nothing changed in the labels!

Omid Rezvani
Autor

You use Georgian calendar yes? I want to use Jalali (Solar) calendar.

Laura Jarvenpaa

Ah ok, I had misread your question sorry... This may be what you need https://www.openerp.com/apps/7.0/web_persian_calendar/

Omid Rezvani
Autor

Thanks for this module. But this module only changes the pop-up which is not completely what I want. I want to replace the solar date, wherever a date is demonstrated, For example filter items based on solar calendar, and other places.

mitra safari

hello @Omid Rezvani

I have the same problem. did you find any solution?

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
v17 schedule wrong date
calendar date
Avatar
0
de maig 24
2559
how to change the calendar format ?
calendar date
Avatar
Avatar
1
de març 15
5813
Is it possible to change the Date formats in Odoo? Solved
language date odoo
Avatar
Avatar
1
de nov. 23
2085
Date Widget Autocomplete in Odoo16
calendar date autocomplete
Avatar
Avatar
1
de juny 23
3526
How to change the Date/Calendar widget to support Solar Hijri calendar? Solved
system calendar date
Avatar
Avatar
Avatar
Avatar
14
de des. 23
19301
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