Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3708 Zobrazení

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?



Avatar
Zrušit
Nejlepší odpověď

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

    

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
led 25
2897
1
dub 25
1233
6
úno 25
18255
3
čvc 24
3483
1
bře 15
5574