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. -- Sergi Almacellas Abellana www.koolpi.com Twitter: @pokoli_srk -- 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/ba2e7941-4c4a-f07a-9cfc-9591d2e1dca8%40koolpi.com.