Skip to Content
मेन्यू
This question has been flagged
3552 Views

Hello Guys;

I have a module developed in odoo v10 and now i have migrated to v12.

I didnt understand how to migrate this code:

            self.view.save().then(function () {

                self.rpc('/compute_graph', {

                        data: JSON.stringify({

                        model: self.node.attrs['model'],

                        record_id: self.view.datarecord.id,

                        method: self.node.attrs['method']

                    })

                }).done(function (graph_data) {

                    $('#' + self.node.attrs['id']).highcharts(graph_data);

                });

            });

Need Your help please.

Thanks a lot in advance.

Best regards.

Avatar
Discard
Related Posts Replies Views Activity
0
नव॰ 22
1984
1
मई 21
15802
1
अप्रैल 21
4465
1
अप्रैल 20
3122
0
मार्च 20
2262