Traceback while duplicating a record having one2many functional field to itself.

Bug #1110063 reported by DJ Patel (OpenERP)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Confirmed
Medium
OpenERP's Framework R&D

Bug Description

Create a model having one2many functional field to itself to calculate the previous records based on creation date.

Try to duplicate a record having previous records in one2many functional field. It gives the traceback as follow:

ValueError: need more than 1 value to unpack

Thanks,
Divyesh

Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :

Hello ,

I have checked it with latest trunk , Its only producible when you used "Inheritance by Delegation"(_inherits ).
for _inherit it working fine , Problem is similar as ( lp:705364 ) but patch does not resolve this problem.
So I am confirming this issue.

Thanks.

Changed in openobject-server:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
Changed in openobject-server:
importance: High → Medium
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.