I want to change sales order line field value depend on sales order field value.
Please help
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I want to change sales order line field value depend on sales order field value.
Please help
@api.onchange
def button_update(self):
if self.SOfield:
for line in self.order_line:
line.write({'SOlinefield':self.SOfield})
Exactly what I want.Really it save my several hours.
please mark as answer
| 관련 게시물 | 답글 | 화면 | 활동 | |
|---|---|---|---|---|
|
1
5월 25
|
1844 | |||
|
2
11월 24
|
2885 | |||
|
4
2월 24
|
13582 | |||
|
sale / delivery
해결 완료
|
1
1월 24
|
2309 | ||
|
0
5월 23
|
2535 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.