Odoo Help


Period and journal filters in journal items

on 12/17/14, 8:41 AM 1,055 views


I'd like to set the default journal in the filter to the first element of the list (the white one with no journal). I've found the action journal items, and in the context value field there's: {'journal_type':'general'}, I modified it to {}, but I get no account moves. I tried different expressions but none works.

Can you help me , please?



Journal items would need to have a journal assigned to it. I'm not really sure which action you are talking about (if you can provide the XML ID or name, it would be great).

on 12/17/14, 9:50 AM

Yes, but I'm talking about the two filters journal and period in the journal items view. When you go to settings > Technical > Actions > Window Actions The action name is "journal items".

on 12/18/14, 9:42 AM


| 6 5 7
Lodz, Poland

On 12/17/14, 10:27 AM

If I understand the effect you want, put there:

{'journal_type': False}

Thanks for your answer, but even with that, I have no moves that appear. I want the same effect as when I select no journal, I see all the available moves.

on 12/17/14, 10:39 AM

I suppose the need to change account_move_line_qickadd.js near line 47 (return false change to null)

on 12/17/14, 2:01 PM

Do I have to change the line 90? self.last_context["journal_id"] = self.current_journal === null ? false : self.current_journal;

on 12/18/14, 9:44 AM

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

2 follower(s)


Asked: 12/17/14, 8:41 AM
Seen: 1055 times
Last updated: 3/16/15, 8:10 AM