Asset should be takes date from the invoice date rather than current date
Bug #935564 reported by
Ana Juaristi Olalde
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 3 | ||
OpenERP Community Backports (Addons) |
Fix Released
|
Undecided
|
Pedro Manuel Baeza | ||
6.1 |
Fix Released
|
Undecided
|
Pedro Manuel Baeza |
Bug Description
This one could be one requirement only in our country:
Creating the account move the taken data is:
http://
depreciation_date = line.asset_
This is the purchase data or the moment where user pushes the wizard button to calculate asset account_moves
In our country it should be simply:
depreciation_date = line.depreciati
That is the account movement data is the one set in account.
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-935564-amp
- OpenERP Core Team: Pending requested
-
Diff: 11 lines (+1/-0)1 file modifiedaccount_asset/account_asset_invoice.py (+1/-0)
lp:~cv.clearcorp/openobject-addons/6.1-account_asset
- xavi (community): Approve
- OpenERP Core Team: Pending requested
-
Diff: 103 lines (+10/-9)4 files modifiedaccount_asset/account_asset.py (+5/-5)
account_asset/account_asset_invoice.py (+2/-2)
account_asset/account_asset_view.xml (+1/-0)
account_asset/report/account_asset_report.py (+2/-2)
lp:~pedro.baeza/ocb-addons/6.1-fix-935564
- Holger Brunn (Therp): Approve (code review)
- Omar (Pexego): Approve (code review)
-
Diff: 11 lines (+1/-0)1 file modifiedaccount_asset/account_asset_invoice.py (+1/-0)
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in ocb-addons: | |
assignee: | nobody → Pedro Manuel Baeza (pedro.baeza) |
status: | New → Fix Released |
status: | Fix Released → Fix Committed |
Changed in ocb-addons: | |
status: | Fix Committed → Won't Fix |
status: | Won't Fix → Fix Released |
To post a comment you must log in.
That is... the required changes would be: bazaar. launchpad. net/~openerp/ openobject- addons/ trunk/view/ head:/account_ asset/account_ asset_invoice. py line 51
http://
}
ADD field:
' purchase_ date' : line.invoice_ id.date_ invoice,
-----
On same point the default values of asset should be taken from asset category instead of being hardcoded on asset defaults:
And... I think that are all little bugs I found in account_asset modules. Wishing it will be helpful:
Ana