Odoo Help


How to remove default journal in invoice ?

Laetitia Gangloff (Acsone)
on 4/10/15, 10:14 AM 1,015 views


when I create invoice a default journal is set.
How can I remove this value to force user to set the right value ?

I tried to add a default value, with no value (In Settings > Technical > Actions > User-defined Defaults), but with no success. I make a similar test on another filed (Communication type) and it works.


Thank you for your response, but I think my problem comes from the onchange on company or from the fields view get.



| 6 5 7
Lodz, Poland

On 4/10/15, 11:55 AM

You must inherit class account_invoice and replace method _default_journal(). Field journal_id set default=_default_journal. Or you redefine this field in your module without default value.

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.


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)


Asked: 4/10/15, 10:14 AM
Seen: 1015 times
Last updated: 4/13/15, 6:18 AM