Odoo Help


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.


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

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

2 follower(s)


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