コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3476 ビュー

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.

アバター
破棄
関連投稿 返信 ビュー 活動
0
11月 22
1891
1
5月 21
15726
1
4月 21
4373
1
4月 20
3015
0
3月 20
2204