← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 772334] Re: division by zero error

 

On 09. 05. 11 09:28, Mohammed wrote:
> ** Branch linked: lp:~bstanciu/openobject-addons/account-fixed-assets
>
Mohammed,

Does this means that the bug is present in my branch?

how do you get it? please detail your steps.

thank you,
bogdan

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

Title:
  division by zero error

Status in OpenERP Modules (addons):
  Confirmed

Bug description:
  when running compute assets wizard it threw division by zero exception
  period_ok = ((datetime.strptime(period.date_stop, '%Y-%m-%d').month % (12 / asset.method_freq)) == 0)
  ZeroDivisionError: integer division or modulo by zero


Follow ups

References