Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
3344 Näkymät

Wherever I open a price list in ODOO, if I filter the items group by 'product' , 'vendor' or any other thing, the field 'price' or 'price_unit' would be accumulated automatically by the system.

for example, vendor 'A' has product b($7.00),product c($8.00).If I filter the list grouped by 'vendor', I would get item A, which has a field 'price' displayed as '15'.

I prefer to the field 'price' displayed as blank. How could I solve the problem? thank you.

Avatar
Hylkää
Paras vastaus

Hi, 

You can set the group_operator=False , for the field.

See the sample: 

priority = fields.Selection(crm_stage.AVAILABLE_PRIORITIES, string='Priority', group_operator=False)

For more: How To Remove Sum of Total in Groupby in Tree View in Odoo

Thanks

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
huhtik. 22
26363
1
helmik. 21
3969
1
kesäk. 16
6869
2
tammik. 16
4834
2
elok. 25
2583