Problem fields.many2many in crm_claim_rma

Bug #1009940 reported by Borni DHIFI
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
Serpent Consulting Services

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

Related branches

Revision history for this message
Amit Bhavsar (Open ERP) (amb-openerp) wrote :

Hello Borni,

"crm_claim_rma " is part of the apps.openerp.com, which are not maintained by the "OpenERP" Or "Tiny". So would you please contact to appropriate Author of this module.

If you or anyone would like to work on it, please mark the bug as "In progress" and assign it to yourself (or ask us or anyone from OpenERP Drivers to do it for you). In the mean time, I will mark it as "Won't fix" to indicate that no further progress is expected at the moment.

Thanks!

affects: openerp-web → openobject-addons
Changed in openobject-addons:
status: New → Won't Fix
Revision history for this message
Serpent Consulting Services (serpent-consulting-services) wrote :

Hello Dhifi.Borni,

We would like to initiate the fix and you may find it in the attached merge proposal.

Hope this eases your worries.

Regards,
Serpent Consulting Services,
http://www.serpentcs.com

Changed in openobject-addons:
assignee: nobody → Serpent Consulting Services (serpent-consulting-services)
status: Won't Fix → Confirmed
Changed in openobject-addons:
status: Confirmed → Fix Committed
importance: Undecided → Medium
Changed in openobject-addons:
status: Fix Committed → In Progress
Changed in openobject-addons:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.