c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #32767
[Bug 767397] Re: account asset method has not attribute get_defaults
** 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/767397
Title:
account asset method has not attribute get_defaults
Status in OpenERP Addons (modules):
Confirmed
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
References