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
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
1
Odpowiedz
3705
Widoki
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
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
1
sty 25
|
2892 | ||
|
1
kwi 25
|
1229 | ||
|
6
lut 25
|
18248 | ||
Manually assign a quotation number
Rozwiązane
|
|
3
lip 24
|
3475 | |
|
1
mar 15
|
5573 |