On 15/03/13 17:16, Holger Brunn wrote:
I don't see any code changes that mandate those fields being not
null. Are you sure you didn't declare your field as required in
_columns = {}? That's not null. Required for input is on view level.
"required=True is deprecated: making an integer field"
" `required` has no effect, as NULL values are "
"automatically turned into 0."
That's new for 6.1. My code was written for 6.0. I only noticed the
problem recently as the model I use it for is essentially static data.
When I used the code to extend product.template I found I couldn't
create new products anymore.
If that's a difference, it's a good one because it makes more clear
how we want to tidy up our data (=_columns) and what we want as input
(=view)
I would be happy to go back to that.
Martin
_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-community
More help : https://help.launchpad.net/ListHelp