I want to use the statusbar widget with a field named status. However this results in Client Errors apparently because I'm not using a field named state for this widget. In this custom model state and status are quite different things and not interchangeable so I cannot just switch fields. I also do not need to display state at all. Is there some way around this limitation?
It should work normal as long as your field is of type selection / many2one. widget=statusbar should work. There is no MUST HAVE (name=state) for this widget.Check the example in project issue model the field stage_id is a many2one and used as widget=statusbar.
Hope this helps !
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 4/30/13, 3:21 PM|
|Seen: 1946 times|
|Last updated: 3/16/15, 8:10 AM|