← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

** Attachment added: "chricar_test_account_compute.zip"
   https://bugs.launchpad.net/bugs/704347/+attachment/1797800/+files/chricar_test_account_compute.zip

-- 
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





References