Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3518 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
lis 22
1959
1
kvě 21
15769
1
dub 21
4417
1
dub 20
3076
0
bře 20
2237