Please review this at http://codereview.appspot.com/186093

Affected files:
  M trytond/ir/module/module.py


Index: trytond/ir/module/module.py
===================================================================
--- a/trytond/ir/module/module.py
+++ b/trytond/ir/module/module.py
@@ -464,7 +464,7 @@
     _description = __doc__
     name = fields.Char('Name')
     module = fields.Many2One('ir.module.module', 'Module', select=1,
-       ondelete='CASCADE')
+       ondelete='CASCADE', required=True)
     state = fields.Function('get_state', type='selection',
        selection=[
        ('uninstalled','Not Installed'),



-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: [email protected]
Jabber: [email protected]
Website: http://www.b2ck.com/
twitter: http://twitter.com/cedrickrier
identi.ca: http://identi.ca/cedrickrier

Attachment: pgpe5LdgDotmv.pgp
Description: PGP signature

Reply via email to