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...
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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...
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!