Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
7610 Weergaven

Hello,

I am trying to create an automated action upon creation of a Partner. The problem is that the create_date field is not accessible , the filed exists in the database but not in the model.

Can anyone helps?

regards,

Avatar
Annuleer
Beste antwoord

Hi,

First of all inherit the 'res.partner' and add the fields

'create_date': fields.datetime('Creation Date' , readonly=True),

Then put this field in view...so that you can see or access the partner created date.

Avatar
Annuleer
Beste antwoord

You have to add the database field to the model as a read-only field.

For an example that adds the create_uid to the sale.order model so users can see who entered sales orders, see:

https://www.openerp.com/apps/6.1/add_user_sales_order/

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
mei 17
5604
3
feb. 16
6300
1
dec. 23
9007
0
apr. 24
1871
1
apr. 24
2112