Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3355 มุมมอง

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
พ.ย. 22
1754
1
พ.ค. 21
15479
1
เม.ย. 21
4069
1
เม.ย. 20
2766
0
มี.ค. 20
1966