This question has been flagged

i have a week calendar master and week calendar line model. Master and line related by One2many. When i enter year, start date , a generate button appears. Clicking it generate a list of weeks using a method. I want to hide the button after clicking it and weeks are generated. how can i do it?  

using any  values from fields of line model is not working.   That means the fields of week line model . Button type is object if it helps.

Avatar
Discard