openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #14272
[Bug 1009940] Re: Problem fields.many2many in crm_claim_rma
** Changed in: openobject-addons
Status: In Progress => 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/1009940
Title:
Problem fields.many2many in crm_claim_rma
Status in OpenERP Addons (modules):
Fix Released
Bug description:
Hi,
I download the module crm_claim_rma in OpenERP Apps.I created a new database ,then I instaled the module.
and here's the problem:
------------------------------------------------------------------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/usr/local/lib/python2.7/dist-packages/openerp-server/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/usr/local/lib/python2.7/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/openerp-server/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/borni/openerp/server/openerp-server-6.0.4/bin/addons/base/module/wizard/base_module_upgrade.py", line 98, in upgrade_module
_db, pool = pooler.restart_pool(cr.dbname, update_module=True)
File "/usr/local/lib/python2.7/dist-packages/openerp-server/pooler.py", line 60, in restart_pool
return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
File "/usr/local/lib/python2.7/dist-packages/openerp-server/pooler.py", line 39, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/usr/local/lib/python2.7/dist-packages/openerp-server/addons/__init__.py", line 883, in load_modules
processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
File "/usr/local/lib/python2.7/dist-packages/openerp-server/addons/__init__.py", line 716, in load_module_graph
register_class(package.name)
File "/usr/local/lib/python2.7/dist-packages/openerp-server/addons/__init__.py", line 450, in register_class
imp.load_module(m, *fm)
File "/home/borni/openerp/server/openerp-server-6.0.4/bin/addons/crm_claim_rma/__init__.py", line 24, in <module>
import wizard
File "/home/borni/openerp/server/openerp-server-6.0.4/bin/addons/crm_claim_rma/wizard/__init__.py", line 25, in <module>
import returned_lines_from_invoice
File "/home/borni/openerp/server/openerp-server-6.0.4/bin/addons/crm_claim_rma/wizard/returned_lines_from_invoice.py", line 97, in <module>
class returned_lines_from_invoice_lines(osv.osv_memory):
File "/home/borni/openerp/server/openerp-server-6.0.4/bin/addons/crm_claim_rma/wizard/returned_lines_from_invoice.py", line 101, in returned_lines_from_invoice_lines
'return_line_ids' : fields.many2many('temp.return.line', string='Return lines'),
TypeError: __init__() takes at least 5 arguments (3 given)
------------------------------------------------------------------------------------------------------------------------------------------------------------------
field many2many takes at least 5 arguments or 3 given.
Thanks
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1009940/+subscriptions