跳至內容
選單
此問題已被標幟
1 回覆
5825 瀏覽次數

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
5月 25
3008
1
6月 23
2087
0
8月 16
3195
0
4月 24
1432
2
3月 24
3409