Community mailing list archives

Re: null value in column "notify_email" violates not-null constraint

Voedsel.Coop, Ronald Wopereis
- 06/24/2015 01:54:09
Jose thank you very much.
Your tip made me think of 'mail' as the module responsible for initial values.

So i added a line to saying: cwa_supplier depends on mail module.
Now all is working fine.

Best regards, Ron

2015-06-23 23:44 GMT+02:00 Jose Antonio Morales <>:

On Tue, Jun 23, 2015 at 4:27 PM, Ronald Wopereis <> wrote:
l value in column "notify_email" violates not-null constraint" when uploading res.partner from 

Hello Ronald.

This field is a selection field, it is meant that you need to put the database value of the selection field in this case for the string 'Never' is 'none'[1]. You have an example in the demo data of the mail module[2].


<field name="notify_email">none</field>
Best Regards.

Jose Morales
Senior Developer
Twitter: @joseamoralesp
Skype: joseamoralesp
Linux-Counter: 564569

Post to: