Thanks a lot. That's perfect. On Thu, Mar 29, 2018 at 4:04 PM, Sergi Almacellas Abellana <se...@koolpi.com > wrote:
> El 29/03/18 a les 12:01, Khurram Shahzad ha escrit: > > In fact, we are working on duty roster management. I run a wizard, which > > shows list of employees and months. The user selects a month and an > > employee. When employee changes, I fill a One2Many field which contains > > as many records as days. Here I want default values for every day, like > > default shift. > > Then I will probably ask the employee and the month in a state, generate > the records and then use a StateAction to show the created records so > the user can modify whatever they wants. > > If you create the records default values will be automatically applied. > > I also want that when user changes a shift for a day, its > > time is displayed in next column. > If you need to re-process the records after some action, you can display > the created records on a One2Many and add another transition to do > whatever you need with them. > > Hope it helps. > > -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/CAM3N3Cyo%2BAuY2XFfMH7d7ViwgDVBy3qhTUkfHSkY1PHZY%2Bu-uw%40mail.gmail.com.