diff --git a/yuthon_hr_attendance/static/src/js/button_meal_confirm.js b/yuthon_hr_attendance/static/src/js/button_meal_confirm.js
index 3e3e82531..7bc9bcf76 100644
--- a/yuthon_hr_attendance/static/src/js/button_meal_confirm.js
+++ b/yuthon_hr_attendance/static/src/js/button_meal_confirm.js
@@ -8,13 +8,8 @@ export class CustomAttendanceMealConfirmController extends ListController {
super.setup();
}
- async getAction(lock_type) {
- const action = await this.orm.call('vacation.meal.line', 'confirm', [lock_type], {context: this.props.context});
- action["context"] = {
- ...action.context,
- ...this.model.root.context,
- }
- return action
+ async getAction() {
+ await this.orm.call('vacation.meal.line', 'confirm', []);
}
}