Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
5839 Weergaven

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
Annuleer
Auteur

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

Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
mei 25
3017
1
jun. 23
2090
0
aug. 16
3209
0
apr. 24
1442
2
mrt. 24
3419