How can I switch to another view after I click a new created button?:
<button name="start_work" attrs="{'invisible':[('work_time_status','!=', True)]}" string="Stop Work" type="object" class="oe_highlight"/>
In the python code in the function start_work.