Bad condition in account_date_check
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
High
|
Stephane Wirtel (OpenERP) |
Bug Description
The account_date_check module check is the invoice date is between the start and stop date of the period. If it's not the case, it warn you with a popup. I have tested this module but it don't warn me when I choose a date out of the period. I think that the problem is on the condition which check the date. The current condition is (in account_
if not time.strptime(
but it should be more something like that :
if time.strptime(
Hope this help.
Fixed in this revision
http:// bazaar. launchpad. net/~openerp/ openobject- addons/ 5.0/revision/ 2659
Stephane