Activity log for bug #1271173

Date Who What changed Old value New value Message
2014-01-21 13:38:51 Siti Mawadah bug added bug
2014-01-21 13:39:48 Siti Mawadah description Dear all, I face a weird problem on journal entries. I try many times until I have the pattern which can raise an error. This is the steps I did. 1. Create journal entries with Journal Bank (default debit/credit account is 101 Bank) 2. Add an item 102 Cash 1,000 (dr) 601 Expense 2,000 (dr) 101 Bank 3,000 (dr) ---> default account of journal bank 3. Save 4. Edit Entries 5. Add an item, then it will raise an error like this File "/home/mawaddah/openerp-server/7.0/latest/addons/account/account_move_line.py", line 165, in default_get data = self._default_get(cr, uid, fields, context=context) File "/home/mawaddah/openerp-server/7.0/latest/addons/account/account_move_line.py", line 255, in _default_get _log.info (move_obj.resolve_2many_commands(cr, uid, 'line_id', context.get('line_id'), context=context)) File "/opt/openerp/openerp-7-latest/openerp/osv/orm.py", line 5241, in resolve_2many_commands for record in other_model.read(cr, uid, record_ids, fields=fields, context=context): File "/opt/openerp/openerp-7-latest/openerp/osv/orm.py", line 3606, in read result = self._read_flat(cr, user, select, fields, context, load) File "/opt/openerp/openerp-7-latest/openerp/osv/orm.py", line 3729, in _read_flat record[f] = res2[record['id']] KeyError: 117 I know the error is happened when system need to get default debit/credit value. which described in line: move_obj.resolve_2many_commands(cr, uid, 'line_id', context.get('line_id'), context=context) I have try several times with above pattern and always raise such error. If I removed line 101 Bank 3,000 (dr), save again, edit entries and add an item then the form function well. Please help me to resolved this bugs. I have try on OpenERP 7.0 latest version (January 2014) and the condition still exist. Thank you Dear all, I face a weird problem on journal entries. I try many times until I have the pattern which can raise an error. These are the steps I did. 1. Create journal entries with Journal Bank (default debit/credit account is 101 Bank) 2. Add an item     102 Cash 1,000 (dr)     601 Expense 2,000 (dr)     101 Bank 3,000 (dr) ---> default account of journal bank 3. Save 4. Edit Entries 5. Add an item, then it will raise an error like this   File "/home/mawaddah/openerp-server/7.0/latest/addons/account/account_move_line.py", line 165, in default_get     data = self._default_get(cr, uid, fields, context=context)   File "/home/mawaddah/openerp-server/7.0/latest/addons/account/account_move_line.py", line 255, in _default_get     _log.info (move_obj.resolve_2many_commands(cr, uid, 'line_id', context.get('line_id'), context=context))   File "/opt/openerp/openerp-7-latest/openerp/osv/orm.py", line 5241, in resolve_2many_commands     for record in other_model.read(cr, uid, record_ids, fields=fields, context=context):   File "/opt/openerp/openerp-7-latest/openerp/osv/orm.py", line 3606, in read     result = self._read_flat(cr, user, select, fields, context, load)   File "/opt/openerp/openerp-7-latest/openerp/osv/orm.py", line 3729, in _read_flat     record[f] = res2[record['id']] KeyError: 117 I know the error is happened when system need to get default debit/credit value. which described in line: move_obj.resolve_2many_commands(cr, uid, 'line_id', context.get('line_id'), context=context) I have try several times with above pattern and always raise such error. If I removed line 101 Bank 3,000 (dr), save again, edit entries and add an item then the form function well. Please help me to resolved this bugs. I have try on OpenERP 7.0 latest version (January 2014) and the condition still exist. Thank you
2014-01-22 03:38:43 Siti Mawadah bug added subscriber Andhitia Rama
2014-12-12 07:38:50 Wided Kéfi bug added subscriber Wided Kéfi