Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
4712 มุมมอง

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

อวตาร
ละทิ้ง