** Branch unlinked: lp:~bstanciu/openobject-addons/account-fixed-assets
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/767350
Title:
Assets field does not exist
Status in OpenERP Addons (modules):
Fix Committed
Bug description:
The new design in asset module remove one2mny relation between
account.asset.asset object and account.asset.method but several
methods in account.asset.method still consider this relation to
compute/process data.
One error as example:
Traceback (most recent call last):
File "/home/ovnicraft/development/openerp/v6/server/bin/netsvc.py", line
489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth,
params)
File
"/home/ovnicraft/development/openerp/v6/server/bin/service/web_services.py",
line 636, in dispatch
res = fn(db, uid, *params)
File
"/home/ovnicraft/development/openerp/v6/server/bin/service/web_services.py",
line 663, in exp_execute
return self._execute(db, uid, wiz_id, datas, action, context)
File
"/home/ovnicraft/development/openerp/v6/server/bin/service/web_services.py",
line 645, in _execute
return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
File
"/home/ovnicraft/development/openerp/v6/server/bin/wizard/__init__.py", line
177, in execute
res = self.execute_cr(cr, uid, data, state, context)
File
"/home/ovnicraft/development/openerp/v6/server/bin/wizard/__init__.py", line
72, in execute_cr
action_res = action(self, cr, uid, data, context)
File
"/home/ovnicraft/development/openerp/proyectos/autoplaza/addons/account_fixed_assets/wizard/wizard_asset_reval.py",
line 56, in _asset_default
asset_category_id = method.asset_id.category_id and
method.asset_id.category_id.id or False
File "/home/ovnicraft/development/openerp/v6/server/bin/osv/orm.py", line
294, in __getattr__
raise AttributeError(e)
AttributeError: "Field 'asset_id' does not exist in object
'browse_record(account.asset.method, 2)'"
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/767350/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp