openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #07196
[Bug 767397] Re: account asset method has not attribute get_defaults
This module has been rewritten in 6.1
** Changed in: openobject-addons
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/767397
Title:
account asset method has not attribute get_defaults
Status in OpenERP Addons (modules):
Fix Released
Bug description:
Abandon wizard uses meth_obj.get_defaults method in Abandon wizard.
I get this error:
Traceback (most recent call last):
File "/home/ovnicraft/development/openerp/v6/server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/ovnicraft/development/openerp/v6/server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/ovnicraft/development/openerp/v6/server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/ovnicraft/development/openerp/v6/server/bin/osv/orm.py", line 981, in default_get
defaults[f] = self._defaults[f](self, cr, uid, context)
File "/home/ovnicraft/development/openerp/proyectos/autoplaza/addons/account_fixed_assets/wizard/wizard_asset_abandon.py", line 42, in _asset_default
defaults = method_obj.get_defaults(cr, uid,
AttributeError: 'account_asset_method' object has no attribute 'get_defaults'
BR,
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/767397/+subscriptions