Compute asset wizard don't include asset depreciation line date same like period start/end date

Bug #917732 reported by Paulius Sladkevičius @ hbee
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 3

Bug Description

revision: 6353

In the account_asset/account_asset.py 312 line there is searching for depreciation lines by period start/end date. Date condition are less than or greater than (< or >), but I see that it must be less than or equal to and greater than or equal to (<= or >=).

Related branches

Revision history for this message
Paulius Sladkevičius @ hbee (komsas) wrote :

Now I found out that these logical operators are not correct at all, please check branch related with this bug.

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
DJ Patel (OpenERP) (mdi-openerp) wrote :

Hello Paulius Sladkevičius,

Thanks for the contribution,

The solution for this bug is proposed in the branch : https://code.launchpad.net/~openerp-community/openobject-addons/trunk-bug-917732-pslt

with following Revision ID and Number.

Revision ID : <email address hidden>
Revision Number : 6355

Thanks and Regards,

Divyesh Makwana(MDI)

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

landed in trunk
revno: 6400 [merge]
revision-id: <email address hidden>

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

Last merge was reverted; tests were broken.

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

merged in trunk
revno: 6448 [merge]
revision-id: <email address hidden>

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.