Odoo Help

0

0
6 Answers
0
Avatar

Avinash Nk อินเดีย

--Avinash Nk--

10353
| 5 4 9
Calicut, อินเดีย
--Avinash Nk--

Avinash N K

Odoo Developer

More than 3 years of experience in Odoo Technical

and Functional areas.

LinkedIn : https://in.linkedin.com/in/avinash-nk

Avinash Nk อินเดีย
6/3/17 22:24

Just un mark it from Measures.

4 ความคิดเห็น
La Page PT, Pascal Tremblay แคนาดา
7/3/17 08:31

The measure is for each column. Not just the total column at the right. If I uncheck it, there is no more columns.

Avinash Nk อินเดีย
8/3/17 22:50

Hai Pascal Tremblay,

You must have to select any of the measures from the list.Otherwise its shows nothing.

That means, Uncheck the Total column first.then select another measure that you want.

Then click the (-)Total in the top.

La Page PT, Pascal Tremblay แคนาดา
9/3/17 08:15

Thanks for this answer. I would like to display the pivot table directly without the total column. Without click. I thought that we could make it in XML... It seems that it is not possible.

Avinash Nk อินเดีย
9/3/17 22:39

Ohh...is that your need??

you can done this by the help of xml.

use this code.

<?xml version="1.0" encoding="UTF-8" ?>

<openerp>

<data>

<record id="measure_test_sales" model="ir.ui.view">

<field name="name">measure_test_sales.view</field>

<field name="model">sale.report</field>

<field name="inherit_id" ref="sale.view_order_product_pivot"/>

<field name="arch" type="xml">

<xpath expr="//field[@name='price_subtotal']" position="replace">

<field name="price_subtotal" />

</xpath>

</field>

</record>

</data>

</openerp>

-1
Ümit Öztürk ตุรกี
10/12/18 02:33

find data relation in your python file and set store value false. 


For example:

pivot_percentage = fields.Float("Percentage", compute="_pivot_percentage_compute", store=False)

Ask a Question
Writer
ป้ายกำกับ
Keep Informed
1 ผู้ติดตาม
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.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now