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

by default in sale>controllers>portal.py quotations domain is "('state', 'in', ['cancel', 'sent'])". I want to show draft sale orders as well in the quotations menu in the customer portal. so I changed the domain to ('state', 'in', ['draft', 'cancel', 'sent']) but it doesn't show draft orders still. what am I doing wrong?



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

Hello,

You might need to add a 'draft' state in the domain of two methods under sale > controllers > portal.py

1)  _prepare_home_portal_values

2) portal_my_orders

Thank you!

Regards,




Email:      odoo@aktivsoftware.com  

Skype: kalpeshmaheshwari

    

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 1 25
2993
1
thg 4 25
1335
6
thg 2 25
18460
3
thg 7 24
3608
1
thg 3 15
5691