Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3480 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
nov 22
1894
1
mag 21
15728
1
apr 21
4375
1
apr 20
3025
0
mar 20
2204