c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #23578
[Bug 772334] Re: division by zero error
** Changed in: openobject-addons
Status: New => Confirmed
--
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
References