Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2591 Lượt xem

Hi,

Im looking for a way to set a creationdate in model account.invoice

Any sugestions anyone/

Thanks.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

fields create_date, create_uid, write_date, write_uid are automaticly created by orm...

In v7 you can't reach them (except low level sql querries).. in v8 it is a normal field, (can be shown in views etc)...

If that is not what you were looking for... then you need to override create method in your custom module.. 

 

 

Ảnh đại diện
Huỷ bỏ