Merge lp:~openerp-dev/openobject-addons/6.1-opw-579898-skh into lp:openobject-addons/6.1

Proposed by Somesh Khare
Status: Approved
Approved by: Naresh(OpenERP)
Approved revision: 7012
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-579898-skh
Merge into: lp:openobject-addons/6.1
Diff against target: 11 lines (+1/-0)
1 file modified
account_asset/account_asset_invoice.py (+1/-0)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-579898-skh
Reviewer Review Type Date Requested Status
Naresh(OpenERP) Pending
Review via email: mp+127748@code.launchpad.net

Description of the change

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

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello,

This bug was qualified as Already Fixed on Trunk (means that it was already fixed and merged in Trunk). If this Merge Proposal could not be merged in v6.1 at the release of v7.0, it will be closed.

Thanks,
Naresh Soni

Unmerged revisions

7012. By Luc De Meyer (Noviat)

[FIX]account_asset_invoice: Asset created from the invoice did not have the invoice date it has current date(Case: ref 579898)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== 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 @@
53 'code': line.invoice_id.number or False,53 'code': line.invoice_id.number or False,
54 'category_id': line.asset_category_id.id,54 'category_id': line.asset_category_id.id,
55 'purchase_value': line.price_subtotal,55 'purchase_value': line.price_subtotal,
56 'purchase_date': line.invoice_id.date_invoice,
56 'period_id': line.invoice_id.period_id.id,57 'period_id': line.invoice_id.period_id.id,
57 'partner_id': line.invoice_id.partner_id.id,58 'partner_id': line.invoice_id.partner_id.id,
58 'company_id': line.invoice_id.company_id.id,59 'company_id': line.invoice_id.company_id.id,