Comment 4 for bug 1264157

Revision history for this message
Rifakat Husen (OpenERP) (rha-openerp) wrote :

Hi,

The actual problem occurs due to the `super` call in the function at,
addons/analytic_multicurrency/analytic.py", line 99, in _get_analytic_account

It calls a 'super' with class reference of account_analytic_account but the method is defined for the column
'currency_id' of store attribute for object res.company so the 'self' refers to res.comapny where the super
call has the class account_analytic_account ref.

It need to rewrite the same function again same as module, analytic/analytic.py.

Refer this bug report, https://bugs.launchpad.net/openobject-server/+bug/893079

Thanks,
Rifakat