error on resolve_2many_commands when create journal entries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug 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.
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/
data = self._default_
File "/home/
_log.info (move_obj.
File "/opt/openerp/
for record in other_model.
File "/opt/openerp/
result = self._read_flat(cr, user, select, fields, context, load)
File "/opt/openerp/
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.
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
description: | updated |