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

I am trying out Odoo's community version, and when trying to modify a part of it, I have run into an issue that I am unable to solve. I am trying to add a custom field to the quotation in form view, which I have done successfully, but when trying to show that field in the tree view as its own separate column, it simply does not show up. I will add my custom sale_order_view.xml file below. 

   

        sale.order.form.inherit

        sale.order

       

       

           

               

                   

               

           

       

   

   

        sale.order.tree.inherit

        sale.order

       

       

           

               

           

       

   


I have tried to do "inside" "//tree" in xpath as well and neither works.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi 

To add a new field inside the inherited tree view of sale quotation check the following code



Regards

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
9
thg 5 21
27095
1
thg 7 22
3009
1
thg 4 16
3911
0
thg 8 15
8312
4
thg 6 25
11217