c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #22288
[Bug 767397] [NEW] account asset method has not attribute get_defaults
Public bug reported:
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,
** Affects: openobject-addons
Importance: Undecided
Status: New
** Summary changed:
- account method has not attribute get_defaults
+ account asset method has not attribute get_defaults
** Branch linked: lp:~bstanciu/openobject-addons/account-fixed-assets
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/767397
Title:
account asset method has not attribute get_defaults
Status in OpenERP Modules (addons):
New
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,
Follow ups
References