sum() function in report

Asked by vrsb

Hello. Is it possible to allow sum() in safe_eval for usage in reports?
Howbeit, is there a way to circumvent those checks?

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Server (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
vrsb (shipilov555) said :
#2

still don't understand

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
vrsb (shipilov555) said :
#4

Reopen.

Revision history for this message
Husen Daudi (husendaudi) said :
#5

we need to develop method in self_eval for sum(object.fieldname, ids)
currently we are defining method in .py file of report and initialize it in localcontext.
If we implement sum in self eval then it will be useful for many reports.

Revision history for this message
Husen Daudi (husendaudi) said :
#6

we need to develop method in self_eval for sum(object.fieldname, ids)
currently we are defining method in .py file of report and initialize it in localcontext.
If we implement sum in self eval then it will be useful for many reports.

create a wishlist or post on feedback.openerp.com if you wish to implement this.

Can you help with this problem?

Provide an answer of your own, or ask vrsb for more information if necessary.

To post a message you must log in.