> Use a test like this:
> 
>     if not values.get('number'):
>         …
Ok, working

> The constraint on removing "NOT NULL" only by the original module is
> there on purpose because once a field is required all depending code
> will not manage the case if it is empty. So we must ensure that there
> will be always a value.
> Also it is the reason why we must be careful when setting a field
> required.
Ok, the above test is enough for me and thus no need to change the required 
field. Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/e1470538-191a-4f85-9092-2a9831b57f4f%40googlegroups.com.

Reply via email to