Odoo Help


add column in account.move.line view (tree)

on 2/21/13, 8:27 PM 2,098 views

How can I add or remove fields to the account.move.line view?

I tried * inherit account.view_move_line_tree view (in account_view.xml) * attaching a new one (without inherit) with <field name="view_id" ref="NEWVIEW"/> to an act_window...

On 2/26/13, 8:20 PM

answering my own question...

Add this context value to the action of the menu

<field name="context">{'view_mode': True}</field>

then the tree view will stop to be generated by fields_view_get method in account.move.line definition

thanks! thanks! thanks!

AGTIS Informatica, Jonathan Barbara
on 10/4/13, 12:13 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

1 follower(s)


Asked: 2/21/13, 8:27 PM
Seen: 2098 times
Last updated: 3/16/15, 8:10 AM