Hi guys,
Stuck here for quite a few hours now. Anyone who can share what's the correct syntax to call the write method in javascript? So far, I have below code that doesnt work. Thanks !
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi guys,
Stuck here for quite a few hours now. Anyone who can share what's the correct syntax to call the write method in javascript? So far, I have below code that doesnt work. Thanks !
Hello,
For this Please do like this :
new instance.web.Model('crm.lead').call('write', [[val]], {})
.then(function(result){
console.log("main resultttttttttttt", result);
}));
Hope this will help you..
Im getting this error when i do that:
Create an account today to enjoy exclusive features and engage with our awesome community!
Înscrie-te| Related Posts | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
0
nov. 25
|
195 | |||
|
2
nov. 25
|
682 | |||
|
0
iul. 25
|
1166 | |||
|
1
iul. 25
|
6490 | |||
|
|
0
iul. 25
|
2304 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.