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

Is it possible to alter the domain on a field via a server action?

Let's say I create a server action to run when the product_id is updated for an sale.order.line. Is it possible to run python code in that server action that will adjust the domain on the route_id field in the view?

I can see in the documentation that programmatically this is possible:

https://www.odoo.com/documentation/10.0/reference/orm.html#odoo.api.onchange

But how would I accomplish the same thing via the Odoo UI Server Action tool?

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
เม.ย. 17
4342
2
ส.ค. 24
1452
0
ม.ค. 25
1335
2
มิ.ย. 23
1746
0
พ.ค. 23
1794