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:
- CRM
- e-Commerce
- Бухоблік
- Склад
- PoS
- Project
- MRP
Це запитання позначене
1
Відповісти
2957
Переглядів
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
РеєстраціяRelated Posts | Відповіді | Переглядів | Дія | |
---|---|---|---|---|
|
1
січ. 25
|
2219 | ||
|
1
квіт. 25
|
340 | ||
|
6
лют. 25
|
16022 | ||
Manually assign a quotation number
Вирішено
|
|
3
лип. 24
|
2099 | |
|
1
бер. 15
|
4667 |