Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Order date in Purchase Order form not picking up current date and time

By
Keenmeng Lew
on 3/6/16, 11:51 PM 722 views

Hi,


Following the sequence Purchase > Purchase Orders > Create, the Order Date field keeps defaulting to "03/06/2016 16:46:53".  Is this date and time significant?  I am expecting this field to default to the current server date and time.


Any thoughts?


Cheers!

km

Hi John,

Apparently I don’t have enough points to respond to you via the forum.  :(

So, I logged in to Odoo today after reading your response and discovered it is picking another default date and time.  Apparently, it picks up the time I started my Odoo stack.  I am running on a Bitnami Odoo 9 stack on Mac OS X.  How are you running yours?

I tried your suggestion but I didn’t have any defaults for Order Date in Settings > Technical > Actions > User Defined Defaults.  I created a new default and then removed it but subsequent Purchase Orders created defaulted back to my server start-up time instead.  The workaround is deleting the order date and then clicking on the field again which will populate it with the current date and time.

I’m going to raised this in the Bitnami forum as well to see if they have any ideas.

I hope this reaches you and if I have any other information, I would definitely send them across to you.

Cheers!
km


On Mar 7, 2016, at 18:48, John Peverall <john-dolan-bikes.com@mail.odoo.com> wrote:

A new answer on Order date in Purchase Order form not picking up current date and time has been posted. Click here to access the post :

See post

--
John Peverall

Sent by Odoo Inc. using Odoo

Keenmeng Lew
on 3/8/16, 7:25 AM
1
John Peverall
On 3/7/16, 6:48 AM

Picking up on your reply to my post https://www.odoo.com/es_ES/forum/ayuda-1/question/odoo-9-how-set-default-order-date-value-98420 we both have the same problem in that somehow we have set the date in question as a user defined default (normally only possible while in developer mode?)

I have a partial resolution go to Settings > Technical > Actions > User Defined Defaults there is a date_order field if you edit this and clear default value when follow sequence Purchase > Purchase Orders > Create the date will now come up blank.

I do not know the setting to default to current date and if you delete order_date then the system crashes on  Purchase > Purchase Orders > Create

If you find out anymore let me know on my question.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 3/6/16, 11:51 PM
Seen: 722 times
Last updated: 3/14/16, 9:55 AM