Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3482 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 11 22
1901
1
thg 5 21
15730
1
thg 4 21
4379
1
thg 4 20
3031
0
thg 3 20
2204