Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8777195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T19:13:36+00:00 2026-06-13T19:13:36+00:00

I am wondering why OpenERP’s date and datetime fields are limited with years? If

  • 0

I am wondering why OpenERP’s date and datetime fields are limited with years?

If I click on year tab to select a year, it shows only 21 years in one go. if I want to select an older year, I am forced to select one older year from the list then it will open next 21 years list for me. It is annoying me.

Is there a way to increase the limit of years so that it is possible to scroll at least into a good range of years like 1950,2020 in one go?

I think I will have to play with javascript but don’t know how. Can someone help me out ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T19:13:38+00:00Added an answer on June 13, 2026 at 7:13 pm

    Right I understand your point here, but this is form jquery lib dattime picker yearrange is -10 abd +10 bydefault, But yes for you can increasr to limit you want I have given patch below for the trunk smiler thing als can be done it 6.1 OpenERP

    === modified file 'addons/web/static/src/js/view_form.js'
    --- addons/web/static/src/js/view_form.js   2012-10-31 15:03:24 +0000
    +++ addons/web/static/src/js/view_form.js   2012-11-02 05:08:29 +0000
    @@ -2328,7 +2328,8 @@
                 changeYear: true,
                 showWeek: true,
                 showButtonPanel: true,
    -            firstDay: Date.CultureInfo.firstDayOfWeek
    +            firstDay: Date.CultureInfo.firstDayOfWeek,
    +            yearRange:"c-30:c+30"
             });
             this.$el.find('img.oe_datepicker_trigger').click(function() {
                 if (self.get("effective_readonly") || self.picker('widget').is(':visible')) {
    

    Here you can see to crease the Year range -30 will allow you increase previous year range and +30 will increase upcoming year range. This are lib config can be over rideen anytime.

    Thank You.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Wondering why it doesn't load on one click, but on two.................................................................? <input id=btnPaymentAdd type=button
Wondering if Riak has anything that would help one synchronize data between a mobile
Wondering what the best / good way of doing this would be in jQuery.
Wondering if any of you can help me: I've made a signup modal that
Wondering if someone could please explain the difference between these two queries and advise
Wondering if someone could help me. I have next to no knowledge with Ajax,
Wondering what I'm missing here. Relatively new to C and iOS development, so please
Wondering if there is any way to get the lambda expressions that result from
Wondering what is the best or most popular database client tool. Similar to Microsoft's
Wondering if anyone can suggest a good file replication tool that will replicate across

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.