تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
4727 أدوات العرض

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




الصورة الرمزية
إهمال
أفضل إجابة

just open that form. set your desired values and after that, set up them using setup up default.

الصورة الرمزية
إهمال
أفضل إجابة

Hi Nguyen: If you have separate window actions defined for the 2 forms, you can specify the default values in the context value field of the actions.

الصورة الرمزية
إهمال
أفضل إجابة

I can help u to set any defualt number or series in module like sale s0001 starting automatically i can solve this mail me   kevalrk18@gmail.com

الصورة الرمزية
إهمال