Skip to Content
Menú
This question has been flagged
3475 Vistes

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
Descartar
Related Posts Respostes Vistes Activitat
0
de nov. 22
1889
1
de maig 21
15725
1
d’abr. 21
4373
1
d’abr. 20
3015
0
de març 20
2201