Odoo Help


Accounting V7 display all move lines on tree view without period and journal selection fields (account module)

Yassine TEIMI
on 12/3/14, 12:41 PM 743 views

On the module account, and on the file account_view.xml, I have a tree view "view_move_line_tree" for move lines, I want to display the result without passing by the two selection fields period and journal

On the tree view I found some xml options that make this two fields special : 

<field name="journal_id" options='{"no_open":True}' invisible="context.get('journal_id',False)"/>
<field name="period_id" options='{"no_open":True}' invisible="context.get('journal_id',False)"/>

do you have any idea how to respond to my request ?



Ludo - Neobis

--Ludo - Neobis--
| 2 2 5
Hoogvliet, Netherlands
--Ludo - Neobis--


Ludo - Neobis
On 12/4/14, 5:38 AM

FIRST OF ALL, FIND THE CAPS-LOCK KEY ON YOUR KEYBOARD AND DISABLE IT. IT LOOKS LIKE YOU ARE YELLING FROM THE TOP OF YOUR LUNGS WHEN WRITING THIS. Furthermore, have you tried creating a basic view on the object? The view you mention includes some javascript on the top of the list which is dynamically loaded in. If you create a very basic tree view and your own menu item, you should not have this loaded in. Alternatively you could override the action on the menu item to trigger a custom view that also does not include the top bar.

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/3/14, 12:41 PM
Seen: 743 times
Last updated: 3/16/15, 8:10 AM