Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Set default value field during creation

By
Marco Neumann
on 11/18/14, 10:00 AM 501 views

Hi,

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

Any sugestions anyone/

Thanks.

0

Bole

--Bole--
2385
| 5 4 6
Zagreb | Karlovac, Croatia
--Bole--

there is only 10 kind of people the ones that understand binary ... and others

Bole
On 11/18/14, 10:12 AM

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.. 

 

 

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/18/14, 10:00 AM
Seen: 501 times
Last updated: 3/16/15, 8:10 AM