add missing depends for issue7271002

This commit is contained in:
Sergi Almacellas Abellana 2014-05-14 16:10:31 +02:00
parent fe53fd51c9
commit d06b30032e
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ diff -r 798032271015 modules/analytic_account/line.py
+ ['OR',
+ [('company', '=', None)],
+ [('company', '=', Eval('company', -1))],
+ ]])
+ ]], depends=['company'])
move_line = fields.Many2One('account.move.line', 'Account Move Line',
- ondelete='CASCADE', required=True)
+ ondelete='CASCADE', required=True)