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
Create an account today to enjoy exclusive features and engage with our awesome community!
Реєстрація| Related Posts | Відповіді | Переглядів | Дія | |
|---|---|---|---|---|
|
1
трав. 25
|
1841 | |||
|
2
лист. 24
|
2883 | |||
|
|
4
лют. 24
|
13573 | ||
|
sale / delivery
Вирішено
|
1
січ. 24
|
2298 | ||
|
0
трав. 23
|
2533 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.