Odoo Help

0

How to set a specific date in Order creation?

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

Ankit H Gandhi(AHG)

--Ankit H Gandhi(AHG)--
1131
| 5 4 6
Rajkot, 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

Like

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

and after use in .XML file

Like

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

Register

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)

Stats

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