> I think the problem is:
> 
> cls.number.states['readonly'] = True
> 
> Try to remove required states that is not True (and/or invisible in case that 
> you like not show it)
> 

Not working because unchanged in the database, but also risky like Cédric 
said... so i just changed my test ;-) Thanks anyway.

> 
> Why not design your feature as the code in party module (from sequence or 
> not)?
> 
> https://bitbucket.org/tryton/party/src/7f54e6742e171187d0e84640f68fd88bc30a8e28/party.py?at=default&fileviewer=file-view-default#party.py-34
>  
> https://bitbucket.org/tryton/party/src/7f54e6742e171187d0e84640f68fd88bc30a8e28/party.py?at=default&fileviewer=file-view-default#party.py-188

Will have a look... 

-- 
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/d05f6501-fad6-41ed-bd1d-faf0d81a7c84%40googlegroups.com.

Reply via email to