← Back to team overview

openerp-expert-service team mailing list archive

[Bug 655316] [NEW] [6.0][project_long_term] Signature error for _compute function

 

You have been assigned a bug task for a public bug by Raphaël Valyi - http://www.akretion.com (rvalyi):

the function _compute, defined like this in project_long_term.py (line 95 in last revision): 
    def _compute(self, cr, uid, ids, context=None):
Raise an error because it is called from a fields.function which needs a signature like : 
    def _compute(self, cr, uid, ids, field_name, arg, context=None):

This error is reproductible only if asking for the field total_hours
because it is not displayed right now.

** Affects: openobject-addons
     Importance: Undecided
     Assignee: OpenERP Services Experts (openerp-expert-service)
         Status: Confirmed

-- 
[6.0][project_long_term] Signature error for _compute function
https://bugs.launchpad.net/bugs/655316
You received this bug notification because you are a member of OpenERP Services Experts, which is a bug assignee.