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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
3448
查看
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
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
1
1月 25
|
2600 | ||
|
1
4月 25
|
760 | ||
|
6
2月 25
|
17132 | ||
|
3
7月 24
|
2831 | ||
|
1
3月 15
|
5142 |