Odoo Help


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.


How to set a specific date in Order creation?

Andrés Reyes Monge
on 7/2/15, 2:34 PM 435 views

I've been using a manual system to handle my restaurant and now i want to import all that data into Odoo POS. Is there a way to select the Order date when creating them? 

@ankit gandhi, just to be clear, we're talking about creating a custom model that overrides the create_date field to make it editable??

Andrés Reyes Monge
on 7/2/15, 4:56 PM

Ankit H Gandhi(AHG)

--Ankit H Gandhi(AHG)--
| 5 3 6
Gandhinagar, India
--Ankit H Gandhi(AHG)--

Learning Python..

Ankit H Gandhi(AHG)
On 7/2/15, 4:53 PM

Dear Andres,

I think you can use create_date field.

That field by default in odoo framework so you can access that field

I think you should first create that field  .py file


'create_date': fields.datetime('Order Date')

and after use in .XML file


<field name="create_date" />

Hope this useful for you.

Thanks & Regards

Ankit H Gandhi

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)


Asked: 7/2/15, 2:34 PM
Seen: 435 times
Last updated: 7/2/15, 4:56 PM