Odoo Help

Welcome!

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.

0

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

By
Emanuel
on 2/21/13, 8:27 PM 1,490 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...

0
Emanuel
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

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

1 follower(s)

Stats

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