Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
5847 Visninger

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
Kassér
Forfatter

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

Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
maj 25
3021
1
jun. 23
2094
0
aug. 16
3210
0
apr. 24
1446
2
mar. 24
3425