Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
5829 มุมมอง

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
3012
1
มิ.ย. 23
2088
0
ส.ค. 16
3201
0
เม.ย. 24
1439
2
มี.ค. 24
3415