account-fixed-assets periodical processing error

Bug #868954 reported by Normunds (Alistek)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

Tehere are error when computing assets Accounting/Periodical Processing/Assets Calculation/Compute assets, if accounting period is defined other than month - e.g. 3month.

Change to fix this: in account_asset.py line 806
- period = period_obj.browse(cr, uid, period_id[0], context=context)

+ period_id = isinstance(period_id, list) and period_id[0] or period_id
+ period = period_obj.browse(cr, uid, period_id, context=context)

Revision history for this message
Bogdan Stanciu (bstanciu) wrote :

Hi there,

Could you please assign this bug to me, as it is about my branch, not the official addon.

Thank you,
Bogdan

Revision history for this message
Bogdan Stanciu (bstanciu) wrote :

@Normundus
Sorry, I do not see why a different period would change anything... it has a start date and an end date, so it works the same...

thank you,
Bogdan

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.