Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3811 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
gen 25
3030
1
apr 25
1342
6
feb 25
18477
3
lug 24
3619
1
mar 15
5696