[v6.0 & v6.1][account] account.period build_ctx_periods method return more periods than those asked when period_from_id == period_to_id

Bug #922957 reported by hbto [Vauxoo] http://www.vauxoo.com
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP Publisher's Warranty Team

Bug Description

[v6.0 & v6.1][account] account.period build_ctx_periods method return more periods than those asked when period_from_id == period_to_id
This method should just return just period_to_id
This patch is what I think should be done

Tags: maintenance

Related branches

Revision history for this message
hbto [Vauxoo] http://www.vauxoo.com (humbertoarocha) wrote :
Revision history for this message
hbto [Vauxoo] http://www.vauxoo.com (humbertoarocha) wrote :

And this is for v6.0

description: updated
Revision history for this message
Nhomar - Vauxoo (nhomar) wrote :

Corrected the patch, we need to return a list not an integer.

Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Medium
tags: added: maintenance
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Amit Dodiya (OpenERP) (ado-openerp) wrote :

Hello,

Thanks for reporting the issue.

This issue is fixed in following branch :
Branch : lp:~openerp-dev/openobject-addons/6.0-opw-382088-ado With
Revision-id : <email address hidden> And
Revision-no : 5037

Thanks,
Amit Dodiya

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Raphael Collet (OpenERP) (rco-openerp) wrote :

fixed in trunk
revno: 6512
revision-id: <email address hidden>

Revision history for this message
Rifakat Husen (OpenERP) (rha-openerp) wrote :

Landed on stable 6.0,
Revision ID: <email address hidden>
Revision 5163

Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.