Odoo Help


How to set a specific date in Order creation?

Andrés Reyes Monge
on 7/2/15, 2:34 PM 833 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)--

| 6 5 6
Baroda, 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

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


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