-
- Downloads
[IMP] sale_timesheet: control button on plan project
This commit makes the project overview handle action button in its control panel. When calling server to get overview HTML code, we also get a list of actions to display in the control panel. Those are rendered client side. Since when an action is done, we usually don't want the button to be display anymore, reloading the overview is required. The overview is now refreshed when navigating with the breadcrumb, so each time the overview is displayed, an RPC call to the server is done (`do_show` method override). Task #49213
Showing
- addons/sale_timesheet/__manifest__.py 3 additions, 0 deletionsaddons/sale_timesheet/__manifest__.py
- addons/sale_timesheet/controllers/main.py 13 additions, 0 deletionsaddons/sale_timesheet/controllers/main.py
- addons/sale_timesheet/static/src/js/timesheet_plan.js 28 additions, 3 deletionsaddons/sale_timesheet/static/src/js/timesheet_plan.js
- addons/sale_timesheet/static/src/xml/timesheet_plan.xml 15 additions, 0 deletionsaddons/sale_timesheet/static/src/xml/timesheet_plan.xml
Loading
Please register or sign in to comment