Merge lp:~qdp/openobject-addons/asset_refactor_wizards_installation_fix_qdp into lp:~ovnicraft/openobject-addons/asset_refactor_wizards

Proposed by qdp (OpenERP)
Status: Merged
Approved by: Cristian Salamea
Approved revision: no longer in the source branch.
Merged at revision: 4640
Proposed branch: lp:~qdp/openobject-addons/asset_refactor_wizards_installation_fix_qdp
Merge into: lp:~ovnicraft/openobject-addons/asset_refactor_wizards
Diff against target: 12 lines (+1/-1)
1 file modified
account_fixed_assets/account_asset.py (+1/-1)
To merge this branch: bzr merge lp:~qdp/openobject-addons/asset_refactor_wizards_installation_fix_qdp
Reviewer Review Type Date Requested Status
Cristian Salamea Approve
Review via email: mp+60339@code.launchpad.net

Description of the change

the module cannot be installed because the object hr.employee doesn't exist if you don't install hr, and i guess you don't want it to be installed by default.

So this trivial fix only change the reference to hr.employee with res.users

To post a comment you must log in.
Revision history for this message
Cristian Salamea (ovnicraft) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'account_fixed_assets/account_asset.py'
--- account_fixed_assets/account_asset.py 2011-05-06 21:29:17 +0000
+++ account_fixed_assets/account_asset.py 2011-05-09 07:34:24 +0000
@@ -371,7 +371,7 @@
371 _columns = {371 _columns = {
372 'name': fields.char('Name', size=64, help='Location name for asset'),372 'name': fields.char('Name', size=64, help='Location name for asset'),
373 'code': fields.char('Code Location', size=10, help='Code for location'),373 'code': fields.char('Code Location', size=10, help='Code for location'),
374 'employee_id': fields.many2one('hr.employee', 'Responsible', help='Employee responsible for asset'),374 'user_id': fields.many2one('res.users', 'Responsible', help='User responsible for asset'),
375 }375 }
376376
377account_asset_location()377account_asset_location()

Subscribers

People subscribed via source and target branches

to status/vote changes: