Hi,
I want to fetch the state of the active_id using java script. can anyone help how to achieve this?
Hi,
I want to fetch the state of the active_id using java script. can anyone help how to achieve this?
fetch: function(model, fields, domain, ctx){
return new instance.web.Model(model).query(fields).filter(domain).context(ctx).all()
},
Make use of the above fetch function you can fetch data.
Example:
self.fetch('res.users',['name','company_id'],[['id','=',this.session.uid]]).then(function(users){
console.log("This is the User",users);
});
Create an account today to enjoy exclusive features and engage with our awesome community!
साइन अप करें| Related Posts | Replies | डेटा देखने का तरीका | ऐक्टिविटी | |
|---|---|---|---|---|
|
1
नव॰ 24
|
7808 | |||
|
0
मई 24
|
5191 | |||
|
1
अप्रैल 24
|
3919 | |||
|
0
अग॰ 21
|
10895 | |||
|
0
जुल॰ 17
|
4610 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.