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
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký| Bài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
|---|---|---|---|---|
|
1
thg 5 25
|
1847 | |||
|
2
thg 11 24
|
2886 | |||
|
|
4
thg 2 24
|
13590 | ||
|
sale / delivery
Đã xử lý
|
1
thg 1 24
|
2312 | ||
|
0
thg 5 23
|
2540 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.