On 05/12/14 10:16, Sergi Almacellas Abellana wrote:
El 05/12/14 a les 15:41, Christophe ha escrit:
Hello,

Is there a way to remove constrainte put by a "required" clause ?

In details, I have a field that have a constrainte put by the "required"
clause and i want to remove this constainte by overload of the class.
it-is possible ?


Yes, it's possible. You have to do the following things.

1. Update fields definition to set required to false.
2. Drop the not null constraint on the database.


BTW: Can you tell us which is the field you want to remove the constraint? This will help us to prevent having to much constraints on base modules.



Or better, you can use "register" method (overloading the class) and to apply python-sql commands

Reply via email to