Hi, I'm trying to remove the "streetbis" field from party.address in both form and tree views. It's not necessary for my client.
Removing works great for the address form view, but not so great with the tree view. Namely, I see the following inconsistency: 1. There's no "streetbis" field when I browse addresses in their own separate tree view. 2. When in party.party form view I click "switch view" on the address form subview, then it switches to tree view, and the "streetbis" field is there! It should not be there! Here's how I'm removing it: <record model="ir.ui.view" id="address_view_tree"> <field name="model">party.address</field> <field name="inherit" ref="party.address_view_tree"/> <field name="arch" type="xml"> <![CDATA[ <data> <xpath expr="/tree/fie...@name="streetbis"]" position="replace"> </xpath> </data> ]]> </field> </record> My questions are: 1. What special things do I need to do to remove "streetbis" from the party.address treeviews EVERYWHERE? 2. Why is there an inconsistency between removing a field from every party.address form view (which works) and removing a field from every party.address tree view (which doesn't work)? Is this a bug? Should I file a bug report? Best, Elver [email protected] +372 5661 6933 http://elver.wordpress.com/ skype: elver.loho -- [email protected] mailing list
