list index out of range

Bug #1182887 reported by 开阖软件 Jeff Wang
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openerp-china
Confirmed
High
Joshua Jan(SHINEIT)
6.1
Confirmed
Medium
Joshua Jan(SHINEIT)

Bug Description

    def move_line_on_change(self, cr, uid, ids, lines):
        lines_default_value = False
# if lines[0][2]:
        if lines and lines[0][2]:
            lines_default_value = lines[0][2].get('name', False)
        return {'value':{'lines_default_value':lines_default_value}}

in oecn_account_print/account.py line 43

Changed in openerp-china:
assignee: nobody → Joshua Jan(SHINEIT) (joshuajan)
Changed in openerp-china:
status: New → Confirmed
Changed in openerp-china:
importance: Undecided → High
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.