Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
5824 Переглядів

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

Найкраща відповідь

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
трав. 25
3007
1
черв. 23
2087
0
серп. 16
3195
0
квіт. 24
1431
2
бер. 24
3409