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!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Nov 24
|
477 | ||
|
4
Feb 24
|
10165 | ||
sale / delivery
Solved
|
|
1
Jan 24
|
370 | |
|
0
May 23
|
831 | ||
|
4
Apr 23
|
38326 |