change domain recouncile=1

bzr revid: hda@tinyerp.com-cf8fc6a12ce90b7b6ba8588861b6fdaadf1796ad
This commit is contained in:
Husen Daudi 2007-05-08 08:11:33 +00:00
parent 685d8a1cb7
commit fc8f82b118
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ _journal_form = '''<?xml version="1.0"?>
</form>''' % ('Reconciliation',)
_journal_fields = {
'account_id': {'string':'Account', 'type':'many2one', 'relation':'account.account', 'required':True},
'account_id': {'string':'Account', 'type':'many2one', 'relation':'account.account','domain': [('reconcile','=',1)], 'required':True},
}
def _action_open_window(self, cr, uid, data, context):