Don't fill the many2many with all the payment lines

bzr revid: ced-cf05b195780139a207a11080b7428c0d5910ca32
This commit is contained in:
ced 2007-12-06 12:13:50 +00:00
parent bfc068166d
commit 6f87888b5b
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ def _search_entries(obj, cursor, user, data, context):
<field name="lines" colspan="4" height="300" width="800" nolabel="1"
domain="[('id', 'in', [%s])]"/>
</form>''' % (','.join([str(x) for x in line_ids]))
return {'lines': line_ids}
return {}
def _populate_statement(obj, cursor, user, data, context):
line_ids = data['form']['lines'][0][2]