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,
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,
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.
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:
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-se| Related Posts | Respostes | Vistes | Activitat | |
|---|---|---|---|---|
|
2
de maig 17
|
6920 | |||
|
3
de febr. 16
|
7788 | |||
|
1
de des. 23
|
11373 | |||
|
0
d’abr. 24
|
4198 | |||
|
Data for relations table
Solved
|
1
d’abr. 24
|
4401 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.