Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5834 Lượt xem

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? 

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Câu trả lời hay nhấ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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 5 25
3015
1
thg 6 23
2089
0
thg 8 16
3205
0
thg 4 24
1442
2
thg 3 24
3417