fix(fusion_clock): dashboard 'All Attendances' opens list, not gantt
hr_attendance's action is gantt-first and the native gantt timeline renders collapsed until a manual resize; open viewType:list so the button lands on a working list. Bump 3.14.3 -> 3.14.4. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
{
|
||||
'name': 'Fusion Clock',
|
||||
'version': '19.0.3.14.3',
|
||||
'version': '19.0.3.14.4',
|
||||
'category': 'Human Resources/Attendances',
|
||||
'summary': 'Complete Employee T&A with Geofencing, Shifts, Penalties, Overtime, Kiosk, Dashboard & Payroll Export',
|
||||
'description': """
|
||||
|
||||
@@ -76,7 +76,13 @@ export class FusionClockDashboard extends Component {
|
||||
onRefresh() { return this._fetchData(); }
|
||||
onOpenClock() { this.action.doAction({ type: "ir.actions.act_url", url: "/my/clock", target: "self" }); }
|
||||
onViewTimesheets() { this.action.doAction({ type: "ir.actions.act_url", url: "/my/clock/timesheets", target: "self" }); }
|
||||
onViewAttendances() { this.action.doAction("hr_attendance.hr_attendance_action"); }
|
||||
onViewAttendances() {
|
||||
// hr_attendance's action is gantt-first, and the native gantt timeline
|
||||
// renders collapsed until a manual resize. Land on the list instead —
|
||||
// the better "all attendances" destination (sort/filter/export); the
|
||||
// gantt is still reachable from the view switcher.
|
||||
this.action.doAction("hr_attendance.hr_attendance_action", { viewType: "list" });
|
||||
}
|
||||
onViewCorrections() { this.action.doAction("fusion_clock.action_fusion_clock_correction"); }
|
||||
onViewActivityLogs() { this.action.doAction("fusion_clock.action_fusion_clock_activity_log"); }
|
||||
onViewPenalties() { this.action.doAction("fusion_clock.action_fusion_clock_penalty"); }
|
||||
|
||||
Reference in New Issue
Block a user