Amit Parik (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-935564-amp into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #935564 in OpenERP Addons: "Asset should be takes date from the invoice
date rather than current date"
https://bugs.launchpad.net/openobject-addons/+bug/935564
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-935564-amp/+merge/98397
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-935564-amp/+merge/98397
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-935564-amp.
=== 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-03-20 12:05:30 +0000
@@ -57,6 +57,7 @@
'partner_id': line.invoice_id.partner_id.id,
'company_id': line.invoice_id.company_id.id,
'currency_id': line.invoice_id.currency_id.id,
+ 'purchase_date' : line.invoice_id.date_invoice,
}
changed_vals = asset_obj.onchange_category_id(cr, uid, [], vals['category_id'], context=context)
vals.update(changed_vals['value'])
_______________________________________________
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