Odoo Help

0

Set default value field during creation

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

Hi,

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

Any sugestions anyone/

Thanks.

0

Bole

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

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

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