Closed aslamibnabdulla closed 2 years ago
Hi!
You can call write method on a car record to update it's field value.
Discuss app uses longpolling to get new message notification. You can call /longpolling/pool with callRPC
method.
In general this library gives you ability to do rpc calls without bothering how to handle session updates.
You can call any public methods on any model same as Odoo's frontend does.
thanks for the solution,
But can u provide an example for both situations.
https://github.com/ERP-Ukraine/odoo-rpc-dart/blob/master/example/odoo_rpc_example.dart#L79-L89
Just change model name and method.
Hi, How can we update data in a module .I want to change the name of driver assigned to car in the fleet module. Secondly, Can we stream into the Discuss module from apps ? Can u show an example for both problems.