Somesh Khare(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/6.1-opw-579898-skh into
lp:openobject-addons/6.1.
Requested reviews:
Naresh(OpenERP) (nch-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-579898-skh/+merge/127748
Hello Sir,
[FIX]account_asset_invoice: Asset created from the invoice did not have the
purchase date as invoice date, here it has current date.
Steps:
1. Create a Purchase order for the product eg: Test Asset.
2. Select Asset Category into the Invoice line of the created Invoice and
Approve this Invoice after giving the Invoice date eg: 10/03/2012.
3. Go to the menu Accounting/Assets/Assets and check the Purchase Order Date:
It is your current date.
Expected result: It should be Invoiced date.
Kindly review the branch and please share your views on it.
Thanks & Regards,
Somesh Khare
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-579898-skh/+merge/127748
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.1-opw-579898-skh.
=== modified file 'account_asset/account_asset_invoice.py'
--- account_asset/account_asset_invoice.py 2011-11-11 19:29:54 +0000
+++ account_asset/account_asset_invoice.py 2012-10-03 12:51:28 +0000
@@ -53,6 +53,7 @@
'code': line.invoice_id.number or False,
'category_id': line.asset_category_id.id,
'purchase_value': line.price_subtotal,
+ 'purchase_date': line.invoice_id.date_invoice,
'period_id': line.invoice_id.period_id.id,
'partner_id': line.invoice_id.partner_id.id,
'company_id': line.invoice_id.company_id.id,
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp