Skip to Content
Menu
This question has been flagged
1 Reply
1242 Views

how to pass value to boolean field based on button click in js?

Avatar
Discard
Best Answer

You can use rpc to write record.

return this._rpc({
model: 'MODEL NAME',
method: 'write',
args: [[id], {
your_boolen_field_name: true,
}]
});


Avatar
Discard
Related Posts Replies Views Activity
0
Nov 23
451
0
Feb 23
1221
1
Nov 22
1936
0
Aug 22
2959
2
Jul 22
3017