Hi,
I use odoo.sh, version odoo 15. I need set default value for form view when they open.
Example: I have 2 view, All Order and Private Order, They all use the model sale.order. When I open the All Order form, set Sale Team = Team A, and when I open the Private Order form, set Sale Team = Team B
Please help me to configure this feature! Thanks
you can pass default using the context, see: https://www.youtube.com/watch?v=b4SeEVm39pY