← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 704347] [NEW] [6.0RC2] can not overwrite def __compute in account/account.py

 

Public bug reported:

I want to enhance the def __compute in account/account.py which is not
possible as the original __compute is always executed.

see attached test module

for test purpose it should print 
'my __compute'
in the syslog, instead of computing 

BTW  account.py
            self.logger.notifyChannel('addons.'+self._name, netsvc.LOG_DEBUG,
                                      'Filters: %s'%filters)
should be removed for final v6

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/704347

Title:
  [6.0RC2] can not overwrite def __compute in account/account.py

Status in OpenObject Server:
  New

Bug description:
  I want to enhance the def __compute in account/account.py which is not
  possible as the original __compute is always executed.

  see attached test module

  for test purpose it should print 
  'my __compute'
  in the syslog, instead of computing 

  BTW  account.py
              self.logger.notifyChannel('addons.'+self._name, netsvc.LOG_DEBUG,
                                        'Filters: %s'%filters)
  should be removed for final v6





Follow ups

References