تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
5821 أدوات العرض

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مايو 25
3007
1
يونيو 23
2083
0
أغسطس 16
3194
0
أبريل 24
1429
2
مارس 24
3408