İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
5826 Görünümler

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? 

Avatar
Vazgeç
Üretici

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

En İyi Yanıt

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

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
May 25
3010
1
Haz 23
2088
0
Ağu 16
3197
0
Nis 24
1437
2
Mar 24
3411