Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3849 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
1
janv. 25
3066
1
avr. 25
1399
6
févr. 25
18574
3
juil. 24
3683
1
mars 15
5746