openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #08554
[Bug 935564] Re: Asset should be takes date from the invoice date rather than current date
Hello Ana,
I am totally agree with you, the date should be takes the purchase date
(invoice date) instead of current date.
Currently it takes the current date. I have checked your suggestion and it works fine while setting
'purchase_date' : line.invoice_id.date_invoice,
on asset_create method.
Thanks for reporting and valuable solution!
** Summary changed:
- Several bug account_asset 4
+ Asset should be takes date from the invoice date rather than current date
** Changed in: openobject-addons
Importance: Undecided => Medium
** Changed in: openobject-addons
Status: New => Confirmed
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/935564
Title:
Asset should be takes date from the invoice date rather than current
date
Status in OpenERP Addons (modules):
Confirmed
Bug description:
This one could be one requirement only in our country:
Creating the account move the taken data is:
http://bazaar.launchpad.net/~openerp/openobject-addons/trunk/view/head:/account_asset/account_asset.py line 358
depreciation_date = line.asset_id.prorata and
line.asset_id.purchase_date or time.strftime('%Y-%m-%d')
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.depreciation_date
That is the account movement data is the one set in
account.asset.depreciation.line
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/935564/+subscriptions
References