Community mailing list archives

community@mail.odoo.com

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

by
Vauxoo S.A. de C.V., Jose Antonio Morales
- 06/23/2015 17:15:27

On Tue, Jun 23, 2015 at 4:27 PM, Ronald Wopereis <woepwoep@gmail.com> 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].

e.g.

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

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