How to remove/hide total sum in tree view in odoo?
<p>I have odoo tree view in which there are some warehouse stock values displaying in columns. And its calculating total sum of these warehouse values in the bottom. I want to remove total sum in the bottom in tree view, how i can do that? you can see my tree view code i applied sum="false", total="false" but its not working. Anybody have idea that how it can be possible to remove total sum in tree view in odoo? I am also attaching image so you can easily understand my question. Thanks in advance...<a href="http://i.stack.imgur.com/M0Gza.png" rel="nofollow"><img src="http://i.stack.imgur.com/M0Gza.png" alt="enter image description here"></a></p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;tree string="Warehouse Product" editable="bottom" create="false" edit="false" delete="false" sum="false"&gt;
       &lt;field name="warehouse_id"/&gt;
       &lt;field name="qty" sum="Quantity"/&gt;
       &lt;field name="incoming_qty" sum="Incoming"/&gt;
       &lt;field name="outgoing_qty" sum="Total Confirmed"/&gt;
       &lt;field name="reserved_event" sum="Events"/&gt;
       &lt;field name="reserved_sale" sum="Total Reserved"/&gt;
       &lt;field name="backorder_qty" sum="Backordes"/&gt;
       &lt;field name="actual_qty" sum="Actual Qty"/&gt;
       &lt;field name="warehouse_inventory" sum="Total Warehouse Qty"/&gt;
&lt;/tree&gt;</code></pre>
</div>
</div>
</p>

<p>Its done, i just remove sum="" from every field and it remove bottom line of total sum, here is my updated code</p>

<pre><code>&lt;tree string="Warehouse Product" editable="bottom" create="false" edit="false" delete="false"&gt;
  &lt;field name="warehouse_id"/&gt;
  &lt;field name="qty"/&gt;
  &lt;field name="incoming_qty"/&gt;
  &lt;field name="outgoing_qty"/&gt;
  &lt;field name="reserved_event"/&gt;
  &lt;field name="reserved_sale"/&gt;
  &lt;field name="backorder_qty"/&gt;
  &lt;field name="actual_qty"/&gt;
  &lt;field name="warehouse_inventory"/&gt;
&lt;/tree&gt;
</code></pre>

<p>Its done, i just remove sum="" from every field and it remove bottom line of total sum, here is my updated code</p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;tree string="Warehouse Product" editable="bottom" create="false" edit="false" delete="false"&gt;
      &lt;field name="warehouse_id"/&gt;
      &lt;field name="qty"/&gt;
      &lt;field name="incoming_qty"/&gt;
      &lt;field name="outgoing_qty"/&gt;
      &lt;field name="reserved_event"/&gt;
      &lt;field name="reserved_sale"/&gt;
      &lt;field name="backorder_qty"/&gt;
      &lt;field name="actual_qty"/&gt;
      &lt;field name="warehouse_inventory"/&gt;
&lt;/tree&gt;</code></pre>
</div>
</div>
</p>

python xml openerp views odoo-8