Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3327 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
apr 22
26347
1
feb 21
3964
1
giu 16
6846
2
gen 16
4828
2
ago 25
2555