Skip to content

Commit

Permalink
[FIX] barcode_action: Context is not passed
Browse files Browse the repository at this point in the history
  • Loading branch information
etobella committed Jan 28, 2025
1 parent 3a9ca21 commit 40f306e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion barcode_action/static/src/js/action_barcode_widget.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class ActionBarcodeField extends Component {
model: record.data.model,
method: record.data.method,
args: [[record.data.res_id], barcode],
kwargs: {},
kwargs: {context: this.props.record.context},
}).then(function (action) {
self.env.services.action.doAction(action);
});
Expand Down

0 comments on commit 40f306e

Please sign in to comment.