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 !
James try this
model.call("write", [[id], {'name': "james"}])
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:
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
RekisteröidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
|
0
heinäk. 25
|
285 | ||
|
0
kesäk. 25
|
498 | ||
|
1
kesäk. 25
|
717 | ||
|
1
kesäk. 25
|
742 | ||
|
1
toukok. 25
|
1301 |